Configuring FreeBSD 6.2 to use sendmail for sending only
keramida at ceid.upatras.gr
Thu Aug 30 17:44:03 PDT 2007
On 2007-08-30 17:01, L Goodwin <xrayv19 at yahoo.com> wrote:
>--- Chuck Swiger <cswiger at mac.com> wrote:
>> Please see the fine Handbook:
>> 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!
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?
More information about the freebsd-questions