Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I am having problems getting my server to relay through exchange 2010. I have googled and researched everywhere. Code: Here is my sendmail authinfo file AuthInfo:nshmail.nfib.org "U:linuxrelay@nfib" "I:linuxrelay@nfib" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    97

    [SOLVED] Sendmail Temporary auth failure


    Hello everyone, I am having problems getting my server to relay through exchange 2010. I have googled and researched everywhere.

    Code:
    Here is my sendmail authinfo file
    AuthInfo:nshmail.nfib.org "U:linuxrelay@nfib" "I:linuxrelay@nfib" "P:<not posting>" "M:PLAIN"
    
    Here is my send mail file
    define(`SMART_HOST', `nshmail.nfib.org')dnl
    TRUST_AUTH_MECH(`DIGEST-MD5 PLAIN LOGIN')dnl
    FEATURE(`authinfo')dnl
    define(`confAUTH_MECHANISMS', `DIGEST-MD5 PLAIN LOGIN')dnl
    
    also here is my sasl installed modules
    cyrus-sasl-lib-2.1.22-7.el5_8.1
    cyrus-sasl-2.1.22-7.el5_8.1
    cyrus-sasl-md5-2.1.22-7.el5_8.1
    cyrus-sasl-plain-2.1.22-7.el5_8.1
    the output I get from /var/mail/maillog is
    Code:
    Nov  9 10:48:01 prodora12 sendmail[20702]: STARTTLS=client, relay=nshmail.nfib.org., version=TLSv1/SSLv3, verify=FAIL, cipher=AES128-SHA, bits=128/128
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9GF1eZ018579: AUTH=client, available mechanisms do not fulfill requirements
    Nov  9 10:48:01 prodora12 sendmail[20702]: AUTH=client, relay=nshmail.nfib.org., temporary failure, connection abort
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9GF1eZ018579: to=logs@nfib.org, ctladdr=<root@prodora12.nfib.msft> (0/0), delay=00:33:00, xdelay=00:00:00, mailer=relay, pri=120888, relay=nshmail.nfib.org. [10.1.20.235], dsn=4.0.0, stat=Deferred: Temporary AUTH failure
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9GAjQT018286: to=<bsdtux@gmail.com>, ctladdr=<root@prodora12.nfib.msft> (0/0), delay=00:37:16, xdelay=00:00:00, mailer=relay, pri=300345, relay=nshmail.nfib.org., dsn=4.0.0, stat=Deferred
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9FvmHE017298: to=<bsdtux@gmail.com>, ctladdr=<root@prodora12.nfib.msft> (0/0), delay=00:50:13, xdelay=00:00:00, mailer=relay, pri=570344, relay=nshmail.nfib.org., dsn=4.0.0, stat=Deferred
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9FrEMx017185: to=<bsdtux@gmail.com>, ctladdr=<root@prodora12.nfib.msft> (0/0), delay=00:54:47, xdelay=00:00:00, mailer=relay, pri=660345, relay=nshmail.nfib.org., dsn=4.0.0, stat=Deferred
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA9FmMwc017108: to=<bsdtux@gmail.com>, ctladdr=<root@prodora12.nfib.msft> (0/0), delay=00:59:39, xdelay=00:00:00, mailer=relay, pri=750345, relay=nshmail.nfib.org., dsn=4.0.0, stat=Deferred
    Nov  9 10:48:01 prodora12 sendmail[20702]: rA6I1MQ7015719: to=<kvislay@cox.net>, delay=2+22:46:38, xdelay=00:00:00, mailer=relay, pri=7150886, relay=nshmail.nfib.org., dsn=4.0.0, stat=Deferred
    At this point I am completely lost. Everything I have read says that this is normally caused by cyrsus-sasl-plain is not installed. but as you can see it is.
    Last edited by bsdtux; 11-09-2013 at 04:04 PM. Reason: Marking as solved.

  2. #2
    Just Joined!
    Join Date
    Sep 2012
    Location
    Nashville, TN
    Posts
    97
    Well I figured it out. I made two changes so I am not sure which one was the cause but here they are.

    in the sendmail.mc file I added
    External and CRAM-MD5 to TRUST_AUTH_MECH and confAUTH_MECHANISMS

    and

    in the authinfo I removed "M: PLAIN"

    saved the files
    then
    Code:
    m4 sendmail.mc > sendmail.cf
    makemap hash authinfo < authinfo
    service sendmail restart

Posting Permissions

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