1

Topic: changed server ip and moved to another subnet - mail no longer word

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
====

Greetings all,  I changed the ip address of  the server and moved it to a different subnet. I am no longer able to send and receive. I a not completely surprised. Is there specific config files that need to be modified to help with this?

- firewall does not seem to be an issue, changed the NAT rules to reflect the new IP,  no firewall entries
- i am able to telnet to the public ip @ port 25
- the server is able to ping public addresses (resolve public domains)


some of the errors
maillog
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: NOQUEUE: reject: RCPT from unknown[198.37.146.104]: 450 4.1.8 <bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com>: Sender address rejected: Domain not found; from=<bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com> to=<user@mydomain.com> proto=SMTP helo=<o63.emailer.hubspot.com>
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: lost connection after RCPT from unknown[198.37.146.104]
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: disconnect from unknown[198.37.146.104]
Apr 16 09:03:35 soe-chi-maildev-00 postfix/smtpd[1875]: connect from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]
Apr 16 09:04:05 soe-chi-maildev-00 postfix/smtpd[1875]: NOQUEUE: reject: RCPT from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]: 450 4.1.2 <publicid@gmail.com>: Recipient address rejected: Domain not found; from=<userid@mydomain.com> to=<publicid@gmail.com> proto=ESMTP helo=<172.16.3.20>
Apr 16 09:04:05 soe-chi-maildev-00 roundcube: SMTP Error: SMTP error: Failed to add recipient 'publicid@gmail.com' in /var/www/roundcubemail-0.9.5/program/include/rcmail.php on line 1035 (POST /mail/?_unlock=loading1397657311171&_lang=undefined?_task=mail&_action=send)
Apr 16 09:04:05 soe-chi-maildev-00 postfix/smtpd[1875]: disconnect from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]
Apr 16 09:07:25 soe-chi-maildev-00 postfix/anvil[1727]: statistics: max connection rate 1/60s for (smtp:198.37.146.104) at Apr 16 09:03:01
Apr 16 09:07:25 soe-chi-maildev-00 postfix/anvil[1727]: statistics: max connection count 1 for (smtp:198.37.146.104) at Apr 16 09:03:01
Apr 16 09:07:25 soe-chi-maildev-00 postfix/anvil[1727]: statistics: max cache size 1 at Apr 16 09:03:01

----

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

2

Re: changed server ip and moved to another subnet - mail no longer word

Its partially resolved,  I found the solution  at:

http://www.iredmail.org/forum/topic4984 … erver.html

basically, when changing subnets I also changed, /etc/resolve.conf ,  I needed to copy the new /etc/resolv.conf to /var/spool/postfix/etc/resolv.conf 

This fixed these errors:

<bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com>: Sender address rejected: Domain not found; from=<bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com> to=<user@mydomain.com> proto=SMTP helo=<o63.emailer.hubspot.com>
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: lost connection after RCPT from unknown[198.37.146.104]
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: disconnect from unknown[198.37.146.104]
Apr 16 09:03:35 soe-chi-maildev-00 postfix/smtpd[1875]: connect from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]
Apr 16 09:04:05 soe-chi-maildev-00 postfix/smtpd[1875]: NOQUEUE: reject: RCPT from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]: 450 4.1.2 <publicid@gmail.com>: Recipient address rejected: Domain not found; from=<userid@mydomain.com> to=<publicid@gmail.com> proto=ESMTP helo=<172.16.3.20>
Apr 16 09:04:05 soe-chi-maildev-00 roundcube: SMTP Error: SMTP error: Failed to add recipient 'publicid@gmail.com' in /var/www/roundcubemail-0.9.5/program/include/rcmail.php on line 1035 (POST /mail/?_unlock=loading1397657311171&_lang=undefined?_task=mail&_action=send)

It won't send at the moment, I'm looking into that.

3

Re: changed server ip and moved to another subnet - mail no longer word

ealexmendez wrote:

Its partially resolved,  I found the solution  at:

http://www.iredmail.org/forum/topic4984 … erver.html

basically, when changing subnets I also changed, /etc/resolve.conf ,  I needed to copy the new /etc/resolv.conf to /var/spool/postfix/etc/resolv.conf 

This fixed these errors:

<bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com>: Sender address rejected: Domain not found; from=<bounces+58369-2ccc-userid=mydomain.com@emailer.hubspot.com> to=<user@mydomain.com> proto=SMTP helo=<o63.emailer.hubspot.com>
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: lost connection after RCPT from unknown[198.37.146.104]
Apr 16 09:03:32 soe-chi-maildev-00 postfix/smtpd[1875]: disconnect from unknown[198.37.146.104]
Apr 16 09:03:35 soe-chi-maildev-00 postfix/smtpd[1875]: connect from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]
Apr 16 09:04:05 soe-chi-maildev-00 postfix/smtpd[1875]: NOQUEUE: reject: RCPT from soe-chi-maildev-00.chicagotechco.com[127.0.0.1]: 450 4.1.2 <publicid@gmail.com>: Recipient address rejected: Domain not found; from=<userid@mydomain.com> to=<publicid@gmail.com> proto=ESMTP helo=<172.16.3.20>
Apr 16 09:04:05 soe-chi-maildev-00 roundcube: SMTP Error: SMTP error: Failed to add recipient 'publicid@gmail.com' in /var/www/roundcubemail-0.9.5/program/include/rcmail.php on line 1035 (POST /mail/?_unlock=loading1397657311171&_lang=undefined?_task=mail&_action=send)

It won't send at the moment, I'm looking into that.

- RESOLVED
- my firewall was blocking outbound smtp ,  i opened that up and  it started sending the queued messages.