Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 13th July 2009, 13:38
kentor kentor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok I haven't really changed anything but some more time has passed since my last post and now it seems like *google* doesn't appear in the logs anymore.

on the other hand I keep seeing connection timed out like this:

Jul 13 07:25:09 domU-12-31-39-00-5D-07 postfix/smtp[25866]: connect to mail.mydomain.com[75.101.163.xx]: Connection timed out (port 25)

and im still seeing example.com

Jul 13 07:27:06 domU-12-31-39-00-5D-07 postfix/smtp[25878]: ABB62F432E: to=<sales@example.com>, relay=none, delay=330408, delays=330378/0.03/30/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
Jul 13 07:27:06 domU-12-31-39-00-5D-07 postfix/smtp[25878]: connect to example.com[208.77.188.166]: Connection timed out (port 25)

and im still seeing

Jul 13 07:22:46 domU-12-31-39-00-5D-07 imapd: chdir mydomain.com/sales/: No such file or directory

and it looks like something is queued somewhere

Jul 13 07:26:36 domU-12-31-39-00-5D-07 postfix/qmgr[23628]: ABB62F432E: from=<root@domU-12-31-39-00-5D-07.compute-1.internal>, size=1050, nrcpt=1 (queue active)

also, if i go to http://mail.mydomain.com, on one computer i get a 404 "server not found error" and from another computer i see the "Apache 2 Test Page".

somebody asked me this "is your amavis giving back the mail not on localhost and the port is just bound to localhost?" and said to check /etc/postfix/master.cf and amavisd.conf but I didn't really understand what I'm supposed to change =/
and somebody else said "Sounds like a firewall/port 25 block to me"...
I did follow this guide http://www.crypt.gen.nz/selinux/disable_selinux.html and disabled selinux like you said in the beginning of the guide.

[root@domU-12-31-39-00-5D-07 selinux]# cat /selinux/enforce
0[root@domU-12-31-39-00-5D-07 selinux]#

here is the output of "iptables -L":
Quote:
[root@domU-12-31-39-00-5D-07 selinux]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@domU-12-31-39-00-5D-07 selinux]#
also when i "telnet localhost 25" it works fine, but if i do it remotely, i get connection refused =/

finally, i've sent a new email from gmail and another provider to sales@mydomain.com and this time it took 50 minutes to bounce back.

Last edited by kentor; 21st July 2009 at 14:33.
Reply With Quote
Sponsored Links
  #22  
Old 13th July 2009, 18:59
kentor kentor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

here is the new log:

Quote:
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 48DB5F4C46: from=<root@xxx.amazonec2.compute-1.internal>, size=8590, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E6FC6F4948: from=<root@xxx.amazonec2.compute-1.internal>, size=997, nrcpt=2 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E9FF9F4C3E: from=<root@xxx.amazonec2.compute-1.internal>, size=1710, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E459FF4C36: from=<root@xxx.amazonec2.compute-1.internal>, size=1288, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E0E68F4C42: from=<root@xxx.amazonec2.compute-1.internal>, size=1710, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 0B415F4C44: from=<root@xxx.amazonec2.compute-1.internal>, size=1710, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: ABB62F432E: from=<root@xxx.amazonec2.compute-1.internal>, size=1050, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8C857F4F4B: from=<root@xxx.amazonec2.compute-1.internal>, size=1710, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: E6FC6F4948: to=<sales@mydomain.com>, relay=mail.mydomain.com[75.101.163.24]:25, delay=3805, delays=3805/0.02/0.23/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: 48DB5F4C46: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=31876, delays=31876/0.03/0.24/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: E9FF9F4C3E: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=3167, delays=3167/0.02/0.24/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27598]: 7DFE9F4F42: message-id=<20090713165350.7DFE9F4F42@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27601]: 80CF8F4F43: message-id=<20090713165350.80CF8F4F43@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27603]: 839C7F4F44: message-id=<20090713165350.839C7F4F44@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: E459FF4C36: to=<sales@mydomain.com>, relay=mail.mydomain.com[75.101.163.24]:25, delay=3790, delays=3790/0.02/0.26/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: E0E68F4C42: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=57162, delays=57162/0.1/0.18/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 7DFE9F4F42: from=<>, size=2941, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27595]: E6FC6F4948: sender non-delivery notification: 7DFE9F4F42
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27598]: 8C8B6F434E: message-id=<20090713165350.8C8B6F434E@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 80CF8F4F43: from=<>, size=10566, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E6FC6F4948: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27591]: 48DB5F4C46: sender non-delivery notification: 80CF8F4F43
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27601]: 8D10EF4948: message-id=<20090713165350.8D10EF4948@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27596]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27596]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 839C7F4F44: from=<>, size=3686, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 48DB5F4C46: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27592]: E9FF9F4C3E: sender non-delivery notification: 839C7F4F44
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27603]: 91280F4C3F: message-id=<20090713165350.7DFE9F4F42@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: 0B415F4C44: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=31963, delays=31962/0.28/0.22/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27596]: 8C857F4F4B: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=17563, delays=17563/0.28/0.21/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27594]: E459FF4C36: sender non-delivery notification: 8C8B6F434E
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8D10EF4948: from=<>, size=3686, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E9FF9F4C3E: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E459FF4C36: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8C8B6F434E: from=<>, size=3232, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27598]: 9F70EF4C36: message-id=<20090713165350.9F70EF4C36@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27590]: E0E68F4C42: sender non-delivery notification: 8D10EF4948
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27601]: 9FE8BF4C3E: message-id=<20090713165350.9FE8BF4C3E@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 91280F4C3F: from=<>, size=3100, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: E0E68F4C42: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27605]: 7DFE9F4F42: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.28, delays=0.2/0.02/0/0.07, dsn=2.0.0, status=sent (forwarded as 91280F4C3F)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27603]: A1063F4C42: message-id=<20090713165350.80CF8F4F43@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27591]: 8C857F4F4B: sender non-delivery notification: 9F70EF4C36
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 9FE8BF4C3E: from=<>, size=3686, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8C857F4F4B: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 7DFE9F4F42: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 9F70EF4C36: from=<>, size=3686, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/bounce[27592]: 0B415F4C44: sender non-delivery notification: 9FE8BF4C3E
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A1063F4C42: from=<>, size=10725, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 0B415F4C44: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27598]: A337EF4C44: message-id=<20090713165350.839C7F4F44@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27606]: 80CF8F4F43: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.29, delays=0.19/0.08/0/0.01, dsn=2.0.0, status=sent (forwarded as A1063F4C42)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 80CF8F4F43: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27601]: A41A7F4F40: message-id=<20090713165350.8D10EF4948@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: A1063F4C42: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.01, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: 91280F4C3F: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.07, delays=0.06/0.01/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 91280F4C3F: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A1063F4C42: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A41A7F4F40: from=<>, size=3845, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A337EF4C44: from=<>, size=3845, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27605]: 839C7F4F44: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.18, delays=0.07/0.09/0/0.02, dsn=2.0.0, status=sent (forwarded as A337EF4C44)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 839C7F4F44: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27606]: 8D10EF4948: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.12, delays=0.02/0.08/0/0.02, dsn=2.0.0, status=sent (forwarded as A41A7F4F40)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8D10EF4948: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27598]: A8816F4948: message-id=<20090713165350.9FE8BF4C3E@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27603]: A88B7F4C42: message-id=<20090713165350.8C8B6F434E@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27582]: A41A7F4F40: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.02, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A41A7F4F40: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27593]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27583]: A337EF4C44: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.02, delays=0.02/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A337EF4C44: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27585]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A8816F4948: from=<>, size=3845, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27605]: 9FE8BF4C3E: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.12, delays=0/0.03/0/0.09, dsn=2.0.0, status=sent (forwarded as A8816F4948)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 9FE8BF4C3E: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/cleanup[27601]: BDA4BF4C3C: message-id=<20090713165350.9F70EF4C36@mydomain.com>
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27580]: A8816F4948: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.09, delays=0.08/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A8816F4948: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27586]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A88B7F4C42: from=<>, size=3391, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: BDA4BF4C3C: from=<>, size=3845, nrcpt=1 (queue active)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27606]: 9F70EF4C36: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.17, delays=0.01/0.11/0/0.05, dsn=2.0.0, status=sent (forwarded as BDA4BF4C3C)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 9F70EF4C36: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: warning: 75.101.163.24: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: connect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/local[27607]: 8C8B6F434E: to=<root@xxx.amazonec2.compute-1.internal>, relay=local, delay=0.25, delays=0.08/0.04/0/0.13, dsn=2.0.0, status=sent (forwarded as A88B7F4C42)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 greeted me with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: 8C8B6F434E: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: warning: host mail.mydomain.com[75.101.163.24]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27579]: BDA4BF4C3C: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.05, delays=0.04/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: BDA4BF4C3C: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27587]: disconnect from unknown[75.101.163.24]
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtp[27581]: A88B7F4C42: to=<admin@mydomain.com>, orig_to=<root@xxx.amazonec2.compute-1.internal>, relay=mail.mydomain.com[75.101.163.24]:25, delay=0.13, delays=0.13/0/0/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/qmgr[26396]: A88B7F4C42: removed
Jul 13 12:53:50 domU-12-31-39-00-5D-07 postfix/smtpd[27589]: disconnect from unknown[75.101.163.24]
Jul 13 12:54:20 domU-12-31-39-00-5D-07 postfix/smtp[27584]: connect to example.com[208.77.188.166]: Connection timed out (port 25)
Jul 13 12:54:20 domU-12-31-39-00-5D-07 postfix/smtp[27584]: ABB62F432E: to=<sales@example.com>, relay=none, delay=350041, delays=350011/0.09/30/0, dsn=4.4.1, status=deferred (connect to example.com[208.77.188.166]: Connection timed out)
wow the email bounced back from my setup and not from gmail this time... this the email i got:

from Mail Delivery System <MAILER-DAEMON@mydomain.com>
to my@gmail.com
date Mon, Jul 13, 2009 at 1:10 PM
subject Undelivered Mail Returned to Sender

hide details 1:10 PM (5 minutes ago)


Reply

Follow up message
This is the mail system at host mydomain.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<sales@mydomain.com>: mail for mail.mydomain.com loops back to myself

Final-Recipient: rfc822; sales@mydomain.com
Original-Recipient: rfc822;sales@mydomain.com
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for mail.mydomain.com loops back to
myself


---------- Forwarded message ----------
From: - Simon - <my@gmail.com>
To: sales@mydomain.com
Date: Mon, 13 Jul 2009 11:46:17 -0400
Subject: dsjkfnksdfndsjknf
from gmail

Last edited by kentor; 21st July 2009 at 14:34.
Reply With Quote
  #23  
Old 14th July 2009, 12:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please add mail.mydomain.com to mydestination in /etc/postfix/main.cf and restart Postfix.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #24  
Old 14th July 2009, 13:53
kentor kentor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

its already there.. maybe im missing something. the server is setup on amazon ec2... if i dns mail.mydomain.com i get 75.101.163.xx, if i reverse dns that ip i get something like ec2-75-101-163-xx.compute-1.amazonaws.com and the internal hostname is domU-12-31-39-00-xx.compute-1.internal ...

i've tried adding everything to mydestination:
mydestination = mail.mydomain.com, localhost, localhost.localdomain, 75.101.163.xx, ec2-75-101-163-xx.compute-1.amazonaws.com, compute-1.amazonaws.com, amazonaws.com, 127.0.0.1, 127.0.0.0, domU-12-31-39-00-xx.compute-1.internal, compute-1.internal

If i add mydomain.com in there, I get:
warning: do not list domain mydomain.com in BOTH mydestination and virtual_mailbox_domains

is it normal that my /etc/hosts only has
127.0.0.1 localhost localhost.localdomain

i think my internal hostname may also be domU-12-31-39-00-xx-xx.compute-1.internal, should i add that to /etc/hosts ?


here is my current error log:

Quote:
Jul 14 15:58:51 domU-12-31-39-00-5D-07 postfix/anvil[2607]: statistics: max connection rate 2/60s for (smtp:75.101.163.xx) at Jul 14 15:55:31
Jul 14 15:58:51 domU-12-31-39-00-5D-07 postfix/anvil[2607]: statistics: max connection count 2 for (smtp:75.101.163.xx) at Jul 14 15:55:31
Jul 14 15:58:51 domU-12-31-39-00-5D-07 postfix/anvil[2607]: statistics: max cache size 1 at Jul 14 15:55:31
Jul 14 16:01:01 domU-12-31-39-00-5D-07 sendmail[2629]: n6EK11pa002629: from=root, size=440, class=0, nrcpts=1, msgid=<200907142001.n6EK11pa002629@domU-12-31-39-00-5D-07.compute-1.internal>, relay=root@localhost
Jul 14 16:01:01 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: connect from localhost[127.0.0.1]
Jul 14 16:01:01 domU-12-31-39-00-5D-07 sendmail[2629]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Jul 14 16:01:01 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: C2768F4335: client=localhost[127.0.0.1], sasl_sender=root@domU-12-31-39-00-5D-07.compute-1.internal
Jul 14 16:01:01 domU-12-31-39-00-5D-07 postfix/cleanup[2648]: C2768F4335: message-id=<200907142001.n6EK11pa002629@domU-12-31-39-00-5D-07.compute-1.internal>
Jul 14 16:01:01 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: C2768F4335: from=<root@domU-12-31-39-00-5D-07.compute-1.internal>, size=1050, nrcpt=1 (queue active)
Jul 14 16:01:01 domU-12-31-39-00-5D-07 sendmail[2629]: n6EK11pa002629: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30440, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as C2768F4335)
Jul 14 16:01:02 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: disconnect from localhost[127.0.0.1]
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2655]: connect from unknown[127.0.0.1]
Jul 14 20:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2655]: 02CFAF432E: client=unknown[127.0.0.1]
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/cleanup[2648]: 02CFAF432E: message-id=<200907142001.n6EK11pa002629@domU-12-31-39-00-5D-07.compute-1.internal>
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 02CFAF432E: from=<root@domU-12-31-39-00-5D-07.compute-1.internal>, size=1551, nrcpt=1 (queue active)
Jul 14 20:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2655]: disconnect from unknown[127.0.0.1]
Jul 14 16:01:07 domU-12-31-39-00-5D-07 amavis[1484]: (01484-04) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <root@domU-12-31-39-00-5D-07.compute-1.internal> -> <root@domU-12-31-39-00-5D-07.compute-1.internal>, Message-ID: <200907142001.n6EK11pa002629@domU-12-31-39-00-5D-07.compute-1.internal>, mail_id: 40q8aBoy-FyV, Hits: 1.897, size: 1050, queued_as: 02CFAF432E, 5180 ms
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtp[2649]: C2768F4335: to=<root@domU-12-31-39-00-5D-07.compute-1.internal>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.3, delays=0.09/0.01/0/5.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 02CFAF432E)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: C2768F4335: removed
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/cleanup[2648]: 119BCF4333: message-id=<200907142001.n6EK11pa002629@domU-12-31-39-00-5D-07.compute-1.internal>
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 119BCF4333: from=<root@domU-12-31-39-00-5D-07.compute-1.internal>, size=1710, nrcpt=1 (queue active)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/local[2657]: 02CFAF432E: to=<root@domU-12-31-39-00-5D-07.compute-1.internal>, relay=local, delay=0.13, delays=0.04/0.02/0/0.07, dsn=2.0.0, status=sent (forwarded as 119BCF4333)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 02CFAF432E: removed
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: warning: 75.101.163.xx: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: connect from unknown[75.101.163.xx]
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtp[2658]: warning: host mail.mydomain.com[75.101.163.xx]:25 greeted me with my own hostname mydomain.com
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtp[2658]: warning: host mail.mydomain.com[75.101.163.xx]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtp[2658]: 119BCF4333: to=<sales@mydomain.com>, orig_to=<root@domU-12-31-39-00-5D-07.compute-1.internal>, relay=mail.mydomain.com[75.101.163.xx]:25, delay=0.12, delays=0.06/0.01/0.05/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/smtpd[2641]: disconnect from unknown[75.101.163.xx]
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/cleanup[2648]: 32777F4335: message-id=<20090714200107.32777F4335@mydomain.com>
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 32777F4335: from=<>, size=3686, nrcpt=1 (queue active)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/cleanup[2648]: 35055F4339: message-id=<20090714200107.32777F4335@mydomain.com>
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/bounce[2661]: 119BCF4333: sender non-delivery notification: 32777F4335
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 119BCF4333: removed
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/qmgr[2156]: 35055F4339: from=<>, size=3845, nrcpt=1 (queue active)
Jul 14 16:01:07 domU-12-31-39-00-5D-07 postfix/local[2657]: 32777F4335: to=<root@domU-12-31-39-00-5D-07.compute-1.internal>, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (forwarded as 35055F4339)
and here is the current postconf -n

Quote:
[root@domU-12-31-39-00-5D-07 ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = mail.mydomain.com, localhost, localhost.localdomain, 75.101.163.xx, ec2-75-101-163-xx.compute-1.amazonaws.com, compute-1.amazonaws.com, amazonaws.com, 127.0.0.1, 127.0.0.0, domU-12-31-39-00-5D-07.compute-1.internal, compute-1.internal
myhostname = mydomain.com
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
receive_override_options = no_address_mappings
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
[root@domU-12-31-39-00-5D-07 ~]#
I can see the messages getting queued up in the mail log, if i do "postqueue -p" i can see them, so it means its somewhere on the server but it keeps looping around

Last edited by kentor; 14th July 2009 at 22:08.
Reply With Quote
  #25  
Old 15th July 2009, 13:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What happens if you add mail.mydomain.com to /etc/hosts?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #26  
Old 15th July 2009, 16:31
kentor kentor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i added "75.101.163.xx ec2-75-101-163-xx.compute-1.amazonaws.com" to /etc/hosts and now this warning is gone:

domU-12-31-39-00-5D-07 postfix/smtpd[2641]: warning: 75.101.163.xx: address not listed for hostname ec2-75-101-163-24.compute-1.amazonaws.com

but this is still happening:

Jul 15 10:28:40 domU-12-31-39-00-5D-07 postfix/smtp[6233]: warning: host mail.mydomain.com[75.101.163.xx]:25 greeted me with my own hostname mydomain.com
Jul 15 10:28:40 domU-12-31-39-00-5D-07 postfix/smtp[6233]: warning: host mail.mydomain.com[75.101.163.xx]:25 replied to HELO/EHLO with my own hostname mydomain.com
Jul 15 10:28:40 domU-12-31-39-00-5D-07 postfix/smtp[6233]: B52E4F4283: to=<sales@mydomain.com>, relay=mail.mydomain.com[75.101.163.xx]:25, delay=0.13, delays=0.05/0.02/0.07/0, dsn=5.4.6, status=bounced (mail for mail.mydomain.com loops back to myself)


here is /etc/hosts
Quote:
127.0.0.1 localhost localhost.localdomain
75.101.163.24 ec2-75-101-163-xx.compute-1.amazonaws.com
75.101.163.24 mail.mydomain.com
here are the MySQL tables... maybe I made a mistake there..

mysql> select * from domains;
+-------------------+
| domain |
+-------------------+
| mydomain.com |
+-------------------+


mysql> select * from forwardings;
+------------------------+-------------------------+
| source | destination |
+------------------------+-------------------------+
| info@mydomain.com | sales@mydomain.com |
+------------------------+-------------------------+


mysql> select * from transport;
+-------------------+-----------------------------+
| domain | transport |
+-------------------+-----------------------------+
| mydomain.com | smtp:mail.mydomain.com |
+-------------------+-----------------------------+

mysql> select * from users;
+-------------------------+---------------+----------+
| email | password | quot a |
+-------------------------+---------------+----------+
| sales@mydomain.com | 4e3wiBPp/SJGk | 10485760|
+-------------------------+---------------+----------+

Last edited by kentor; 15th July 2009 at 20:31.
Reply With Quote
  #27  
Old 16th July 2009, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Try this:
Code:
postconf -e 'myhostname = mail.mydomain.com'
/etc/init.d/postfix restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #28  
Old 16th July 2009, 15:22
kentor kentor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

hmmm.. same exact error..

I thought maybe MX records are wrong but they also seem ok:

mail.mydomain.com A 75.101.xxx.xx 3600
mydomain.com MX mail.mydomain.com 10 3600

Also, I saw someone mentioned to look at /var/log/messages in one of the forums.. I see this:
Jul 16 10:37:08 collectd[22625]: uc_update: Value too old: name = i-a38ea4ca/df/df-mnt; value time = 1247755028; last cache update = 1247755028;

It's happening everything 10 seconds but I don't think it has anything to do with the mailing problem...

I really don't understand what is wrong


I even started a new installation from scratch on my ns2 server using this guide: http://wiki.centos.org/HowTos/postfix (no virtual domains) just to check if there is some strange problem with the server. I am able to receive email to user "john" and I can read it. Everything works.
I turned off ns2, made it into ns1. My postconf -n for that server is

Quote:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = mydomain.com
myhostname = mail.mydomain.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
btw I am trying to do the following setup: lets say i own mydomain.com and want to be able to send mail to @subdomain1.mydomain.com and @subdomain2.mydomain.com with virtual accounts... so far I was only testing @mydomain.com and that hasn't worked yet




ok i think im gonna give up on this setup. I was able to set it up without mysql in there so quickly using postfix.org's virtual readme page...

Last edited by kentor; 17th July 2009 at 16:18.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
external mail server and sending e-mails from a site problem dimas Server Operation 5 20th November 2008 20:59
What can be wrong martin_rudowicz Installation/Configuration 9 11th May 2008 19:42
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 11:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.