Index: [Article Count Order] [Thread]

Date:  Sun, 25 Jun 2006 13:49:51 +0100
From:  "Colin Jack" <colin (at mark) mainline.co.uk>
Subject:  [coba-e:05862] Re: Authenticated SMTP
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <F07DD4D0940AFF41A207BE85479D2AFF180E71 (at mark) server.mainline.local>
X-Mail-Count: 05862

 
> 
> I thought I had configured my servers to use authsmtp by 
> 
> 1. following Brian's instructions
> http://www.nuonce.net/support/viewthread.php?tid=622 quote:
> 
> By using this script, SMTP-Auth "should" work for you;
> 
> /usr/bin/perl -pi -e "if ( /confAUTH_MECHANISMS/ ) { s/^dnl //; }"
> /etc/mail/sendmail.mc /usr/bin/perl -pi -e "s/MECH=shadow/MECH=pam/"
> /etc/rc.d/init.d/saslauthd /sbin/chkconfig --add saslauthd 
> /sbin/chkconfig saslauthd on
> 
> service sendmail restart
> service saslauthd start
> 
> 2. Set client to log in using same login/passwd as for pop3 account
> 
> 
> .... but it doesn't work.
> 
> Has anybody got this working? If so I would appreciate some 
> help on this one.
> 
> Thanks
> 
> Colin

Bit more info:

The sendmail.cf looks fine

O AuthMechanisms=EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN

# Authentication realm
#O AuthRealm

# default authentication information for outgoing connections
#O DefaultAuthInfo=/etc/mail/default-auth-info

# SMTP AUTH flags
O AuthOptions=A

# SMTP AUTH maximum encryption strength
#O AuthMaxBits

and saslauthd

MECH=pam

Anybody able to help?

Colin