Find the answer to your Linux question:
Results 1 to 4 of 4
i have a mail server on Redhat 9.0 using sendmail. it's working fine but i want to implement smtp authentication on it. Do i have to recompile sendmail sendmail on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    29

    smtp authentication on sendmail ?


    i have a mail server on Redhat 9.0 using sendmail. it's working fine but i want to implement smtp authentication on it. Do i have to recompile sendmail sendmail on it. i am using the 8.12.8(default) version which comes with Redhat 9.0. plz help

    Thanx

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    RedHat 9 should have SMTP authentication setup already. From the machine in question run:

    telnet localhost 25

    It will then respond with an SMTP banner. Type:

    EHLO world

    And look for something that says something similar to:

    250- AUTH GSSAPI LOGIN PLAIN

    This shows that you have SMTP authentication setup and turned on.

    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    29

    smtp authentication in sendmail ?

    it doesn't show there the AUTH ..... keyword. what i have to do to enable it? it shows SASL and STARTTLS when i do sendmail -d0.

    Thanx

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    Edit /etc/mail/sendmail.mc and put the following at the bottom (but just before the MAILER lines):

    Code:
    TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
    define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
    Ensure to cut and paste that. There are `s and 's, so be careful. Then run:

    (cd /etc/mail && make sendmail.cf) &&
    /sbin/service sendmail restart

    Then repeat my post above, and you should see SMTP auth setup on there.

    Best,

    Samuel
    I respectfully decline the invitation to join your delusion.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •