Re: 4.9R changing MTA to Postfix - no periodic.conf
Danny wrote: Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: 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 However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. You can, however, use /etc/defaults/periodic.conf as a reference to see what values are available and what their default values are. Simply create a new file called /etc/periodic.conf and put the configuration options shown above in it. Anything not in /etc/periodic.conf will be set from /etc/defaults/periodic.conf. (Copying /etc/defaults/periodic.conf to /etc/periodic.conf is NOT a good idea, as it defeats the purpose of the default file. FYI, a lot of things are handled in this manner, look at /etc/defaults/rc.conf for another example) -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9R changing MTA to Postfix - no periodic.conf
On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote Danny wrote: Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: 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 However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9R changing MTA to Postfix - no periodic.conf
[please fix your mail program so it doesn't mangle emails by wrapping lines] Danny wrote: On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote Danny wrote: Greetings, So I have installed Postfix from the ports, read the pkg-message, read the changing the MTA in the handbook, and did a bit of searching. So after the switch, I obviously get: Apr 23 03:01:00 mx1 postfix/sendmail[2175]: fatal: unsupported: -bh Apr 23 03:01:01 mx1 postfix/sendmail[2176]: fatal: unsupported: -bH Because I did not: 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 However, I do not have a periodic.conf. How is the periodic running without a config file? Could someone please show me there periodic.conf file and why they chose the options they did, or maybe baseline. /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? Both. The default values _could_ be hardcoded into the periodic program but there are good reasons not to do this. The most notable is that it's much easier for the average sysadmin to look in /etc/defaults/* to see what default values are than to look through program code. The reason you don't want to edit /etc/defaults/periodic.conf is that upgrading FreeBSD will upgrade /etc/defaults/periodic.conf, but won't change /etc/periodic.conf. That way, if new config options are added or the default values are changed, you get the updates without messing up the settings that each admin changed. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Yes, that would happen. Then, when you upgrade to 4.10, you'll lose your changes. If you create /etc/periodic.conf and put your override values in there, upgrading won't reset your config, but it will add new values as needed and change any defaults to match new changes in 4.10. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 4.9R changing MTA to Postfix - no periodic.conf
On Apr 23, 2004, at 2:12 PM, Danny wrote: On Fri, 23 Apr 2004 11:51:28 -0400, Bill Moran wrote /etc/defaults/periodic.conf has all the default values for periodic. Defaults as a reference, or the defaults that are currently enforced even without /etc/periodic.conf? Yes, to both. The two aren't exclusive. You should _NOT_ endit /etc/defaults/periodic.conf ... the point is that /etc/periodic.conf overrides those defaults. So, in theory, IF (which I won't, don't worry) I did edit the /etc/defaults/periodic.conf, and disabled the postfix sendmail specified settings, those changes would be enforced even without a /etc/periodic.conf? Sure. But your changes might get blown away the next time you updated the system and ran mergemaster, unless you were careful. Putting the changes in /etc/periodic.conf is the right thing to do... -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]