Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    11

    Default Changes to SMTP Authentication

    Over the last two weeks, I have had several customers who suddenly could no longer send e-mail. The first wave came all in one day - October 23. At first I thought it was a Comcast problem because all the complaints, except one, came from Comcast customers. Since then, I have had others who have had issues who were not Comcast customers.

    In all cases, instructing the user to use authentication with a username and password fixed the problem. It still bugs me though. I hate not knowing is going on, and I hate not being able to give my customers a definitive answer.

    I know that the stock answer is that authentication is required, but i think a lot of people who POP before sending mail don't explicitly turn it on.

    So what changed? Does anyone know?

    --Bruce

  2. #2
    Member
    Join Date
    May 2003
    Posts
    36

    Default

    First question to ask here would be:
    Do you have "Include a list of Pop before SMTP senders in the X-PopBeforeSMTP header when relaying mail" checked on the "Tweak Settings" page in WHM?

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    That setting should not affect the ability to authenticate - you shouldn't really enable that option unless you're debugging something.

    Just as a recap, there are two types of SMTP relay authentication on cPanel servers:

    1. SMTP AUTH where the client uses their cPanel account username and password in their email client to authenticate as they relay email through the server

    2. POP Before SMTP where a client must POP their email account within 30 minutes of trying to relay email through the SMTP server

    The POP Before SMTP process is controlled by the antirelayd process that runs when you (re)start exim. So, the first check is to make sure it's running OK:

    service exim restart

    If antirelayd doesn't or wasn't running, ensure that both tick boxes for it are enabled in WHM > Service Manager

    Secondly, the antirelayd process detects the POP logins by tracking the information shown in /var/log/maillog, so you need to ensure that that file is actively being updated with the POP logins. If it isn't, then you're probably suffering from the /tmp noexec bug in logrotate:
    http://www.configserver.com/techfaq/index.php?faqid=38

    If that's the problem, restart syslog:

    service syslog restart

    That ought to cover all aspects of SMTP relay authentication for email clients.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    May 2003
    Posts
    36

    Default

    My mistake then, I thought that it both enabled and included the header as indicated.

    That of course leads to the question: How does one disable SMTP authentication based on POP authentication?

  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    If you want to disable POP before SMTP, unselect the boxes for antirelayd in WHM > Service Manager and then restart exim.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Smtp authentication
    By TheJokerReturns in forum E-mail Discussions
    Replies: 1
    Last Post: 07-30-2008, 05:21 AM
  2. SMTP Authentication
    By larryl in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-19-2007, 01:31 PM
  3. SMTP Authentication
    By speedy in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-15-2006, 07:46 PM
  4. SMTP authentication
    By nozom in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-21-2005, 05:37 PM
  5. SMTP Authentication
    By sergio2004 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-10-2005, 01:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube