GetWiredNet

Member
Oct 24, 2003
16
0
151
POP Before SMTP fails after time. To fix the issue I have to reboot the server and then it may work for up to a week or just a day. I submitted a ticket 154994 but have not been contacted yet. Anyone know what mite be going on? SMTP authentication works fine but I guess Mac mail does not have this feature so may of my customers can't send mail out...

WHM 10.8.0 cPanel 10.8.2-S120 Fedora Core 1 - i686 - WHM X v3.1.0 with Exim 4

Jeff
 

mgdoyle

Member
PartnerNOC
Apr 24, 2004
22
0
151
Check /etc/relayhosts and /etc/relayhostsusers for the IP that is unable to relay after a POP login. What happens is that /var/log/maillog is parsed for the IP/username and that is added to those files. If it's not in the relayhosts files, check for a valid POP login in /var/log/maillog.

I'd bet $10 that you will find /var/log/maillog empty, and that the valid POP logins are going to /var/log/maillog.1 or greater. If that is the case, you will want to check for some issue with logrotate, perhaps. Logrotate will fail without modifications if /tmp is mounted noexec.
 

GetWiredNet

Member
Oct 24, 2003
16
0
151
my /var/log/maillog is 3mb and has entries from today in it. The server will let people send to local users but not anyone else.... But my log rotate files are not getting rotated so you mite be close here.
 

GetWiredNet

Member
Oct 24, 2003
16
0
151
there are many IPs but not his, when I look at /var/log/exim_mainlog I see "2006-10-10 20:40:01 H=REMOVED ([192.168.1.100]) [REMOVED-IP] F=<[email protected]> rejected RCPT <[email protected]>: REMOVED ([192.168.1.100]) [REMOVED-IP] is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.
 

mgdoyle

Member
PartnerNOC
Apr 24, 2004
22
0
151
Find one of those entries in exim_mainlog that shows his relay attempt being rejected. Look back 30 minutes in /var/log/maillog for a successful POP login from that same IP address. If it's not there, then that is the issue. If it *is* there, then it seems that Exim is failing to parse that correctly and allow the relaying.