The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

POP Before SMTP fails

Discussion in 'E-mail Discussions' started by GetWiredNet, Sep 19, 2006.

  1. GetWiredNet

    GetWiredNet Member

    Joined:
    Oct 24, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. mgdoyle

    mgdoyle Member
    PartnerNOC

    Joined:
    Apr 24, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  3. dlennon

    dlennon Member
    PartnerNOC

    Joined:
    May 17, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Has anyone confirmed this? cpanel tech maybe...

    -Damian
     
  4. GetWiredNet

    GetWiredNet Member

    Joined:
    Oct 24, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  5. mgdoyle

    mgdoyle Member
    PartnerNOC

    Joined:
    Apr 24, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Did you check /etc/relayhosts and /etc/relayhostsusers ?
     
  6. GetWiredNet

    GetWiredNet Member

    Joined:
    Oct 24, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    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=<jack@REMOVED> rejected RCPT <an682685@REMOVED>: 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.
     
  7. mgdoyle

    mgdoyle Member
    PartnerNOC

    Joined:
    Apr 24, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page