Date: Fri, 31 Aug 2007 03:43:19 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: L Goodwin <xrayv19@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Configuring FreeBSD 6.2 to use sendmail for sending only Message-ID: <20070831004319.GA91203@kobe.laptop> In-Reply-To: <551986.10942.qm@web58113.mail.re3.yahoo.com> References: <B5C8AD63-103A-4813-992B-2083ECE8677C@mac.com> <551986.10942.qm@web58113.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-08-30 17:01, L Goodwin <xrayv19@yahoo.com> wrote: >--- Chuck Swiger <cswiger@mac.com> wrote: >> Please see the fine Handbook: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html >> >> Although, it is entirely reasonable to consider >> using Postfix instead. > > Chuck, I'd prefer to have the script handle the mailing so I can test > the script (with email send) manually, independent of cron. > > Still looking for specifics on setting this up and a bourne shell > script example that sends an email. Thanks! Hmmm, why? A specialized MTA which does only one thing (send outgoing email), comforms to SMTP-related standards, supports authentication mechanisms, and more importantly does _only_ this job and does it _correctly_ is always going to be better than a local 'hack', like a script. Both Sendmail (part of the base system) and Postfix (suggested by Chuck), can do this and a lot more. Why do you have to "send mail with a bourne shell script", but _avoid_ the tools and practices supported by the system already? - Giorgos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070831004319.GA91203>