HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix queueing messages suddenly, connection timed out. (http://www.howtoforge.com/forums/showthread.php?t=1198)

macwise 9th November 2005 22:57

Postfix queueing messages suddenly, connection timed out.
 
I am having a problem with my postfix server. It was working fine, but
suddenly the emails that are supposed to automatically be sent from one
of my PHP sites are showing connection timed out. Here is the tail of
my /var/log/maillog/. Below that under the lines is a portion of the
mailq results.

Nov 9 13:16:11 localhost ipop3d[13087]: Logout user=spamkiller
host=ip68-6-XX-XXX.sb.sd.cox.net [68-6-XX-XXX] nmsgs=0 ndele=0
Nov 9 13:16:11 localhost ipop3d[13086]: Logout user=ME
host=ip68-6-XX-XXX.sb.sd.cox.net [68-6-XX-XXX] nmsgs=98 ndele=0
Nov 9 13:16:23 localhost postfix/pickup[12930]: 83061461D33: uid=99
from=<nobody>
Nov 9 13:16:23 localhost postfix/cleanup[12936]: 83061461D33:
message-id=<20051109211623.83061461...@mail.mydomain.com>
Nov 9 13:16:23 localhost postfix/nqmgr[12931]: 83061461D33:
from=<nob...@mydomain.com>, size=1433, nrcpt=1 (queue active)
Nov 9 13:16:23 localhost postfix/pickup[12930]: 8A10C461D42: uid=99
from=<nobody>
Nov 9 13:16:23 localhost postfix/cleanup[12936]: 8A10C461D42:
message-id=<20051109211623.8A10C461...@mail.mydomain.com>
Nov 9 13:16:23 localhost postfix/nqmgr[12931]: 8A10C461D42:
from=<nob...@mydomain.com>, size=1441, nrcpt=1 (queue active)
Nov 9 13:16:23 localhost postfix/trivial-rewrite[13091]: warning: do
not list domain mydomain.com in BOTH mydestination and
virtual_alias_domains
Nov 9 13:16:23 localhost postfix/local[12938]: 8A10C461D42:
to=<myem...@mydomain.com>, orig_to=<newaccou...@myotherdomain.com>,
relay=local, delay=0, status=sent (mailbox)

--------------------------------------------------------------------------- ----------------------------------------------------------
mailq entry:
--------------------------------------------------------------------------- ----------------------------------------------------------

A9FB8461D35 1434 Sun Nov 6 20:29:34 nob...@mydomain.com
(connect to mx4.mail.yahoo.com[68.142.202.11]: Connection
timed out)
xxx...@yahoo.com

939D4461D38 1457 Tue Nov 8 19:34:15 nob...@mydomain.com
(connect to mx3.hotmail.com[64.4.50.239]: Connection
timed out)
xxx...@hotmail.com

9E36F461D3E 1433 Tue Nov 8 23:15:26 nob...@mydomain.com
(connect to gsmtp83.google.com[66.249.83.27]: Connection
timed out)
xxx...@gmail.com

I cannot seem to find where the problem is. I tried setting the
disable_dns_lookup=no, but this didn't help. I don't know where else
to look to resolve this issue. BTW, when I telnet to these ip
addresses from my box, I am able to connect just fine. Port 25 isn't
blocked by the ISP. :eek:

till 9th November 2005 23:27

Quote:

Nov 9 13:16:23 localhost postfix/trivial-rewrite[13091]: warning: do
not list domain mydomain.com in BOTH mydestination and
virtual_alias_domains
Have you tried to remove mydomain.com from virtual_alias_domains? Did you get the email problem with all PHP scripts or only with one special script?

macwise 9th November 2005 23:31

Which file should I modify to remove mydomain.com from the virtual_alias_domains, and how should the line read when I modify it?

Is this the virtual file that I need to modify?

falko 10th November 2005 00:16

Quote:

Originally Posted by macwise
Which file should I modify to remove mydomain.com from the virtual_alias_domains, and how should the line read when I modify it?

It's the file /etc/postfix/main.cf.

macwise 10th November 2005 02:20

got it figured out
 
Thanks for your help, everybody. The problem was that I had changed mail to port 26 in /etc/services about 2 weeks ago. I did this in an attempt to be able to move the box to my house, as I am on cable internet. It ended up not working (for obvious reasons I didn't know before), but I didn't change back the file when I took the box to another friends house. I am not sure why it started acting up all of the sudden this week, as it has been well over two weeks, without any incident. Thanks for all of your help. :cool:

macwise 10th November 2005 02:24

one more thing
 
I forgot to mention that when I changed back to port 25, restarted apache, and flushed the queue, everything cleared out real fast, except for one email. Any guesses who it was going to? Right, AOL. I guess they blocked my server due to non-protocol connection attempts to port 26. hehe. Any ideas how I might get them to relinquish this title of hoodlum that they have so graciously bestowed upon me? Or am I to be blessed with this title forevermore?

Thanks again for your responses.

falko 10th November 2005 09:14

I'd ask AOL's support team. :)
(BTW, I didn't know there are still people who use AOL... :D )


All times are GMT +2. The time now is 18:34.

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