* Mr. Wade ([EMAIL PROTECTED]) wrote:
> Rod Pike wrote:
> > Can a send hook be used so that ultimately, a different mail server will
> > be used to send the mail?
> 
> Just off the top of my head... you could use a send-hook to
> change the $sendmail variable to call a script that would copy an
> alternate sendmail.cf into /etc/sendmail.cf before passing the
> email to sendmail.  Of course,... overwriting /etc/sendmail.cf
> would require root access, necessitating the use of sudo.  Hmm...

Even easier, you could simply change the $sendmail variable to call
sendmail with a -C parameter that would specify on the command line what
configuration file to use -- hence, no sudo would be necessary.

-- 
Joshua Haberman                                  <[EMAIL PROTECTED]>
University of Puget Sound                          <[EMAIL PROTECTED]>
http://www.reverberate.org                         <[EMAIL PROTECTED]>

Reply via email to