clearing /var/tmp in periodic.conf?
Any reasons why one should not clear /var/tmp via periodic.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clearing /var/tmp in periodic.conf?
On Thu, 29 Nov 2012 09:19:08 -0700 Gary Aitken free...@dreamchaser.org wrote: Any reasons why one should not clear /var/tmp via periodic.conf? There are lots of things put in /var/tmp that programs expect to be persistent. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clearing /var/tmp in periodic.conf?
On Nov 29, 2012, at 5:19 PM, Gary Aitken free...@dreamchaser.org wrote: Any reasons why one should not clear /var/tmp via periodic.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Gary, Well, /var/tmp/nginx is reason enough, for starters ;) /var/tmp/vi.recover is another, if you use vi. Basically, there is really no awesome reason for emptying it periodically. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clearing /var/tmp in periodic.conf?
Any process that stores data there would be really surprised when you clear it:) PHP uses tmp to store sessions and that is a good example:) tmp may be cleaned after server restart On Thu, Nov 29, 2012 at 8:19 PM, Gary Aitken free...@dreamchaser.orgwrote: Any reasons why one should not clear /var/tmp via periodic.conf? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: clearing /var/tmp in periodic.conf?
On Thu, 29 Nov 2012 09:19:08 -0700 Gary Aitken articulated: Any reasons why one should not clear /var/tmp via periodic.conf? From /etc/defaults/rc.conf clear_tmp_enable=NO # Clear /tmp at startup. clear_tmp_X=YES # Clear and recreate X11-related directories in /tmp populate_var=AUTO # Set to YES to always (re)populate /var, NO to never cleanvar_enable=YES # Clean the /var directory I use the first two options without any apparent problems. I have never used the last two. Maybe someone who is more familiar with them could explain them in more detail. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: periodic.conf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 jekillen wrote: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Assuming you're not talking about /etc/defaults/periodic.conf, then it is unlikely you will have any problems. All that the stuff in periodic.conf does is set values for a number of shell variables. Those only make a difference if any of the periodic scripts refer to them -- otherwise they are harmless. The only thing that could hurt you is if the meaning of a particular variable changed significantly between 6.0 and 6.2. That is something which would not be allowed to happen by the FreeBSD project just as a matter of good engineering practice. Even so, you should sanity check what is set in your /etc/periodic.conf with the entries in /etc/defaults/periodic.conf - -- everything you can set to affect periodic scripts that come with the base system is documented there, and it's fairly well commented so you can work out what changes you need to make easily. Externally supplied periodic scripts usually contain some documentation of their settable variables within themselves. As /etc/periodic.conf should contain only the overrides from the default settings, this is unlikely to be a particularly taxing enterprise. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHaNxO8Mjk52CukIwRCOcDAJ96TPyFJTAEQOm125BIowplFx1kpQCfYmUC FQHg0Q5ArIHmhpUCcT/8PR0= =uVoP -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic.conf
On Dec 19, 2007, at 12:54 AM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 jekillen wrote: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Assuming you're not talking about /etc/defaults/periodic.conf, then it is unlikely you will have any problems. All that the stuff in periodic.conf does is set values for a number of shell variables. Those only make a difference if any of the periodic scripts refer to them -- otherwise they are harmless. The only thing that could hurt you is if the meaning of a particular variable changed significantly between 6.0 and 6.2. That is something which would not be allowed to happen by the FreeBSD project just as a matter of good engineering practice. Even so, you should sanity check what is set in your /etc/periodic.conf with the entries in /etc/defaults/periodic.conf - -- everything you can set to affect periodic scripts that come with the base system is documented there, and it's fairly well commented so you can work out what changes you need to make easily. Externally supplied periodic scripts usually contain some documentation of their settable variables within themselves. As /etc/periodic.conf should contain only the overrides from the default settings, this is unlikely to be a particularly taxing enterprise. Cheers, Matthew It was just to save some typing. I replaced Sendmail with Postfix on both machines and wanted to copy the periodic changes to the 6.2 system by replacing the whole file with the changes from the 6.0 system. That is it. It seems to be working. That is the only tampering I have done with periodic.conf. No one else uses my machines. Thanks for the info. Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
periodic.conf
Hello: I copied a periodic.conf file from a v6.0 system to a v6.2 system. Is there any incompatibility that I should be aware of? Thanks In Advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Periodic.conf?
On October 24, 2007 at 09:50PM jekillen wrote: The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. Create the /etc/periodic.conf file and populate it with the correct information. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. You could delete the package and then install it from ports. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. You have to add them. Please read /usr/ports/mail/postfix/pkg-message for further details. That is the last stable version of Postfix, by the way. The beta version is under 'postix-current'. You should also check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html for further details. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? If you install Postfix from the ports system, it will offer to make these modifications for you. See my above comment. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Periodic.conf?
On Oct 25, 2007, at 2:46 AM, Gerard wrote: On October 24, 2007 at 09:50PM jekillen wrote: The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. Create the /etc/periodic.conf file and populate it with the correct information. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. You could delete the package and then install it from ports. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. You have to add them. Please read /usr/ports/mail/postfix/pkg-message for further details. That is the last stable version of Postfix, by the way. The beta version is under 'postix-current'. You should also check out: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail- changingmta.html for further details. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? If you install Postfix from the ports system, it will offer to make these modifications for you. See my above comment. Thank you for the data; Much appreciated Jeff k ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Periodic.conf?
Hello; The following was a response to a query I posted regarding how to switch over to Postfix from SendMail: Also, there are some periodic things that are ran which are SendMail specific that need to be disabled. That is done within /etc/periodic.conf as such: daily_clean_hoststat_enable=NO daily_status_mail_rejects_enable=NO daily_status_include_submit_mailq=NO daily_submit_queuerun=NO However, there is no periodic.conf on my system: v6.2. There is a periodic directory with specific subdirectories. One is 'daily' but I do not know which one would have the above entries. When I installed the OS, I had it include the Postfix package when sysinstall queried for package choices. I want to set this machine up as a hub mail server for four web sites on four separate machines that are connected via inside network. I have not dealt with e-mail related software in general and Postfix or Sendmail specifically. Since I brought in Postfix as a package, I am afraid of trying to install it from Ports for complications, unless ports will account for that. There were also advices to place several entries in rc.conf to disable SendMail. There are no entries either for SendMail, not Postfix there to begin with in rc.conf. In mailer.conf I was told it should look like this: sendmail/usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail There were two other entries, hoststat and purgstat. Should these be kept, modified or eliminated? I plan on setting up a test system on the local net. And when that appears to be working properly, I will add it to the DNS records and hook in up to the public network. I am looking to learn to setup and administer mail systems I am a hobbyist at this point, but I have static IP addresses and do web design and related programming, art, music and graphics and have several services that will need a mail server to run e-mail address verification checks and registration verification checks, as well as be a personal mail system so I can let the prodigy.net address just be a spam catcher. I am not looking to spam anyone. Thanks in Advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script with periodic.conf
[EMAIL PROTECTED] a écrit : On 16/07/07, Olivier Regnier [EMAIL PROTECTED] wrote: Hi everoyone, I have a script called 110.doc-update-csup to keep my documentation up-to-date and he works well. In this script, i have these following variables: - weekly_doc_update_enable=YES - weekly_doc_update_country=us - weekly_doc_update_supfile=/usr/local/etc/cvsup/doc-supfile - weekly_doc_update_logdir=/var/log/sys-update.log I have the same variables in my periodic.conf file in /etc/ directory. If i move the file in /usr/local/etc/periodic/weekly/, cron execute the script two times but if he is in /etc/periodic/weekly/ there are not problems. What happened ? Do you give informations about this ? Put the line: local_periodic=/usr/local/etc/periodic in your /etc/periodic.conf or delete the /usr/X11R6/etc/periodic from the line: local_periodic=/usr/local/etc/periodic /usr/X11R6/etc/periodic in your /etc/defaults/periodic.conf Hi, thank you very much, it's perfect. Bye :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Script with periodic.conf
Hi everoyone, I have a script called 110.doc-update-csup to keep my documentation up-to-date and he works well. In this script, i have these following variables: - weekly_doc_update_enable=YES - weekly_doc_update_country=us - weekly_doc_update_supfile=/usr/local/etc/cvsup/doc-supfile - weekly_doc_update_logdir=/var/log/sys-update.log I have the same variables in my periodic.conf file in /etc/ directory. If i move the file in /usr/local/etc/periodic/weekly/, cron execute the script two times but if he is in /etc/periodic/weekly/ there are not problems. What happened ? Do you give informations about this ? Thank you for your help. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Script with periodic.conf
On 16/07/07, Olivier Regnier [EMAIL PROTECTED] wrote: Hi everoyone, I have a script called 110.doc-update-csup to keep my documentation up-to-date and he works well. In this script, i have these following variables: - weekly_doc_update_enable=YES - weekly_doc_update_country=us - weekly_doc_update_supfile=/usr/local/etc/cvsup/doc-supfile - weekly_doc_update_logdir=/var/log/sys-update.log I have the same variables in my periodic.conf file in /etc/ directory. If i move the file in /usr/local/etc/periodic/weekly/, cron execute the script two times but if he is in /etc/periodic/weekly/ there are not problems. What happened ? Do you give informations about this ? Put the line: local_periodic=/usr/local/etc/periodic in your /etc/periodic.conf or delete the /usr/X11R6/etc/periodic from the line: local_periodic=/usr/local/etc/periodic /usr/X11R6/etc/periodic in your /etc/defaults/periodic.conf -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Questions about periodic.conf file
Hi everyone, I'm working on FreeBSD 6.2 and my question is, it is possible to use the periodic.conf file in /usr/local/etc/ directory ? My second question, if i create a empty periodic.conf, it is possible to include the /etc/defaults/periodic.conf file with a command line by example include /etc/defaults/periodic.conf ? Thank you :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Questions about periodic.conf file
--On July 4, 2007 6:14:48 PM +0200 Olivier Regnier [EMAIL PROTECTED] wrote: Hi everyone, I'm working on FreeBSD 6.2 and my question is, it is possible to use the periodic.conf file in /usr/local/etc/ directory ? Yes, of course. My second question, if i create a empty periodic.conf, it is possible to include the /etc/defaults/periodic.conf file with a command line by example include /etc/defaults/periodic.conf ? It isn't needed. The /etc/defaults conf files are always parsed. They are overridden by any settings in the corresponding file in /etc. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Questions about periodic.conf file
Paul Schmehl a écrit : --On July 4, 2007 6:14:48 PM +0200 Olivier Regnier [EMAIL PROTECTED] wrote: Hi everyone, I'm working on FreeBSD 6.2 and my question is, it is possible to use the periodic.conf file in /usr/local/etc/ directory ? Yes, of course. My second question, if i create a empty periodic.conf, it is possible to include the /etc/defaults/periodic.conf file with a command line by example include /etc/defaults/periodic.conf ? It isn't needed. The /etc/defaults conf files are always parsed. They are overridden by any settings in the corresponding file in /etc. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ Ok thank you for your answer :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic.conf quieter
On Wed, Jun 13, 2007 at 10:51:06AM -0500, Richard Lynch wrote: Thanks to the fine folks here, I've gotten periodic.conf to only output messages I need to know, *except* for this one: Security check: (output mailed separately) I've looked through /et/defaults/periodic.conf, Google a fair amount, and am still coming up empty with a setting to suppress that one... I'm probably just being stupid (again) but what am I missing? On Wed, June 13, 2007 11:38 am, Brian A. Seklecki wrote: # 450.status-security daily_status_security_enable=YES # Security check ...probably no. On Wed, June 13, 2007 4:28 pm, Kelvin Woods wrote: You could always re-direct the output to a file... daily_status_security_output=/var/log/security.log [coming back after a suitable wait for a response, I hope...] My goal is not to stop paying attention to security issues, nor to log them into a file I'll forget to ever check... :-) My goal is to get FreeBSD to shut up unless I need to know something. But do email me when I need to know something. Right now, it's like a little kid telling me every time he went to pee or something... :-v I'm trying the inline setting to yes for the security, so at least I'll only get one pointless email per day instead of two, but I'd really appreciate any insight from anybody who shares similar goals. TIA -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
periodic.conf quieter
Thanks to the fine folks here, I've gotten periodic.conf to only output messages I need to know, *except* for this one: Security check: (output mailed separately) I've looked through /et/defaults/periodic.conf, Google a fair amount, and am still coming up empty with a setting to suppress that one... I'm probably just being stupid (again) but what am I missing? -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic.conf quieter
# 450.status-security daily_status_security_enable=YES # Security check ...probably no. # See Security options below for more options # Security options # These options are used by the security periodic(8) scripts spawned in # 450.status-security above. daily_status_security_inline=NO # Run inline ? daily_status_security_output=root # user or /file On Wed, 2007-06-13 at 10:51 -0500, Richard Lynch wrote: Thanks to the fine folks here, I've gotten periodic.conf to only output messages I need to know, *except* for this one: Security check: (output mailed separately) I've looked through /et/defaults/periodic.conf, Google a fair amount, and am still coming up empty with a setting to suppress that one... I'm probably just being stupid (again) but what am I missing? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: periodic.conf quieter
On Wed, Jun 13, 2007 at 10:51:06AM -0500, Richard Lynch wrote: Thanks to the fine folks here, I've gotten periodic.conf to only output messages I need to know, *except* for this one: Security check: (output mailed separately) I've looked through /et/defaults/periodic.conf, Google a fair amount, and am still coming up empty with a setting to suppress that one... I'm probably just being stupid (again) but what am I missing? -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] You could always re-direct the output to a file... daily_status_security_output=/var/log/security.log -- Kelvin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4.9R changing MTA to Postfix - no periodic.conf
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. 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
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]