euglug.org

[Eug-lug] Config Sendmail for Authentication

작성자

카테고리:



Jeff_WMon Jul 26 05:53:02 PDT 2004

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  $
>>> EHLO my.local.box
250-smtp-send.myrealbox.com Pleased to meet you
250-ETRN
250-STARTTLS
250-AUTH LOGIN
250-AUTH=LOGIN
250-HELP
250-EXPN
250-PIPELINING
250-8BITMIME
250-DSN
250 SIZE 10485760
>>> STARTTLS
220 Ready to start TLS
>>> EHLO my.local.box
250-smtp-send.myrealbox.com Pleased to meet you
250-ETRN
250-AUTH LOGIN
250-AUTH=LOGIN
250-HELP
250-EXPN
250-PIPELINING
250-8BITMIME
250-DSN
250 SIZE 10485760
>>> MAIL From:<******@myrealbox.com> SIZE=405
250 Sender OK
>>> RCPT To:<******@freeshell.org>
571 Remote sending only allowed with authentication!
>>> RSET
250 OK
/home/beaker/dead.letter... Saved message in ~/dead.letter
Closing connection to smtp.myrealbox.com.
>>> QUIT