On Sunday 25 June 2006 07:49, Colin Jack wrote:
> > 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
Hmmm, did you make sure that saslauthd is started and running (or restarted if
already up when you changed it to use pam)???
I did this here and it worked right off. What errors (if any) are you seeing
in the maillogs??? Can you connect on port 587 at all ???
(run netstat -an | less and see if you server is listening on port 587).
--
Larry Smith
SysAd ECSIS.NET
sysad (at mark) ecsis.net