Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    BWS
    BWS is offline
    Member
    Join Date
    Nov 2003
    Posts
    35

    Default Turn off SMTP Auth Selectively

    Hi,

    I have one user that needs to access email for a short period of time without SMTP Auth. I'm obviously not going to switch SMTP Auth off server wide, is there any way of allowing this user to send mail without it?

    (They won't have a static IP either )

    Any wise ideas?

  2. #2
    BWS
    BWS is offline
    Member
    Join Date
    Nov 2003
    Posts
    35

    Default

    Anybody have any wise ideas?

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    it would be better if you'd tell us what exactly your client wants to do.

    SMTP works without SMTP auth, he just has to login from the ip he's using at the moment to a pop3 account on your server, and he's alowed to send emails without smtp auth for 30 minutes.

    Does that help?

  4. #4
    BWS
    BWS is offline
    Member
    Join Date
    Nov 2003
    Posts
    35

    Default

    Nope... I'm setup without POP Before SMTP (which is the functionality you're describing) if I could enable this for just one account, that would be what I need.

  5. #5
    Member
    Join Date
    Feb 2005
    Location
    North Carolina
    Posts
    237

    Default

    Quote Originally Posted by BWS
    Nope... I'm setup without POP Before SMTP (which is the functionality you're describing) if I could enable this for just one account, that would be what I need.
    No guarantees, but the following might get you closer ...

    When you are using POP Before SMTP, exim writes your IP address in /etc/relayhosts and your email address into /etc/relayhostsusers when you first POP (i.e. check) mail. The info stays in these files for 30 minutes (controlled by a setting in /usr/sbin/antirelayd). If, during that period, you were to "uncheck" the "My outgoing mail server requires authentication" from your email client, and try to send mail through the server, it would go through as you were already "authenticated" when you checked mail (this is in essence pop before SMTP authentication).

    SO ... take a look in /etc/relayhosts and /etc/relayhostsusers (which should be blank if you have POP Before SMTP disabled). You might create a test email account and enter the address in /etc/relayhostsusers and see if it works w/o having a corresponding IP address. No guarantees, but it could be a start. I'm sure you understand the security implications of doing this, especially if you've got your system setup not to purge these files.

    Hope this helps -

Similar Threads & Tags
Similar threads

  1. Unable to authenticate to SMTP server - smtp-auth
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-21-2010, 02:49 AM
  2. Replies: 5
    Last Post: 09-23-2008, 05:30 PM
  3. Smtp Auth
    By igorfelluga in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-29-2008, 08:06 AM
  4. smtp auth
    By ntwaddel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-25-2005, 12:34 AM
  5. smtp auth
    By ntwaddel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-02-2005, 05:31 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube