It's been a while since I set up my mail server (thanks to
help from
people here) and it's been having problems lately. Specifically, problems being able to send mail using the squirrelmail (a php-based webmail client). The errors usually look like this:
Code:
Message not sent. Server replied:
Requested mail action not taken: mailbox unavailable
450 4.1.1 <someone@mail.domain.edu>: Recipient address rejected: unverified address: connect to mailgate.cc.domain.edu[111.111.111.15]: Connection timed out
At first I thought this was due to a problem on the remote server but now I'm not so sure. The mail setup on my machine is basically:
*
Perfect Setup CentOS 5
* Postfix/Dovecot/AmavisD/Spamassassin
* Squirrelmail
I don't know exactly how it works, but the setup basically has your server send mail to itself as a proxy and then scan everything, blah blah.
It was working great for about a year but squirrelmail started acting up recently. Interestingly, I can still send mail just fine using Thunderbird from my desktop. It would appear that Squirrelmail is having problems when it tries to contact the mail stack because it is eventually timing out. I ran the squirrelmail conf.pl script and it doesn't appear to have any settings that are related to timeouts.
I did a grep of the maillog and found these:
Code:
Jun 2 12:30:11 nameserver postfix/smtpd[4022]: NOQUEUE: reject: RCPT from spamserver.example.com[127.0.0.1]: 450 4.1.1 <some_guy@mail.somedomain.edu>: Recipient address rejected: unverified address: connect to mailgate.cc.somedomain.edu[111.111.111.15]: Connection timed out; from=<kathy@mydomain.com> to=<some_guy@mail.somedomain.edu> proto=ESMTP helo=<www.mydomain.com>
Jun 2 12:34:18 nameserver postfix/smtpd[3355]: NOQUEUE: reject: RCPT from spamserver.example.com[127.0.0.1]: 450 4.1.1 <some_guy@mail.somedomain.edu>: Recipient address rejected: unverified address: connect to mailgate.cc.somedomain.edu[111.111.111.15]: Connection timed out; from=<kathy@mydomain.com> to=<some_guy@mail.somedomain.edu> proto=ESMTP helo=<www.mydomain.com>
Jun 2 15:23:40 nameserver postfix/smtpd[15071]: NOQUEUE: reject: RCPT from spamserver.example.com[127.0.0.1]: 450 4.1.1 <some_guy@mail.somedomain.edu>: Recipient address rejected: unverified address: connect to mailgate.cc.somedomain.edu[111.111.111.15]: Connection timed out; from=<jason@mydomain.com> to=<some_guy@mail.somedomain.edu> proto=ESMTP helo=<mydomain.com>
I'm thinking now that squirrelmail's connection to postfix is timing out due to load on my server perhaps? Also, it doesn't seem consistent. I was just able to send thru squirrelmail as I was trying to reproduce the errors.
Any help troubleshooting this would be *much* appreciated.