Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread L Goodwin
--- Chuck Swiger <[EMAIL PROTECTED]> wrote: > On Aug 30, 2007, at 6:14 PM, L Goodwin wrote: > [ ... ] > > Should I be calling "mail" or "sendmail", and > which > > mail or sendmail should I invoke if there is more > than > > one of either? Chuck's example calls sendmail in > a > > path that does

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread L Goodwin
--- Ian Smith <[EMAIL PROTECTED]> wrote: > On Thu, 30 Aug 2007 18:14:55 -0700 (PDT) L Goodwin > <[EMAIL PROTECTED]> wrote: > > > --- Derek Ragona <[EMAIL PROTECTED]> > wrote: > > [ slashing mercilessly ] > > > > >--- Chuck Swiger <[EMAIL PROTECTED]> wrote: > [..] > > > > > Although, it is

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread L Goodwin
--- Bill Moran <[EMAIL PROTECTED]> wrote: > In response to L Goodwin <[EMAIL PROTECTED]>: > > > > --- Bill Moran <[EMAIL PROTECTED]> wrote: > > > > > L Goodwin <[EMAIL PROTECTED]> wrote: > > > > > > > > Chuck, I'd prefer to have the script handle > the > > > > mailing so I can test the script

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Chuck Swiger
On Aug 30, 2007, at 6:14 PM, L Goodwin wrote: [ ... ] Should I be calling "mail" or "sendmail", and which mail or sendmail should I invoke if there is more than one of either? Chuck's example calls sendmail in a path that does not exist on my system (my sendmail is in /usr/sbin/). I usually invo

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Ian Smith
On Thu, 30 Aug 2007 18:14:55 -0700 (PDT) L Goodwin <[EMAIL PROTECTED]> wrote: > --- Derek Ragona <[EMAIL PROTECTED]> wrote: [ slashing mercilessly ] > > >--- Chuck Swiger <[EMAIL PROTECTED]> wrote: [..] > > > > Although, it is entirely reasonable to consider > > > > using Postfix instead.

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Bill Moran
In response to L Goodwin <[EMAIL PROTECTED]>: > > --- Bill Moran <[EMAIL PROTECTED]> wrote: > > > L Goodwin <[EMAIL PROTECTED]> wrote: > > > > > > Chuck, I'd prefer to have the script handle the > > > mailing so I can test the script (with email > > send) > > > manually, independent of cron. > >

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Derek Ragona
At 08:14 PM 8/30/2007, L Goodwin wrote: --- Derek Ragona <[EMAIL PROTECTED]> wrote: > At 07:01 PM 8/30/2007, L Goodwin wrote: > >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 spec

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-31 Thread Giorgos Keramidas
On 2007-08-30 18:03, L Goodwin <[EMAIL PROTECTED]> wrote: > 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 d

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Rob
L Goodwin wrote: What specific steps (including network-specific) need to be performed to get sendmail working for outgoing mail only in a secure manner? I suggest ssmtp in the ports: ports/mail/ssmtp Or it's web site: http://packages.debian.org/testing/mail/ssmtp.html "A secure, effective

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread L Goodwin
--- Derek Ragona <[EMAIL PROTECTED]> wrote: > At 07:01 PM 8/30/2007, L Goodwin wrote: > >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

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread L Goodwin
--- Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2007-08-30 17:01, L Goodwin <[EMAIL PROTECTED]> > wrote: > >--- Chuck Swiger <[EMAIL PROTECTED]> wrote: > >> Please see the fine Handbook: > >> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html > >> > >> Although, it is ent

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Derek Ragona
At 07:01 PM 8/30/2007, L Goodwin wrote: 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! --- Chuck Swig

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread L Goodwin
--- Bill Moran <[EMAIL PROTECTED]> wrote: > L Goodwin <[EMAIL PROTECTED]> wrote: > > > > Chuck, I'd prefer to have the script handle the > > mailing so I can test the script (with email > send) > > manually, independent of cron. > > Why? What is your reason for overcomplicating this > task by

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Giorgos Keramidas
On 2007-08-30 17:01, L Goodwin <[EMAIL PROTECTED]> wrote: >--- Chuck Swiger <[EMAIL PROTECTED]> 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

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Bill Moran
L Goodwin <[EMAIL PROTECTED]> wrote: > > Chuck, I'd prefer to have the script handle the > mailing so I can test the script (with email send) > manually, independent of cron. Why? What is your reason for overcomplicating this task by refusing to use the facilities built into the system? > Still

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread L Goodwin
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! --- Chuck Swiger <[EMAIL PROTECTED]> wrote: > On Aug 30

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Chuck Swiger
On Aug 30, 2007, at 5:01 PM, L Goodwin wrote: 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! I just

Re: Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread Chuck Swiger
On Aug 30, 2007, at 3:12 PM, L Goodwin wrote: I wrote a shell script that backs up the file server. I would like to modify this script to email a notification message to a public email address. Use cron, which will automatically email out the results of your script to any email address you li

Configuring FreeBSD 6.2 to use sendmail for sending only

2007-08-30 Thread L Goodwin
I have a file server running FreeBSD 6.2 with software RAID1 and a Samba share running on a workgroup-based LAN with a dedicated router/firewall. I wrote a shell script that backs up the file server. I would like to modify this script to email a notification message to a public email address. See