On 22 Mar 2003, gregory mott wrote: > how do i send outgoing mail using SMTP AUTH? > > and no, not just from an interactive client, but from programs, eg a > script that mails me the new ip address the machine has connected at. > > in my perusals of sendmail and postfix docs i only found mention of > incoming or relaying ASMTP, but not how to send to it. > > (my dsl service gives me a dynamic ip and does not provide outgoing > smtp, so i need to send mail via some other service, eg earthlink, that > requires SMTP AUTH.)
First, I suggest you check out the step by step at linux-sxs.org for setting up sendmail authentication. Second, what you want to do varies depending on the version of sendmail you're using. If you are using the latest sendmail you will need to add a line in the sendmail access database with a user name, authorization id (usually the same as the user id), password, and server to connect to. If you're using an older version of sendmail (like what shipped with 7.3) then this data is in a separate file that defaults to DefaultAuthInfo. Read /usr/share/doc/sendmail*/README.cf. -- Gerry "The lyfe so short, the craft so long to learne" Chaucer -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list