Index: [Article Count Order] [Thread]

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

 

> -----Original Message-----
> From: Larry Smith [mailto:lesmith (at mark) ecsis.net] 
> Sent: 25 June 2006 14:46
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:05863] Re: Authenticated SMTP
> 
> 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
> 
Hi Larry,

Thakns for the input.

Checked all that without any joy, but then Elmer suggested updating to
the latest test repo (not sure about using cutting edge, but this is a
non-essential server) and hey presto, started working ;)

Colin