From owner-freebsd-questions Tue Jan 14 18:51:33 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0961C37B401 for ; Tue, 14 Jan 2003 18:51:31 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7121043F18 for ; Tue, 14 Jan 2003 18:51:30 -0800 (PST) (envelope-from deckenberg@dweebsoft.com) Received: from daxhome (daxhome.dweebsoft.com [192.168.10.10]) by ra.dweebsoft.com (8.12.3/8.12.5) with SMTP id h0F2pT18096693; Tue, 14 Jan 2003 18:51:30 -0800 (PST) (envelope-from deckenberg@dweebsoft.com) Message-ID: <01d401c2bc41$016249f0$0a0aa8c0@dweebsoft.com> From: "Dax Eckenberg" To: "Kenneth Tucker" , References: <97FECB58-282D-11D7-B30E-000393C22E4A@yahoo.com> Subject: Re: mail Date: Tue, 14 Jan 2003 18:51:29 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Kenneth Tucker" To: 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