Re: Configuring FreeBSD 6.2 to use sendmail for sending only



On 2007-08-30 17:01, L Goodwin <xrayv19@xxxxxxxxx> wrote:
--- Chuck Swiger <cswiger@xxxxxxx> 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

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: configuring dial-up for extreme novices (i.e. Mom).
    ... I'm going to use userland ppp and postfix. ... > your Mom a script to run which will start fetchmail, ... Then have commands in script to kill fetchmail and user ... sudo /usr/sbin/ppp -quiet -background myisp ...
    (freebsd-questions)
  • Re: [SLE] suse pro 9.1 postfix second instance startup script
    ... >> What I need assistance on is creating a working startup script for the ... I have tried to copy the existing postfix startup ... >> startup script for the second instance of postfix? ...
    (SuSE)
  • problems with a C script, exiting with signal 10
    ... However, the problem is that I've tried to debug my script but found nothing wrong at all, cause it only fails from time to time, let's say... ... once for each 2000 messages that postfix receives, and it appears to do so in a random way. ... Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow is preventing this filter from generating a core file. ...
    (freebsd-questions)
  • [Solved] Long cronjobs terminate after 2 minutes/Ubuntu 8.10
    ... When I run the script in the foreground, it takes about 2 hours to ... Have you got your system set up so that cron sends mail to ... I configured Postfix for local mail only and updated ... I'm assuming that configuring the MTA is what did it. ...
    (Ubuntu)
  • Re: Configuring FreeBSD 6.2 to use sendmail for sending only
    ... I'd prefer to have the script handle the ... Both Sendmail and Postfix ... Chuck), can do this and a lot more. ... freebsd-questions@xxxxxxxxxxx mailing list ...
    (freebsd-questions)