Re: Configuring FreeBSD 6.2 to use sendmail for sending only




--- Giorgos Keramidas <keramida@xxxxxxxxxxxxxxx>
wrote:

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

Um... I just want to pass an email message (complete
with From, To, Subject and message body) to a mail
handler (sendmail), as I stated in the original post.

Anyway, Chuck kindly provided sample code. The only
thing I'd like to do differently is to not use a temp
file to store the message. Otherwise, I'm happy.


____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7

_______________________________________________
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 FreeBSD 6.2 to use sendmail for sending only
    ... I'd prefer to have the script handle the mailing so I can test ... Both Sendmail and Postfix (suggested by ... Chuck), can do this and a lot more. ...
    (freebsd-questions)
  • Re: waky waky
    ... >>>Chuck, Got the help? ... >>>indicated and renamed the file .cmd. ... >>>see how you incorporate the script with wolcmd.exe. ... I used port 8900 cuz I can't see any ...
    (microsoft.public.windowsxp.network_web)
  • 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: waky waky
    ... >>> Jim, ... >>Chuck, Got the help? ... >>see how you incorporate the script with wolcmd.exe. ... I have target rig set to wake on magic packet but no waky ...
    (microsoft.public.windowsxp.network_web)
  • 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)