euglug.org

[Eug-lug] Config Sendmail for Authentication

작성자

카테고리:



Garl GrigsbyMon Jul 26 09:10:03 PDT 2004

Jeff_W wrote:

>Has anyone here had to set up sendmail to authenticate to a remote
>SMTP server (i.e. local sendmail acts as client)? I *think* all I
>need to do here is find some way to pass the account:passwd to the
>remote server; as near as I can tell I probably need to install
>Cyrus-sasl and rebuild Sendmail to include SASL support. Maybe
>there is an easier way? Here's the current (failed) handshake:
>
> Connecting to smtp.myrealbox.com. via relay...
>220 smtp-send.myrealbox.com Novonyx SMTP ready $Revision:   3.89  $
>  
>
On Fedora, Sendmail is already setup to deal with authentication. You 
simply install Cyrus-sasl,  add your access info to the /etc/mail/access 
file, and restart sendmail. If your distro is not setup for this 
already, then you might want to take a look at 
http://www.sendmail.org/~ca/email/auth.html as it should have everything 
you need.

Garl