1

Topic: New set of IP on my old iRedmail

==== Required information ====
- iRedMail version: 1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Centos 6.3
- Related log if you're reporting an issue:
====
I just need to ask help last April my ISP have some problem and suddenly we got offline for almost a month, what I did is that I have a friend who is using also iRedmail I temporarily hosted my 2 domain into his server then do an auto forward of email to individual personal email of each employee from yahoo, gmail and Hotmail. Now the ISP were able to restore the connection but they told me I need to use a new sets of IP and I said no problem when I try to put it online I cannot send email or receive, do I need to disable my domain to other iRedmail server before I'll make it online or do I need to do something like an update to make it work again.

----

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

2

Re: New set of IP on my old iRedmail

*) Did you update your DNS records to use new IP address(es)?
*) Any related error log in Postfix log file (/var/log/maillog)?

3

Re: New set of IP on my old iRedmail

Hi Zhang,

Here are some I got from the /var/log/mailog also the DNS is update already temporalri I make my server second mx server the primary is on my friends server running also iredmail.


login as: root
root@192.168.1.6's password:
Last login: Mon May 26 14:12:38 2014 from 192.168.1.192
[root@gateway ~]# less /var/log/maillog
May 26 14:06:23 gateway postfix/smtp[11321]: BA4C7260FDA: to=<jmduran@imavision.com.ph>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.24, delays=0.06/0/0/0.17, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DEDF02611E3)
May 26 14:06:23 gateway postfix/smtp[11323]: BA4C7260FDA: to=<orvenmendoza@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.25, delays=0.06/0.01/0/0.17, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E082826127C)
May 26 14:06:24 gateway postfix/qmgr[2108]: BA4C7260FDA: removed
May 26 14:06:24 gateway postfix/smtpd[11317]: disconnect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:06:24 gateway postfix/pipe[11330]: DEDF02611E3: to=<jmduran@imavision.com.ph>, relay=dovecot, delay=0.21, delays=0.02/0.03/0/0.16, dsn=2.0.0, status=sent (delivered via dovecot service)
May 26 14:06:24 gateway postfix/qmgr[2108]: DEDF02611E3: removed
May 26 14:06:27 gateway postfix/smtp[11331]: E082826127C: to=<orvenmendoza@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.25.26]:25, delay=3.8, delays=0.02/0.03/0.81/2.9, dsn=2.0.0, status=sent (250 2.0.0 OK 1401084387 im3si13346475pac.231 - gsmtp)
May 26 14:06:27 gateway postfix/qmgr[2108]: E082826127C: removed
May 26 14:06:51 gateway postfix/smtpd[11317]: connect from unknown[217.194.193.136]
May 26 14:06:51 gateway postfix/smtpd[11317]: NOQUEUE: reject: RCPT from unknown[217.194.193.136]: 554 5.7.1 <cust.217-194-193-136.bb.safelines.com>: Helo command rejected: Go away (dynamic).; from=<epto@chasquinet.org> to=<epto@imatech.com.ph> proto=ESMTP helo=<cust.217-194-193-136.bb.safelines.com>
May 26 14:06:52 gateway postfix/smtpd[11317]: disconnect from unknown[217.194.193.136]
May 26 14:07:24 gateway postfix/smtpd[11317]: connect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:07:24 gateway postfix/smtpd[11317]: NOQUEUE: reject: RCPT from gateway.imatech.com.ph[127.0.0.1]: 450 4.1.2 <fmramiso@yahoo.com.ph>: Recipient address rejected: Domain not found; from=<krgorospe@imavision.com.ph> to=<fmramiso@yahoo.com.ph> proto=ESMTP helo=<192.168.1.6>
May 26 14:07:24 gateway roundcube: SMTP Error: SMTP error: Failed to add recipient 'fmramiso@yahoo.com.ph' in /var/www/roundcubemail-0.8.2/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1401084391678&_lang=undefined?_task=mail&_action=send)
May 26 14:07:24 gateway postfix/smtpd[11317]: disconnect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:07:30 gateway postfix/smtpd[11317]: connect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:07:30 gateway postfix/smtpd[11317]: NOQUEUE: reject: RCPT from gateway.imatech.com.ph[127.0.0.1]: 450 4.1.2 <fmramiso@yahoo.com.ph>: Recipient address rejected: Domain not found; from=<krgorospe@imavision.com.ph> to=<fmramiso@yahoo.com.ph> proto=ESMTP helo=<192.168.1.6>
May 26 14:07:30 gateway roundcube: SMTP Error: SMTP error: Failed to add recipient 'fmramiso@yahoo.com.ph' in /var/www/roundcubemail-0.8.2/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1401084397984&_lang=undefined?_task=mail&_action=send)
May 26 14:07:30 gateway postfix/smtpd[11317]: disconnect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:08:24 gateway postfix/smtpd[11317]: connect from unknown[192.168.1.115]
May 26 14:08:25 gateway postfix/smtpd[11317]: 05FEA260FDA: client=unknown[192.168.1.115], sasl_method=LOGIN, sasl_username=eagomez@imatech.com.ph
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max connection rate 1/60s for (smtp:201.151.108.134) at May 26 13:59:06
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max connection count 1 for (smtp:201.151.108.134) at May 26 13:59:06
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max cache size 2 at May 26 13:59:08
May 26 14:13:21 gateway postfix/smtpd[11408]: connect from unknown[192.168.1.192]
May 26 14:13:21 gateway postfix/smtpd[11408]: NOQUEUE: reject: RCPT from unknown[192.168.1.192]: 450 4.1.2 <ciplh@yahoo.com>: Recipient address rejected: Domain not found; from=<clhilario@imatech.com.ph> to=<ciplh@yahoo.com> proto=ESMTP helo=<CLHILARIOPC>
May 26 14:13:23 gateway postfix/smtpd[11408]: NOQUEUE: reject: RCPT from unknown[192.168.1.192]: 450 4.1.2 <clhilario@gmail.com>: Recipient address rejected: Domain not found; from=<clhilario@imatech.com.ph> to=<clhilario@gmail.com> proto=ESMTP helo=<CLHILARIOPC>
May 26 14:13:25 gateway postfix/smtpd[11317]: timeout after DATA (0 bytes) from unknown[192.168.1.115]
May 26 14:13:25 gateway postfix/smtpd[11317]: disconnect from unknown[192.168.1.115]
May 26 14:13:26 gateway postfix/smtpd[11408]: disconnect from unknown[192.168.1.192]
May 26 14:16:11 gateway postfix/smtpd[11433]: connect from unknown[192.168.1.171]
May 26 14:16:11 gateway postfix/smtpd[11433]: warning: Illegal address syntax from unknown[192.168.1.171] in RCPT command: <florence pangan@yahoo.com>
May 26 14:16:11 gateway postfix/smtpd[11433]: D0218260FDA: client=unknown[192.168.1.171], sasl_method=LOGIN, sasl_username=dcmorales@imavision.com.ph
May 26 14:16:13 gateway postfix/smtpd[11433]: D0218260FDA: reject: RCPT from unknown[192.168.1.171]: 450 4.1.2 <Capablo@yahoo.com>: Recipient address rejected: Domain not found; from=<dcmorales@imavision.com.ph> to=<Capablo@yahoo.com> proto=ESMTP helo=<DaniloMorales>
May 26 14:16:13 gateway postfix/smtpd[11433]: disconnect from unknown[192.168.1.171]
May 26 14:16:13 gateway postfix/smtpd[11433]: connect from unknown[192.168.1.171]
May 26 14:16:13 gateway postfix/smtpd[11433]: warning: Illegal address syntax from unknown[192.168.1.171] in MAIL command: <danilo morales@imavision.com.ph>
May 26 14:16:13 gateway postfix/smtpd[11433]: warning: Illegal address syntax from unknown[192.168.1.171] in MAIL command: <danilo morales@imavision.com.ph>
May 26 14:16:13 gateway postfix/smtpd[11433]: warning: Illegal address syntax from unknown[192.168.1.171] in MAIL command: <danilo morales@imavision.com.ph>
May 26 14:16:13 gateway postfix/smtpd[11433]: warning: Illegal address syntax from unknown[192.168.1.171] in MAIL command: <danilo morales@imavision.com.ph>
May 26 14:16:13 gateway postfix/smtpd[11433]: disconnect from unknown[192.168.1.171]
(END)

Then here is my new logs today if I try to send an email it says like this...

login as: root
root@192.168.1.6's password:
Access denied
root@192.168.1.6's password:
Last login: Mon May 26 11:22:08 2014 from 192.168.1.192
[root@gateway ~]# tail -f /var/log/maillog
May 26 14:07:24 gateway postfix/smtpd[11317]: disconnect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:07:30 gateway postfix/smtpd[11317]: connect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:07:30 gateway postfix/smtpd[11317]: NOQUEUE: reject: RCPT from gateway.imatech.com.ph[127.0.0.1]: 450 4.1.2 <fmramiso@yahoo.com.ph>: Recipient address rejected: Domain not found; from=<krgorospe@imavision.com.ph> to=<fmramiso@yahoo.com.ph> proto=ESMTP helo=<192.168.1.6>
May 26 14:07:30 gateway roundcube: SMTP Error: SMTP error: Failed to add recipient 'fmramiso@yahoo.com.ph' in /var/www/roundcubemail-0.8.2/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1401084397984&_lang=undefined?_task=mail&_action=send)
May 26 14:07:30 gateway postfix/smtpd[11317]: disconnect from gateway.imatech.com.ph[127.0.0.1]
May 26 14:08:24 gateway postfix/smtpd[11317]: connect from unknown[192.168.1.115]
May 26 14:08:25 gateway postfix/smtpd[11317]: 05FEA260FDA: client=unknown[192.168.1.115], sasl_method=LOGIN, sasl_username=eagomez@imatech.com.ph
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max connection rate 1/60s for (smtp:201.151.108.134) at May 26 13:59:06
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max connection count 1 for (smtp:201.151.108.134) at May 26 13:59:06
May 26 14:09:07 gateway postfix/anvil[11224]: statistics: max cache size 2 at May 26 13:59:08
May 26 14:13:21 gateway postfix/smtpd[11408]: connect from unknown[192.168.1.192]
May 26 14:13:21 gateway postfix/smtpd[11408]: NOQUEUE: reject: RCPT from unknown[192.168.1.192]: 450 4.1.2 <ciplh@yahoo.com>: Recipient address rejected: Domain not found; from=<clhilario@imatech.com.ph> to=<ciplh@yahoo.com> proto=ESMTP helo=<CLHILARIOPC>
May 26 14:13:23 gateway postfix/smtpd[11408]: NOQUEUE: reject: RCPT from unknown[192.168.1.192]: 450 4.1.2 <clhilario@gmail.com>: Recipient address rejected: Domain not found; from=<clhilario@imatech.com.ph> to=<clhilario@gmail.com> proto=ESMTP helo=<CLHILARIOPC>
May 26 14:13:25 gateway postfix/smtpd[11317]: timeout after DATA (0 bytes) from unknown[192.168.1.115]
May 26 14:13:25 gateway postfix/smtpd[11317]: disconnect from unknown[192.168.1.115]
May 26 14:13:26 gateway postfix/smtpd[11408]: disconnect from unknown[192.168.1.192]


It seems my iredmail has internal DNS problem I can ping do nslookup...

4

Re: New set of IP on my old iRedmail

Cipriano Hilario wrote:

May 26 14:07:30 gateway postfix/smtpd[11317]: NOQUEUE: reject: RCPT from gateway.imatech.com.ph[127.0.0.1]: 450 4.1.2 <fmramiso@yahoo.com.ph>: Recipient address rejected: Domain not found; from=<krgorospe@imavision.com.ph> to=<fmramiso@yahoo.com.ph> proto=ESMTP helo=<192.168.1.6>

Do you have proper DNS server(s) in file /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf?