Date: Tue, 14 Jan 2003 18:51:29 -0800 From: "Dax Eckenberg" <deckenberg@dweebsoft.com> To: "Kenneth Tucker" <kennethtucker@yahoo.com>, <FreeBSD-Questions@FreeBSD.ORG> Subject: Re: mail Message-ID: <01d401c2bc41$016249f0$0a0aa8c0@dweebsoft.com> References: <97FECB58-282D-11D7-B30E-000393C22E4A@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Kenneth Tucker" <kennethtucker@yahoo.com> To: <FreeBSD-Questions@FreeBSD.ORG> Sent: Tuesday, January 14, 2003 6:03 PM Subject: Re: mail > interesting but... > > % mail -v kennethtucker@yahoo.com > Subject: sweet > Yes! > . > EOT > kennethtucker@yahoo.com... Connecting to localhost via relay... > kennethtucker@yahoo.com... 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d401c2bc41$016249f0$0a0aa8c0>