From owner-freebsd-questions Mon Dec 6 4: 1:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 62E9214F80 for ; Mon, 6 Dec 1999 04:01:05 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11uwod-0007PY-00; Mon, 06 Dec 1999 14:00:27 +0200 From: Sheldon Hearn To: Marc Dodsworth Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail Question In-reply-to: Your message of "Mon, 06 Dec 1999 18:39:36 +1030." <99120618452101.01005@zen.dodsworth.org> Date: Mon, 06 Dec 1999 14:00:27 +0200 Message-ID: <28491.944481627@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 06 Dec 1999 18:39:36 +1030, Marc Dodsworth wrote: > My question is - what program do I use so I can sent mail out via > elm rathen than going back to a gui mail program. Can Sendmall be > configured to handle this? Sure, sendmail just needs to be told the hostname of a smart relay host to hand over outbound mail to. As a quick and dirty hack, you can set this by tacking the hostname on to the end of the DS line in /etc/sendmail.cf. For example: DSsmtp.myisp.com You may also want sendmail to masquerade so that outbound mail goes out with the "correct" domain name. Personally, I think that's a hack and your MUA should take responsibility for creating a reasonable From field. If you disagree with me, you can do something like this: # who I masquerade as (null for no masquerading) DMmyisp.com Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message