1 (edited by thelex 2015-10-20 16:39:06)

Topic: After changing DNS records of domain can not Receive emails

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?: No
- Related log if you're reporting an issue: mail.log
====

I use Ubuntu 14.04 with iRedMail 0.9.2.

There is something really strange. After i change the DNS records of all my domains and they refreshed successfully i can not receive emails any more.

I have several domains all pointing to same IP address. I have no problems with sendind/receiving emails before the DNS change.

The more strange thing is that i can send emails from all my domains but i can receive emails only on my main domain.


Example:

    office@maindomain.com - Can receive and send.
    office@seconddomain.com - Can send but not receive.
    office@thirddomain.com - Can send but not receive.

In other hand i can send and receive emails inside all my domains, but if i try to send emails from gmail for example i can receive the email only on my main domain.


Here is my mail.log file:

Oct 20 09:09:10 mail postfix/qmgr[1883]: 18B1BA043FA: from=<root@mail.vivashost.com>, size=1421, nrcpt=1 (queue active)
    Oct 20 09:09:10 mail postfix/qmgr[1883]: E9235A043F8: removed
    Oct 20 09:09:10 mail postfix/smtp[8965]: ED45CA043F9: to=<root@mail.vivashost.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.3, delays=0.11/0.01/0.01/1.1, 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 E9235A043F8)
    Oct 20 09:09:10 mail postfix/qmgr[1883]: ED45CA043F9: removed
    Oct 20 09:09:10 mail postfix/pipe[8975]: 18B1BA043FA: to=<postmaster@vivashost.com>, relay=dovecot, delay=0.25, delays=0.08/0/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
    Oct 20 09:09:10 mail postfix/qmgr[1883]: 18B1BA043FA: removed
    Oct 20 09:39:08 mail postfix/pickup[8655]: 717DAA043FA: uid=0 from=<root>
    Oct 20 09:39:08 mail postfix/cleanup[9154]: 717DAA043FA: message-id=<20151020063908.717DAA043FA@mail.vivashost.com>
    Oct 20 09:39:08 mail postfix/qmgr[1883]: 717DAA043FA: from=<root@mail.vivashost.com>, size=799, nrcpt=1 (queue active)
    Oct 20 09:39:09 mail postfix/smtpd[9162]: connect from localhost[127.0.0.1]
    Oct 20 09:39:09 mail postfix/smtpd[9162]: 6B8FEA043F5: client=localhost[127.0.0.1]
    Oct 20 09:39:09 mail postfix/cleanup[9154]: 6B8FEA043F5: message-id=<20151020063908.717DAA043FA@mail.vivashost.com>
    Oct 20 09:39:09 mail postfix/qmgr[1883]: 6B8FEA043F5: from=<root@mail.vivashost.com>, size=1282, nrcpt=1 (queue active)
    Oct 20 09:39:09 mail postfix/smtpd[9162]: disconnect from localhost[127.0.0.1]
    Oct 20 09:39:09 mail amavis[8286]: (08286-02) Passed CLEAN {RelayedInternal}, MYUSERS <root@mail.vivashost.com> -> <root@mail.vivashost.com>, Message-ID: <20151020063908.717DAA043FA@mail.vivashost.com>, mail_id: xMQ3ZCjU28X1, Hits: -0.001, size: 798, queued_as: 6B8FEA043F5, 957 ms
    Oct 20 09:39:09 mail postfix/cleanup[9154]: 74553A0441F: message-id=<20151020063908.717DAA043FA@mail.vivashost.com>
    Oct 20 09:39:09 mail postfix/local[9165]: 6B8FEA043F5: to=<root@mail.vivashost.com>, relay=local, delay=0.07, delays=0.03/0/0/0.04, dsn=2.0.0, status=sent (forwarded as 74553A0441F)
    Oct 20 09:39:09 mail postfix/qmgr[1883]: 74553A0441F: from=<root@mail.vivashost.com>, size=1421, nrcpt=1 (queue active)
    Oct 20 09:39:09 mail postfix/qmgr[1883]: 6B8FEA043F5: removed
    Oct 20 09:39:09 mail postfix/smtp[9159]: 717DAA043FA: to=<root@mail.vivashost.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.1, delays=0.09/0.01/0/1, 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 6B8FEA043F5)
    Oct 20 09:39:09 mail postfix/qmgr[1883]: 717DAA043FA: removed
    Oct 20 09:39:09 mail postfix/pipe[9167]: 74553A0441F: to=<postmaster@vivashost.com>, relay=dovecot, delay=0.19, delays=0.04/0/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service)
    Oct 20 09:39:09 mail postfix/qmgr[1883]: 74553A0441F: removed
    Oct 20 10:09:08 mail postfix/pickup[9305]: 6005CA043FA: uid=0 from=<root>
    Oct 20 10:09:08 mail postfix/cleanup[9360]: 6005CA043FA: message-id=<20151020070908.6005CA043FA@mail.vivashost.com>
    Oct 20 10:09:08 mail postfix/qmgr[1883]: 6005CA043FA: from=<root@mail.vivashost.com>, size=799, nrcpt=1 (queue active)
    Oct 20 10:09:09 mail postfix/smtpd[9370]: connect from localhost[127.0.0.1]
    Oct 20 10:09:09 mail postfix/smtpd[9370]: 4DEB9A043F6: client=localhost[127.0.0.1]
    Oct 20 10:09:09 mail postfix/cleanup[9360]: 4DEB9A043F6: message-id=<20151020070908.6005CA043FA@mail.vivashost.com>
    Oct 20 10:09:09 mail postfix/smtpd[9370]: disconnect from localhost[127.0.0.1]
    Oct 20 10:09:09 mail postfix/qmgr[1883]: 4DEB9A043F6: from=<root@mail.vivashost.com>, size=1282, nrcpt=1 (queue active)
    Oct 20 10:09:09 mail amavis[8289]: (08289-02) Passed CLEAN {RelayedInternal}, MYUSERS <root@mail.vivashost.com> -> <root@mail.vivashost.com>, Message-ID: <20151020070908.6005CA043FA@mail.vivashost.com>, mail_id: dtdasVBgwlSg, Hits: -0.001, size: 798, queued_as: 4DEB9A043F6, 916 ms
    Oct 20 10:09:09 mail postfix/cleanup[9360]: 5A885A0441F: message-id=<20151020070908.6005CA043FA@mail.vivashost.com>
    Oct 20 10:09:09 mail postfix/qmgr[1883]: 5A885A0441F: from=<root@mail.vivashost.com>, size=1421, nrcpt=1 (queue active)
    Oct 20 10:09:09 mail postfix/local[9373]: 4DEB9A043F6: to=<root@mail.vivashost.com>, relay=local, delay=0.28, delays=0.05/0/0/0.23, dsn=2.0.0, status=sent (forwarded as 5A885A0441F)
    Oct 20 10:09:09 mail postfix/smtp[9367]: 6005CA043FA: to=<root@mail.vivashost.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.09/0.01/0/1.1, 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 4DEB9A043F6)
    Oct 20 10:09:09 mail postfix/qmgr[1883]: 4DEB9A043F6: removed
    Oct 20 10:09:09 mail postfix/qmgr[1883]: 6005CA043FA: removed
    Oct 20 10:09:09 mail postfix/pipe[9375]: 5A885A0441F: to=<postmaster@vivashost.com>, relay=dovecot, delay=0.5, delays=0.23/0/0/0.27, dsn=2.0.0, status=sent (delivered via dovecot service)
    Oct 20 10:09:09 mail postfix/qmgr[1883]: 5A885A0441F: removed
    Oct 20 10:39:08 mail postfix/pickup[9305]: 9A95FA043FA: uid=0 from=<root>
    Oct 20 10:39:08 mail postfix/cleanup[9580]: 9A95FA043FA: message-id=<20151020073908.9A95FA043FA@mail.vivashost.com>
    Oct 20 10:39:08 mail postfix/qmgr[1883]: 9A95FA043FA: from=<root@mail.vivashost.com>, size=799, nrcpt=1 (queue active)
    Oct 20 10:39:09 mail postfix/smtpd[9590]: connect from localhost[127.0.0.1]
    Oct 20 10:39:09 mail postfix/smtpd[9590]: 5F1FBA043F5: client=localhost[127.0.0.1]
    Oct 20 10:39:09 mail postfix/cleanup[9580]: 5F1FBA043F5: message-id=<20151020073908.9A95FA043FA@mail.vivashost.com>
    Oct 20 10:39:09 mail postfix/smtpd[9590]: disconnect from localhost[127.0.0.1]
    Oct 20 10:39:09 mail postfix/qmgr[1883]: 5F1FBA043F5: from=<root@mail.vivashost.com>, size=1282, nrcpt=1 (queue active)
    Oct 20 10:39:09 mail amavis[8287]: (08287-02) Passed CLEAN {RelayedInternal}, MYUSERS <root@mail.vivashost.com> -> <root@mail.vivashost.com>, Message-ID: <20151020073908.9A95FA043FA@mail.vivashost.com>, mail_id: 76y_9bCtQTAd, Hits: -0.001, size: 798, queued_as: 5F1FBA043F5, 749 ms
    Oct 20 10:39:09 mail postfix/cleanup[9580]: 68979A0441F: message-id=<20151020073908.9A95FA043FA@mail.vivashost.com>
    Oct 20 10:39:09 mail postfix/local[9591]: 5F1FBA043F5: to=<root@mail.vivashost.com>, relay=local, delay=0.08, delays=0.03/0/0/0.05, dsn=2.0.0, status=sent (forwarded as 68979A0441F)
    Oct 20 10:39:09 mail postfix/qmgr[1883]: 68979A0441F: from=<root@mail.vivashost.com>, size=1421, nrcpt=1 (queue active)
    Oct 20 10:39:09 mail postfix/smtp[9587]: 9A95FA043FA: to=<root@mail.vivashost.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.89, delays=0.09/0.01/0/0.8, 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 5F1FBA043F5)
    Oct 20 10:39:09 mail postfix/qmgr[1883]: 9A95FA043FA: removed
    Oct 20 10:39:09 mail postfix/qmgr[1883]: 5F1FBA043F5: removed
    Oct 20 10:39:09 mail postfix/pipe[9593]: 68979A0441F: to=<postmaster@vivashost.com>, relay=dovecot, delay=0.19, delays=0.04/0/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service)
    Oct 20 10:39:09 mail postfix/qmgr[1883]: 68979A0441F: removed

Here is what i have in /etc/aliases:

    postmaster:    root
    clamav: root

Please tell me where the problem can be and what additional information i can provide so we can find the problem.

Thanks in advance!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: After changing DNS records of domain can not Receive emails

No error in attached log, cannot figure it out.

The problem might be DNS cache on DNS server side, if so just wait for some hours and it will be fine.