Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 12124 articles
Browse latest View live

Cheaper licenses for home users pls!!!!

$
0
0

I'd like to setup my own personal/family email domain on a VPS.
iReadMail seems to be a good quality candidate, but some of the important/useful features are only available in the paid versions, what are way too expensive for my scenario.

I would be ready to pay $10/month for a personal/family version.
It should give similar experience as the current paid versions, but could have limitations, like one domain only, and max number of mailboxes less then 50, no support, etc.

I assume this would be a win-win situation: more income to Your company, and more features to users similar to me.


Remove catchall

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? DL
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I followed this guide, and how can I reverse it?

https://docs.iredmail.org/sql.create.catch-all.html

SpamAssassin might not be working fine

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: CentOS 7 (within docker container lejmr/iredmail)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello guys,

I have been receiving a high number of spam emails. Looking into logs, I can see post-screen fighting with plenty of malicious emails, but I am afraid that post-screen is actually working in iRedMail installation because when a spam email passes post-screen the spam never gets bounced by amavis (utilizing SpamAssasin), so I wonder whether iRedMail delivers working configuration for such a case.. I dit a few configuration changess in order to fight with spams, but nothing really helped. I followed this document: https://docs.iredmail.org/store.spamass … .sql.html.

I have no problem to rollback any of mu changes if that helps to debug the problem.. I am going to document my observations through a sequence of log outputs where I anonymized my personal account by myaccount@example.com. The example is an email that I received in the middle of the night (subsequently, that night I received about 15 similar emails which drove me to write this post).

Postfix log looks like this:

Feb 14 00:30:22 mail postfix/10025/smtpd[5270]: 48JZ666HGJzcfDZ: client=localhost[127.0.0.1]
Feb 14 00:30:22 mail postfix/cleanup[5252]: 48JZ666HGJzcfDZ: message-id=<O1Gy_ThYJTAxcvrfTSF2LH_z8yF0mwAOHKr3FyFYVfY.-0yf93J8lnaGsJz8GKT3PM_KKRNGt8e0404nR0Puigs@politetread.icu>
Feb 14 00:30:22 mail postfix/10025/smtpd[5270]: disconnect from localhost[127.0.0.1]
Feb 14 00:30:22 mail postfix/qmgr[27533]: 48JZ666HGJzcfDZ: from=<approved@politetread.icu>, size=10431, nrcpt=1 (queue active)
Feb 14 00:30:22 mail amavis[24570]: (24570-17) Passed CLEAN {RelayedInbound}, [213.142.151.250]:49496 [213.142.151.250] ESMTP/ESMTP <approved@politetread.icu> -> <myaccount@example.com>, (ESMTP://[213.142.151.250]:49496), Queue-ID: 48JZ635KZ2zcf4R, Message-ID: <O1Gy_ThYJTAxcvrfTSF2LH_z8yF0mwAOHKr3FyFYVfY.-0yf93J8lnaGsJz8GKT3PM_KKRNGt8e0404nR0Puigs@politetread.icu>, mail_id: md4_25w3sVG6, b: wIXj2hZBN, Hits: 1.184, size: 9758, queued_as: 48JZ666HGJzcfDZ, Subject: "Highly Effective Anti-Pollution Clean Air Breathing Mask ---------------------", From: <approved@politetread.icu> (dkim:AUTHOR), helo=politetread.icu, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HTML_MESSAGE=0.001,RDNS_NONE=1.274,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,T_REMOTE_IMAGE=0.01,URIBL_BLOCKED=0.001], autolearn=no autolearn_force=no, autolearnscore=1.185, dkim_i=approved@politetread.icu,approved@politetread.icu, dkim_sd=mail:politetread.icu, 1166 ms
Feb 14 00:30:22 mail amavis[24570]: (24570-17) Passed CLEAN, <approved@politetread.icu> -> <myaccount@example.com>, Hits: 1.184, tag=2, tag2=6.2, kill=6.9, queued_as: 48JZ666HGJzcfDZ, L/0/0/0
Feb 14 00:30:22 mail postfix/amavis/smtp[5262]: 48JZ635KZ2zcf4R: to=<myaccount@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.2, delays=2/0/0.01/1.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 48JZ666HGJzcfDZ)
Feb 14 00:30:22 mail postfix/qmgr[27533]: 48JZ635KZ2zcf4R: removed
Feb 14 00:30:22 mail postfix/pipe[5271]: 48JZ666HGJzcfDZ: to=<myaccount@example.com>, relay=dovecot, delay=0.05, delays=0.01/0/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb 14 00:30:22 mail postfix/qmgr[27533]: 48JZ666HGJzcfDZ: removed

Here in I was very surprised about the amavis status

Feb 14 00:30:22 mail amavis[24570]: (24570-17) Passed CLEAN {RelayedInbound}, [213.142.151.250]:49496 [213.142.151.250] ESMTP/ESMTP <approved@politetread.icu> -> <myaccount@example.com>, (ESMTP://[213.142.151.250]:49496), Queue-ID: 48JZ635KZ2zcf4R, Message-ID: <O1Gy_ThYJTAxcvrfTSF2LH_z8yF0mwAOHKr3FyFYVfY.-0yf93J8lnaGsJz8GKT3PM_KKRNGt8e0404nR0Puigs@politetread.icu>, mail_id: md4_25w3sVG6, b: wIXj2hZBN, Hits: 1.184, size: 9758, queued_as: 48JZ666HGJzcfDZ, Subject: "Highly Effective Anti-Pollution Clean Air Breathing Mask ---------------------", From: <approved@politetread.icu> (dkim:AUTHOR), helo=politetread.icu, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HTML_MESSAGE=0.001,RDNS_NONE=1.274,SPF_HELO_PASS=-0.001,SPF_PASS=-0.001,T_REMOTE_IMAGE=0.01,URIBL_BLOCKED=0.001], autolearn=no autolearn_force=no, autolearnscore=1.185, dkim_i=approved@politetread.icu,approved@politetread.icu, dkim_sd=mail:politetread.icu, 1166 ms

Similarly, the email's header is as follows

Return-Path: <approved@politetread.icu>
Delivered-To: myaccount@example.com
Received: from mail.example.com (localhost [127.0.0.1])
    by mail.example.com (Postfix) with ESMTP id 48JZ666HGJzcfDZ
    for <myaccount@example.com>; Fri, 14 Feb 2020 00:30:22 +0000 (UTC)
X-Virus-Scanned: amavisd-new at mail.example.com
Authentication-Results: mail.example.com (amavisd-new); dkim=pass (1024-bit key)
    header.d=politetread.icu; domainkeys=pass (1024-bit key)
    header.from=approved@politetread.icu header.d=politetread.icu
Received: from mail.example.com ([127.0.0.1])
    by mail.example.com (mail.example.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id md4_25w3sVG6 for <myaccount@example.com>;
    Fri, 14 Feb 2020 00:30:21 +0000 (UTC)
Received: from politetread.icu (unknown [213.142.151.250])
    by mail.example.com (Postfix) with ESMTP id 48JZ635KZ2zcf4R
    for <myaccount_cachalladdress@example.com>; Fri, 14 Feb 2020 00:30:19 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mail; d=politetread.icu;
 h=From:Date:MIME-Version:Subject:To:Message-ID:Content-Type; i=approved@politetread.icu;
 bh=jcizARpmzzh/vXmLQkN1LOjOcWA=;
 b=jRkprF5zlGshhHb2QtWX8QFl8QmVuVvjkOGkPvzvhaxi7eXLkULQ6Q4Vc9lr9LcM86dFQwknQ7F9
   2CogiIYXpgppAUk5GY1fT7fpQ69QmYdyMp2IYOwG5uuAIrEPLIXTMgi2o0il4FOh/Kw4D3ZwjCqC
   x+F6yoJ6V7+9SjuPjL8=
DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mail; d=politetread.icu;
 b=iQMkpAfUgF4nuX/QoAPf7zJdDkNQU1PNgsWt+uu6hulAnI16CIXRjV7PlbXKtL4BS012fPNFTMgJ
   7ETqC1Kjvh8S0CB2sOXxZ32sfOgg+tkQTc5QmnPGE7pD5H5gdNI14ajG5jz4dBpXGwlcBWuTzgv+
   hurl8muRYu+Kw/2s8iw=;
From: "Travel Mask" <approved@politetread.icu>
Date: Thu, 13 Feb 2020 19:24:51 -0500
MIME-Version: 1.0
Subject: Highly Effective Anti-Pollution Clean Air Breathing Mask ---------------------

Here an interesting thing is that the spam was delivered to an alias of my account, as I am using my personal account as a catch-all account too. Don't know if that is related, but might be related?


Based on the score I am seeing in logs it makes sense the email was delivered to my account, but when I scrutinized the actual email in Maildir directory using SpamAssasin I received a very disturbing output:


--------------921627366770447008480132--
Spam detection software, running on the system "mail.example.com",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Filter fine pollution particles with the most stylish clean
   breathing mask available No longer be at the mercy of climate change and
  ensure your future by protecting yourself with OxyBreath Pro <http://www.politetread.icu/uselbgkcx/qffjra110707csgl/ruO02Bt7hroUggk2KTy6c8E7FAyoVtK4h7UBzctCztY/XJLvj-QSuvjTaWv2iMQ2f7Bg1dqivhzYg-waAsKdUMxs6gTpVeXnUH8xlCHk9RCiRXMhqCjsnXVTk3r7Etb0YTm-85O_duwZE1JBYJCp2nC3tI67ONvV5K78uYXtjZJedObvEAG7at9dM6ylSdJZVsKW7TZWQnWaB-wVm9y-GWA>
   [...]

Content analysis details:   (12.2 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was blocked.
                            See
                            http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
                             for more information.
                            [URIs: politetread.icu]
 2.5 URIBL_DBL_SPAM         Contains a spam URL listed in the Spamhaus DBL
                            blocklist
                            [URIs: politetread.icu]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                            [213.142.151.250 listed in zen.spamhaus.org]
 2.7 RCVD_IN_PSBL           RBL: Received via a relay in PSBL
                            [213.142.151.250 listed in psbl.surriel.com]
-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 HTML_MESSAGE           BODY: HTML included in message
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
                            domain
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
 1.3 RDNS_NONE              Delivered to internal network by a host with no rDNS
 2.3 DKIMWL_BL              DKIMwl.org - Blacklisted sender
 0.0 T_REMOTE_IMAGE         Message contains an external image

Based on the score I would expect never receive such an email! As mentioned in the beggining of my email, I enabled bayes filtering. Additionally, this example spam email is very similar to one of spam emails I received in the pass and which let let sa-learn to index.

Migrating data from Office365 to iRedMail

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginix
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello iRedMail team.

I am trying to migrate from Office365 to iRedMail server.  I am able to connect MS Outlook 2016 beautifully to my iRedMail server.  My problem is that I can't import anything from the PST backup file and I can't even drag and drop my mail folders from one mailstore to another inside Outlook if I add iRedMail account to the existing Office365 profile.

After googling for the the error message from MS Outlook I guess that the problem lies in the fact that my Office365 account works through EWS protocol and iRedMail implementation is based on ActiveSync.

If I am correct in the assumption of the error cause I want to ask whether

1. You can have any suggestion for how to work around the problem and transfer my messages, calendar, tasks and contact data to iRedMail mailbox

2. The develope of SoGo project added support to EWS over the period of time lapsed since I installed my instance of iRedMail server version 0.9.8?

Thank you in advance

I'm back with a new install

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1,1
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version: debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Issue I have is seems any mail coming in is getting rejected:

Feb 16 07:59:06 mx postfix/postscreen[6830]: PASS NEW [40.107.236.66]:31585
Feb 16 07:59:06 mx postfix/smtpd[6833]: connect from unknown[40.107.236.66]
Feb 16 07:59:07 mx postfix/smtpd[6833]: Anonymous TLS connection established from unknown[40.107.236.66]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Feb 16 07:59:07 mx postfix/smtpd[6833]: NOQUEUE: reject: RCPT from unknown[40.107.236.66]: 450 4.7.1 <NAM11-BN8-obe.outbound.protection.outlook.com>: Helo command rejected: Host not found; from=<dcihon@iENGtoBUILD.com> to=<danc@dccathome.com> proto=ESMTP helo=<NAM11-BN8-obe.outbound.protection.outlook.com>
Feb 16 07:59:07 mx postfix/smtpd[6833]: disconnect from unknown[40.107.236.66] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6

login by email

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer?  downloadable installer
- Linux/BSD distribution name and version: Centos 7.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Good day, fellas!
I set up email login instead of samaccountname. My AD looks like corp.example.local. My IREDMAIL centos 7 server looks like mail.corp.example.local. Attributes of user2: userprincipalname set to 1111@corp.example.local, samaccountname set to 1111, mail set to user2@example.local. Attributes of user1 are similar: userprincipalname set to 2222@corp.example.local, samaccountname set to 2222, mail set to user1@example.local. I did not configure AD example.local.
I can send email to user2@example.local. But user2 does not see it in the inbox. I tested it with Mozilla thunderbird, Chrome.
Can you help me to understand maillog and how to configure it correctly
Feb 17 13:40:13 postfix roundcube: <eo9gtkd4> PHP Error: LDAP: Bind failed for dn=mail=user2@example.local,ou=Users,domainName=example.local        ,o=domains,dc=corp,dc=example,dc=local. Invalid credentials (GET /mail/?_task=addressbook&_action=photo&_email=user2%40example.local&_error=1        )

Problem with login to pop3

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MYSQL edition
- Deployed with iRedMail Easy or the downloadable installer? IRedmailEasy
- Linux/BSD distribution name and version: Ubuntu 18.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):Mysql
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

====
Hello
I have a problem with the server
None of the users can pick up the mail. E-mail programs display a message: TLS connection cannot be established.

There is information in dovecot logs: "pop3-login: Disconnected (tried to use disallowed plaintext auth): user=<test@domain.com>", and "dovecot: auth: Error: read(anvil-auth-penalty) failed: EOF" , "dovecot: auth: Error: net_connect_unix(anvil-auth-penalty) failed: Permission denied
"
I'd be grateful for your help in solving the problem

Change SpamAssassin rule for empty subject line

$
0
0

How does one edit the SpamAssassin rule for an empty subject? Currently it is 1.767 for a missing subject. Thanks.


==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


Add a new domain in IRedMail on a mail cluster

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v2.2.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Redhat 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

Currently, we have iRedMail pro running for years, We want to add a new domain to our mail cluster server. I did check a lot of tutorials and your forum, it can be done in iRedmail Admin, and add dns record. However,

1) may I ask do we need to modify Postfix particularly main.cf, roundcube config for multiple domain, additional virtual host in apache, dovecot etc?

2) If we want all existing user accounts to receive mail from new domain as well, do we need to export existing ldap user, change the domain, and import them as new ldap address book?


Keen

. NO [UNAVAILABLE] Temporary authentication failure

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian Stretch
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  LDAP
- Web server (Apache or Nginx): nginx 1.14.1
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

cat /var/log/dovecot/dovecot.log:

Feb 18 22:19:59 master: Info: Dovecot v2.2.27 (c0f36b0) starting up for pop3, imap, sieve, lmtp (core dumps disabled)
Feb 18 22:20:11 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Feb 18 22:20:11 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Feb 18 22:20:11 auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Feb 18 22:20:11 auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libauthdb_ldap.so
Feb 18 22:20:11 auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
Feb 18 22:20:11 auth: Debug: passwd-file /etc/dovecot/dovecot-master-users: Read 0 users in 0 secs
Feb 18 22:20:11 auth: Debug: auth client connected (pid=11564)
Feb 18 22:20:22 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=s0r5BNeeLLt/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=47916    resp=AGRlbmlzQGNvZGthbS5ydQB6dHg3OERleQ== (previous base64 data may contain sensitive data)
Feb 18 22:20:22 auth: Debug: ldap(denis@example.ru,127.0.0.1,<s0r5BNeeLLt/AAAB>): bind search: base=dc=example,dc=ru filter=(&(sAMAccountname=denis)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Feb 18 22:20:22 auth: Error: ldap(denis@example.ru,127.0.0.1,<s0r5BNeeLLt/AAAB>): ldap_search(base=dc=example,dc=ru filter=(&(sAMAccountname=denis)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))) failed: Operations error
Feb 18 22:20:24 auth: Debug: client passdb out: FAIL    1    user=denis@example.ru    temp

postconf -n:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
allow_percent_hack = no
biff = no
body_checks = pcre:/etc/postfix/body_checks.pcre
command_directory = /usr/sbin
compatibility_level = 2
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix/sbin
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_long_queue_ids = yes
enable_original_recipient = no
header_checks = pcre:/etc/postfix/header_checks
inet_interfaces = all
inet_protocols = ipv4
lmtp_tls_mandatory_protocols = !SSLv2 !SSLv3
lmtp_tls_protocols = !SSLv2 !SSLv3
mail_owner = postfix
mailq_path = /usr/bin/mailq
message_size_limit = 15728640
mlmmj_destination_recipient_limit = 1
mydestination = $myhostname, localhost, localhost.localdomain
mydomain = mail.example.ru
myhostname = mail.example.ru
mynetworks = 127.0.0.1
myorigin = mail.example.ru
newaliases_path = /usr/bin/newaliases
postscreen_access_list = permit_mynetworks cidr:/etc/postfix/postscreen_access.cidr
postscreen_blacklist_action = drop
postscreen_dnsbl_action = drop
postscreen_dnsbl_reply_map = texthash:/etc/postfix/postscreen_dnsbl_reply
postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[2..11]*3 b.barracudacentral.org=127.0.0.2*2
postscreen_dnsbl_threshold = 2
postscreen_dnsbl_whitelist_threshold = -2
postscreen_greet_action = drop
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions $sender_dependent_relayhost_maps
queue_directory = /var/spool/postfix
recipient_bcc_maps =
recipient_delimiter = +
relay_domains =
relay_recipient_maps =
sender_bcc_maps =
sender_dependent_relayhost_maps =
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp-amavis_destination_recipient_limit = 1
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_loglevel = 1
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_note_starttls_offer = yes
smtp_tls_protocols = !SSLv2 !SSLv3
smtp_tls_security_level = may
smtpd_command_filter = pcre:/etc/postfix/command_filter.pcre
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks permit_sasl_authenticated check_helo_access pcre:/etc/postfix/helo_access.pcre reject_non_fqdn_helo_hostname reject_unknown_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unlisted_recipient permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_policy_service inet:127.0.0.1:12340
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_local_domain = example.ru
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sender_restrictions = reject_non_fqdn_sender reject_unlisted_sender permit_mynetworks permit_sasl_authenticated check_sender_access pcre:/etc/postfix/sender_access.pcre reject_unknown_sender_domain
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail.crt
smtpd_tls_CApath = /etc/ssl/certs
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail.crt
smtpd_tls_dh1024_param_file = /etc/ssl/dh2048_param.pem
smtpd_tls_dh512_param_file = /etc/ssl/dh512_param.pem
smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 1
smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3
smtpd_tls_security_level = may
swap_bangpath = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = example.ru
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf
virtual_minimum_uid = 2000
virtual_transport = dovecot
virtual_uid_maps = static:2000

dovecot -n:

# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 4.15.3-1-generic x86_64 Astra Linux CE 2.12.22 (Orel) 
auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_mechanisms = PLAIN LOGIN
auth_verbose = yes
deliver_log_format = from=%{from}, envelope_sender=%{from_envelope}, subject=%{subject}, msgid=%m, size=%{size}, delivery_time=%{delivery_time}ms, %$
dict {
  acl = mysql:/etc/dovecot/dovecot-share-folder.conf
  lastlogin = mysql:/etc/dovecot/dovecot-last-login.conf
  quotadict = mysql:/etc/dovecot/dovecot-used-quota.conf
}
first_valid_uid = 2000
last_valid_uid = 2000
listen = *
log_path = /var/log/dovecot/dovecot.log
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k session=<%{session}>
mail_debug = yes
mail_gid = 2000
mail_location = maildir:%Lh/Maildir/:INDEX=%Lh/Maildir/
mail_plugins = quota mailbox_alias acl mail_log notify stats
mail_uid = 2000
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext
namespace {
  inbox = yes
  location = 
  mailbox Archive {
    auto = no
    special_use = \Archive
  }
  mailbox Archives {
    auto = no
    special_use = \Archive
  }
  mailbox "Deleted Messages" {
    auto = no
    special_use = \Trash
  }
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    auto = subscribe
    special_use = \Junk
  }
  mailbox "Junk E-mail" {
    auto = no
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Items" {
    auto = no
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = no
    special_use = \Sent
  }
  mailbox Spam {
    auto = no
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  separator = /
  type = private
}
namespace {
  list = children
  location = maildir:%%Lh/Maildir/:INDEX=%%Lh/Maildir/Shared/%%Ld/%%Ln
  prefix = Shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
passdb {
  args = /etc/dovecot/dovecot-master-users
  driver = passwd-file
  master = yes
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  last_login_dict = proxy::lastlogin
  last_login_key = last-login/%u/%d
  mail_log_events = delete undelete expunge copy mailbox_create mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size from subject flags
  mailbox_alias_new = Sent Messages
  mailbox_alias_new2 = Sent Items
  mailbox_alias_old = Sent
  mailbox_alias_old2 = Sent
  quota = dict:user::proxy::quotadict
  quota_grace = 10%%
  quota_rule = *:storage=5G
  quota_status_nouser = DUNNO
  quota_status_overquota = 552 5.2.2 Mailbox is full
  quota_status_success = DUNNO
  quota_warning = storage=100%% quota-warning 100 %u
  quota_warning2 = storage=95%% quota-warning 95 %u
  quota_warning3 = storage=90%% quota-warning 90 %u
  quota_warning4 = storage=85%% quota-warning 85 %u
  sieve = ~/sieve/dovecot.sieve
  sieve_before = /var/vmail/sieve/dovecot.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /var/vmail/sieve
  sieve_max_redirects = 30
  sieve_vacation_send_from_recipient = yes
  stats_refresh = 30 secs
  stats_track_cmds = yes
}
protocols = pop3 imap sieve lmtp
service auth {
  unix_listener /var/spool/postfix/private/dovecot-auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-master {
    group = vmail
    mode = 0666
    user = vmail
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service dict {
  unix_listener dict {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service imap-login {
  process_limit = 500
  service_count = 1
}
service lmtp {
  executable = lmtp -L
  inet_listener lmtp {
    address = 127.0.0.1
    port = 24
  }
  process_min_avail = 5
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
  user = vmail
}
service managesieve-login {
  inet_listener sieve {
    address = 127.0.0.1
    port = 4190
  }
}
service pop3-login {
  service_count = 1
}
service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  inet_listener {
    address = 127.0.0.1
    port = 12340
  }
}
service quota-warning {
  executable = script /usr/local/bin/dovecot-quota-warning.sh
  unix_listener quota-warning {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service stats {
  fifo_listener stats-mail {
    group = vmail
    mode = 0644
    user = vmail
  }
  inet_listener {
    address = 127.0.0.1
    port = 24242
  }
  unix_listener stats-writer {
    group = vmail
    mode = 0660
    user = vmail
  }
}
ssl = required
ssl_cert = </etc/ssl/certs/iRedMail.crt
ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5
ssl_key =  # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
userdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
protocol lda {
  lda_mailbox_autocreate = yes
  lda_mailbox_autosubscribe = yes
  mail_plugins = quota mailbox_alias acl mail_log notify stats sieve
}
protocol lmtp {
  lmtp_save_to_detail_mailbox = yes
  mail_plugins = quota sieve
  recipient_delimiter = +
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep
  mail_max_userip_connections = 30
  mail_plugins = quota mailbox_alias acl mail_log notify stats imap_quota imap_acl imap_stats last_login
}
protocol pop3 {
  mail_max_userip_connections = 30
  mail_plugins = quota mailbox_alias acl mail_log notify stats last_login
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  pop3_uidl_format = %08Xu%08Xv
}

cat /etc/dovecot/dovecot-ldap.conf:

hosts           = example.ru:389
ldap_version    = 3
debug_level    = 0
auth_bind       = yes
#auth_bind_userdn = example\%u
dn              = vmail
dnpass          = *secret*
base            = dc=example,dc=ru
scope           = subtree
deref           = never
user_filter     = (&(sAMAccountname=%n)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_filter     = (&(sAMAccountname=%n)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
pass_attrs      = userPassword=password
#user_filter    = (sAMAccountName=%Ln) 
#pass_filter    = (sAMAccountName=%Ln) 
default_pass_scheme = CRYPT
user_attrs      = =home=/var/vmail/vmail1/%Ld/%Ln/,=mail=maildir:/Maildir/

cat /etc/postfix/ad_sender_login_maps.cf:

server_host     = pdc.example.ru
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = cn=vmail,dc=example,dc=ru
bind_pw         = *secret*
search_base     = dc=example,dc=ru
scope           = sub
query_filter    = (&(userPrincipalName=%s)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
result_attribute= userPrincipalName
debuglevel      = 0

cat /etc/postfix/ad_virtual_group_maps.cf:

server_host     = pdc.example.ru
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = cn=vmail,dc=example,dc=ru
bind_pw         = *secret*
search_base     = dc=example,dc=ru
scope           = sub
query_filter    = (&(objectClass=group)(sAMAccountName=%u))
special_result_attribute = member
leaf_result_attribute = mail
#result_attribute= userPrincipalName
debuglevel      = 0

cat /etc/postfix/ad_virtual_mailbox_maps.cf:

server_host     = pdc.example.ru
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = vmail@example.ru
bind_pw         = *secret*
search_base     = dc=example,dc=ru
scope           = sub
query_filter    = (&(objectclass=person)(userPrincipalName=%s))
result_attribute= userPrincipalName
result_format   = %d/%u/Maildir/
debuglevel      = 0

As result:

root@mail:/etc/dovecot# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
. login denis@example.ru *secret*
. NO [UNAVAILABLE] Temporary authentication failure. [mail:2020-02-18 10:20:24]

What's wrong ? I don't understand (

Can anyone help me ? Please.

Roundcoube mailbox size

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version:  Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
====

Hello!
I need help!
I don 't know I have a problem or is it a roundcoube failure?
Once the mail user, for example baduser@domain.com filled his mailbox with 90% (1024 MB limit) and was informed by the mail server.
He cleaned his mailbox of extra letters, spam and cleared the trashbin.
I connect by ssh to the server console and check that the directory size is vmail1/domain.com/baduser = 160 MB, but roundcoube still shows 90% -91% -92% of the 1024 MB and continues to increase.
Checked on different computers, different browsers, cleaned the cache. Tried to switch roundcoube graphics interfaces. None of it helped.
Now I just increased the limit to 2048 MB and now it shows 46%, but I don 't know how to make the runcoube show the correct mailbox size. (160 MB of 2048 MB)
Maybe I 'm doing something wrong? And the runcoube shows not the size of the vmail1/domain.com/baduser directory?
Or can I start some kind of data conversion mechanism? Or do you want to restart any service on the server?
Restarting the entire server (host) failed...:)
I apologize for my bad English! This is the translator
I will be grateful for any help to me!

(1054, "Unknown column 'delete_date' in 'field list'")

$
0
0

Hello

i'm not good at all with managing IRedMail, but i've been ask to delete some users, and i get the message (1054, "Unknown column 'delete_date' in 'field list'") when i try to delete them. I'm asked to chose a date to delete it, and whatever i choose, i can't not delete the accounts.

any idea ??

thaks a lot

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version v0.9.7
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Migrating from 0.9.0 (LDAP) to 0.9.0 (LDAP)

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Deployed with iRedMail Easy or the downloadable installer?
Downloadable installer
- Linux/BSD distribution name and version:Ubuntu-14.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (old server) / LDAP (new server)
- Web server (Apache or Nginx):Apache (old server) / Apache (new server)
- Manage mail accounts with iRedAdmin-Pro?NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I follow "https://docs.iredmail.org/backup.restore.html" steps to restore the LDAP database, but the data on the new server was not migrated properly,I see the Domains and Accounts and Admins information on the iRedAdmin page is correct, but I did not see the previous historical information in the system / Admin LOG
I have n’t seen any other letters on the Roundcube webmail page. It ’s an empty mailbox.
Excuse me, which link was not restored?
Please help to exclude, thank you very much

SMTP suddenly stopped working

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer? did it with the sh file
- Linux/BSD distribution name and version: ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

We were using iredmail since a few months now. But suddenly today the smtp has stopped working. Ports 587 and 25 are not working at all. On listing all the open ports, those two ports are not listed.

Please help my company mail server ain't working need to get it done ASAP

how to separate mail.example

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 last version
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 18.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello!
I installed the latest build and the mail server looks like this: https://mail.luxrepair.com/
  everything is fine here!

I want when I go to the main domain https://luxrepair.com/  I load my site from the directory luxrepair.com.

currently redirecting to https://mail.luxrepair.com/

how to separate them?


Lost my existing database

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.1 MARIADB edition
- Deployed with iRedMail Easy
- Linux/BSD distribution name and version: Ubuntu18.04.4 LTS (Bionic Beaver)
- Store mail accounts in which backend: MySQL
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue : I can't access /var/log/iredapd (where I believe logs are located)
====

So. I made a reaaaalllyyy bad mistake.

I  installed iRedMail on my linux server not knowing exactly what would happen.
During installation, I selected MySQL thinking that iRedMail would create a table on my already existing MySQL database.

And now, after installation, I have no idea how to access my database. It looks like it was deleted. After I managed to login on mysql terminal as root and check the existing users, I saw that my original user wasn't there anymore, but only "root" and "localhost". Also, I see that MariaDB was installed (on top of the 'before existing' MySQL server, I believe).

I got months of data in that database. And I know I was extremely dumb to have not read the warning section of the tutorial (https://www.linuxbabe.com/mail-server/u … ail-server). And I am even more dumb for not having a backup of my much precious database.

Please, don't crucify me. I'm a poor young beginner dev managing his own web server to make ends meet more easily and I've been feeling sorry for myself and trying to search for a solution for the last 7 hours. I even tried contacting my server provider to check with them if they have any recent snapshot of my server. Well, they don't have.

Buuut, I learned my lesson. Backups save headaches.

Now, please, pretty please, please please please: my database was really deleted? iRedAdmin doesn't make a backup of that by any chance? There's any way to have it back on my arms?

You guys are my last hope. Help me please, if you can. More than a year of data it's on that database.

Thanks for reading so far.

Help me if you can, please. I beg you.
José Paulo Oliveira Filho from Brazil

Fresh Installation on Debian 10: Fail2Ban and Subdomains

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Debain 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hey there,

I transfer my maildomain from another server to a fresh installation of iRM and run into some issues:

1. The Webserver and also the Mailserver are only reachable when I disable Fail2Ban. With activated Fail2Ban there are only connections possible from tie to time. The log of Fail2Ban shows no special banned IPs in that time period.

2. I would like to use subdomains for Sogo, Roundcube and iRedAdmin with sogo.domain.de round.domain,de and ired.domain.de. When I use the subdomain-templates it is only possible to use one of those subdomain-templates. When I activate only on e.g. sogo.domain.de an call round.domani.de it is also goes to sogo.domain.de. Is it possible to use this kind of config with three subdomains? When I put a name_server directive in the emplates it throws just an error due to multiple / aka root) directive.

Any help is greatly appreciated. When there are some logs nedded, plz let me know.

Thx again für your help.

mike

DKIM tests fine but fails on Google?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi all,

As per subject, I'm getting emails returned from Google due to DKIM errors, but tests seem to show that it is all setup fine. See errors below:

Google return email:

host aspmx.l.google.com[2a00:1450:400c:c00::1a] said:
550-5.7.26 Unauthenticated email from domain.com is not accepted
due 550-5.7.26 to domain's DMARC policy. Please contact the administrator
of 550-5.7.26 domain.com domain if this was a legitimate mail.
Please 550-5.7.26 visit 550-5.7.26
https://support.google.com/mail/answer/2451690 to learn about the 550
5.7.26 DMARC initiative. d18si9267760wrv.94 - gsmtp (in reply to end of
DATA command)

However, amavisd-new shows:

TESTING#1 domain.com: dkim._domainkey.domain.com => pass
TESTING#2 domain2.com: dkim._domainkey.domain2.com => pass

And, online tester shows it passing (https://dkimvalidator.com/results):

DKIM Information:
DKIM Signature

Message contains this DKIM Signature:
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=
    domain.com; h=message-id:content-type:content-type
    :date:date:subject:subject:from:from:to:mime-version; s=dkim; t=
    1582490112; x=1585082113; bh=glZG8z/gcsTIcoXzXCJvUJg/fTnJF3m9eRh
    STb3KMk0=; b=gvjhE391j0WD/LWl1pvSfyAoYZkGUa34Pb17gnKXZ6sV0XhCXRb
    5G3BnNqRIy7QYAkjWNq/Rj0BS/YdF6Fsi4I+kdwV5oG5X3JucmXYdaw3dZQsz1r4
    DcG2GzMdLAI4yTxu61gQnxSaFVOzSPNud85yKQYEaekZRsQ5YuYTXfXs=


Signature Information:
v= Version:         1
a= Algorithm:       rsa-sha256
c= Method:          relaxed/simple
d= Domain:          domain.com
s= Selector:        dkim
q= Protocol:        
bh=                 glZG8z/gcsTIcoXzXCJvUJg/fTnJF3m9eRh
    STb3KMk0=
h= Signed Headers:  message-id:content-type:content-type
    :date:date:subject:subject:from:from:to:mime-version
b= Data:            gvjhE391j0WD/LWl1pvSfyAoYZkGUa34Pb17gnKXZ6sV0XhCXRb
    5G3BnNqRIy7QYAkjWNq/Rj0BS/YdF6Fsi4I+kdwV5oG5X3JucmXYdaw3dZQsz1r4
    DcG2GzMdLAI4yTxu61gQnxSaFVOzSPNud85yKQYEaekZRsQ5YuYTXfXs=
Public Key DNS Lookup

Building DNS Query for dkim._domainkey.domain.com
Retrieved this publickey from DNS: v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBt6mujvGNL1uoe/e+zcJNm8RSqaCfRuFm0w3qWqtZcT7ZZPTXHasXervFe2AVADRZRtry61DaVFcVE+QobuMr0Man1Lp4kjnOvvTkNJ3H+WuA2opv6GDMvaPuxawN53gqxmbezBhR97S4VVaD3bDsbq8jsgV58ga5YFXuqQvtFQIDAQAB
Validating Signature

result = pass
Details: 

Please can someone tell me if I'm doing something wrong?

*domain name changed

Migrated Server -- got mass rejections

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer?  Downloadable
- Linux/BSD distribution name and version:  CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):  Nginx
- Manage mail accounts with iRedAdmin-Pro?  Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Good evening.  I had to swap back to my old email server after creating a brand new one.  I went from 0.9.9 MARIADB edition, to 1.1 MARIADB edition and all databases were updated and correct.  I've been searching all around the forum to find answers but found nothing to help.  Here is the log file message... there are hundreds for each of my clients.

postfix/smtpd[26840]: NOQUEUE: reject: RCPT from mta119b.pmx1.epsl1.com[142.54.244.119]: 450 4.7.1 <this@that.com>: Recipient address rejected: Internal error occurred. Refer to server log for more information.

I can't find the log file that would tell me the exact reason why I'm getting the message.  I got this one from the maillog.  I copied the var/vmail/ directory from the old server using:

sudo rsync -avzp --progress root@<IP address>:/var/vmail/ /var/vmail/

I also updated the SQL database using mysql -u root -p database < database.sql

My certbot certs were checked and good to go, and my DKIM entries were copied over accordingly.  This is the fourth time I've created a brand new server and moved everything over... but it's the first time I've ever lost any incoming emails due to this error.

What can I do to build a new server and trust that it will not reject all of the messages?

activesync mail stays in outbox if recepient does not exist

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): pro latest
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi

our customer domain.com configured test@domain.com in outlook via activesync (using sogo)

he sent an email to test2@domain.com ie within the same domain, but test2@domain.com does not exist

instead of the email being sent and again bounced with an user does not exist message, mail stays in the outbox.

there is no non-delivery receipt either

i checked the forum and found this link
https://forum.iredmail.org/topic15598-b … eject.html

is there any solution for this ?

it is very important


thanks
rajesh

PS : please note that the same email configuration when done via standard smtp / pop / imap works perfectly

Viewing all 12124 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>