Switch MTA -> Postfix
Joel Gudknecht
joelg at mail1.marathonmultimedia.com
Fri Jan 16 08:29:53 PST 2004
On Fri, Jan 16, 2004 at 03:44:28PM +0000, Andrew Boothman wrote:
> Joel Gudknecht wrote:
> >Do the daily/weekly/monthly scripts need a lot of tweaking to still
> >mail reports to root after switching from sendmail to postfix?
> >
> >Are the changes necessary documented anywhere?
>
> Changing your MTA is documented on
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html
I've changed the MTA to postfix just fine.
> If you're talking about making sure that the normal periodic script
> reports are emailed back to you: those scripts simply use
> /usr/sbin/sendmail, which is a mailwrapper(8) which should always point
> to your actual sendmail binary. The scripts themselves don't need any
> changes for you to continue to recieve their results.
If I follow the advice from /usr/ports/mail/postfix/pkg-message which states:
-----------------------------------------------------------------------
Also, you will want to disable some Sendmail-specific daily maintenance
routines in your /etc/periodic.conf file:
daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
--------------------------
The reports stop completely.
> However, some items in those scripts are no longer needed if you move
> away from sendmail(tm). These are documented in
> /usr/ports/mail/postfix/pkg-message.
Before I did this I didn't have a periodic.conf at all, relying on the scripts,
which generated these errors:
Jan 16 03:01:01 postfix postfix/sendmail[2177]: fatal: unsupported: -bh
Jan 16 03:01:02 postfix postfix/sendmail[2178]: fatal: unsupported: -bH
Any thoughts?
More information about the freebsd-questions
mailing list