----- Original Message ----- From: "Kenneth Tucker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 14, 2003 6:03 PM Subject: Re: mail
> interesting but... > > % mail -v [EMAIL PROTECTED] > Subject: sweet > Yes! > . > EOT > [EMAIL PROTECTED] Connecting to localhost via relay... > [EMAIL PROTECTED] Deferred: Connection refused by localhost > % > sendmail/mail/mailx is looking to use the localhost as a relay. e.g. (127.0.0.1:25) You're obviously not running sendmail in daemon mode, or you've somehow blocked access. You could start sendmail in deamon mode... but this seems like the "hard" way to go about it: ( a better option would be to configure mail/mailx to use a remote relay instead of the default local relay. I'm not certain how this is done... I'll look into it, but maybe someone else on this list does? ) 1) Determine what your mail relay should be. (e.g. smtp.someisp.net) 2) edit /etc/mail/sendmail.cf change # "Smart" relay host (may be null) DS to # "Smart" relay host (may be null) DSsmtp.someisp.net change O DaemonPortOptions=Family=inet, address=0.0.0.0, Name=MTA to O DaemonPortOptions=Family=inet, address=127.0.0.1, Name=MTA change O DaemonPortOptions=Family=inet, address=0.0.0.0, Port=587, Name=MSA, M=E to O DaemonPortOptions=Family=inet, address=127.0.0.1, Port=587, Name=MSA, M=E 3) start sendmail # /usr/sbin/sendmail -bd -q10 this will have sendmail running on your host, but it will only be bound to the loopback interface, which avoids your host being used as an open relay by others. 4) enable sendmail to start at boot. (not sure how with Darwin) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message