Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th November 2005, 22:57
macwise macwise is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 9th November 2005, 23:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,213 Times in 4,088 Posts
Default

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?
Reply With Quote
  #3  
Old 9th November 2005, 23:31
macwise macwise is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4  
Old 10th November 2005, 00:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

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.
__________________
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
  #5  
Old 10th November 2005, 02:20
macwise macwise is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #6  
Old 10th November 2005, 02:24
macwise macwise is offline
Junior Member
 
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #7  
Old 10th November 2005, 09:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

I'd ask AOL's support team.
(BTW, I didn't know there are still people who use AOL... )
__________________
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
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
Connection timed out SeaWolf Installation/Configuration 13 13th October 2005 21:09


All times are GMT +2. The time now is 20:33.


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