Date: Wed, 28 Jul 2010 17:13:44 -0400 From: "Grant Peel" <gpeel@thenetnow.com> To: <glarkin@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: Why am I getting mail rejects? Message-ID: <3268CD1002ED434DA4DEA8DDCC7C6348@GRANTPC> References: <10E4650A2BFB426791D24BE51450BEC0@GRANTPC> <4C4F7C72.9020502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Greg Larkin" <glarkin@FreeBSD.org> To: "Grant Peel" <gpeel@thenetnow.com> Cc: <freebsd-questions@freebsd.org> Sent: Tuesday, July 27, 2010 8:40 PM Subject: Re: Why am I getting mail rejects? > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Grant Peel wrote: >> Hi everyone, >> >> I asked this a few days ago, and did not get a response. >> >> I have this in my /etc/periodic.conf: >> >> constellation# more periodic.conf >> # 460.status-mail-rejects >> daily_status_mail_rejects_enable="NO" # Check mail >> rejects >> daily_status_mail_rejects_logs=0 # How many logs >> to check >> daily_status_mail_rejects_shorten="NO" # Shorten output >> >> And have chnaged this in my /etc/defaults/periodic.conf: >> >> # 460.status-mail-rejects >> daily_status_mail_rejects_enable="NO" # Check mail >> rejects >> daily_status_mail_rejects_logs=3 # How many logs >> to >> check >> daily_status_mail_rejects_shorten="NO" # Shorten output >> >> And am still getting all the reject mail data showing in my daily >> periodic >> output. >> >> I am using FreeBSD 8.0 p#3 >> The mta is Exim 4.69_4 built from ports. >> >> What am I doing incorrectly? Why am I still getting all the mail reject >> log >> lines in my daily periodic output? >> >> -Grant > > Hi Grant, > > Please capture the output of the following command and post it somewhere > for viewing. This will display all of the shell commands executed by > the periodic script, and it may help someone here troubleshoot the > problem. > > sh -x /etc/periodic/daily/460.status-mail-rejects > > Regards, > Greg > - -- > Greg Larkin > > http://www.FreeBSD.org/ - The Power To Serve > http://www.sourcehosting.net/ - Ready. Set. Code. > http://twitter.com/sourcehosting/ - Follow me, follow you > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iD8DBQFMT3xy0sRouByUApARAq35AJ9Jscb9hHedbTiu3MXimj3UIiS3uQCcCOmB > xxU/f3r6jvqwZ51ji/jo4k0= > =qwGv > -----END PGP SIGNATURE----- > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > Greg, Here is the output you suggested. (I have a /etc/periodic.conf, but not /etc/periodic.conf.local). constellation# sh -x /etc/periodic/daily/460.status-mail-rejects + [ -r /etc/defaults/periodic.conf ] + . /etc/defaults/periodic.conf + periodic_conf_files='/etc/periodic.conf /etc/periodic.conf.local' + local_periodic=/usr/local/etc/periodic + daily_output=root + daily_show_success=YES + daily_show_info=YES + daily_show_badconfig=NO + daily_clean_disks_enable=NO + daily_clean_disks_files='[#,]* .#* a.out *.core *.CKP .emacs_[0-9]*' + daily_clean_disks_days=3 + daily_clean_disks_verbose=YES + daily_clean_tmps_enable=NO + daily_clean_tmps_dirs=/tmp + daily_clean_tmps_days=3 + daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix' + daily_clean_tmps_ignore='.X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix quota.user quota.group' + daily_clean_tmps_verbose=YES + daily_clean_preserve_enable=YES + daily_clean_preserve_days=7 + daily_clean_preserve_verbose=YES + daily_clean_msgs_enable=YES + daily_clean_msgs_days='' + daily_clean_rwho_enable=YES + daily_clean_rwho_days=7 + daily_clean_rwho_verbose=YES + daily_clean_hoststat_enable=YES + daily_backup_passwd_enable=YES + daily_backup_aliases_enable=YES + daily_calendar_enable=NO + daily_accounting_enable=YES + daily_accounting_compress=NO + daily_accounting_flags=-q + daily_accounting_save=3 + daily_news_expire_enable=YES + daily_status_disks_enable=YES + daily_status_disks_df_flags='-l -h' + daily_status_zfs_enable=NO + daily_status_ata_raid_enable=NO + daily_status_gmirror_enable=NO + daily_status_graid3_enable=NO + daily_status_gstripe_enable=NO + daily_status_gconcat_enable=NO + daily_status_network_enable=YES + daily_status_network_usedns=YES + daily_status_rwho_enable=YES + daily_status_mailq_enable=YES + daily_status_mailq_shorten=NO + daily_status_include_submit_mailq=YES + daily_status_security_enable=YES + daily_status_mail_rejects_enable=NO + daily_status_mail_rejects_logs=3 + daily_status_mail_rejects_shorten=NO + daily_status_named_enable=YES + daily_status_named_usedns=YES + daily_status_ntpd_enable=NO + daily_queuerun_enable=YES + daily_submit_queuerun=YES + daily_local=/etc/daily.local + daily_status_security_inline=NO + daily_status_security_output=root + daily_status_security_noamd=NO + daily_status_security_logdir=/var/log + daily_status_security_diff_flags='-b -u' + daily_status_security_chksetuid_enable=YES + daily_status_security_chkmounts_enable=YES + daily_status_security_chkuid0_enable=YES + daily_status_security_passwdless_enable=YES + daily_status_security_logincheck_enable=YES + daily_status_security_ipfwdenied_enable=YES + daily_status_security_ipfdenied_enable=YES + daily_status_security_pfdenied_enable=YES + daily_status_security_ipfwlimit_enable=YES + daily_status_security_ipf6denied_enable=YES + daily_status_security_kernelmsg_enable=YES + daily_status_security_loginfail_enable=YES + daily_status_security_tcpwrap_enable=YES + weekly_output=root + weekly_show_success=YES + weekly_show_info=YES + weekly_show_badconfig=NO + weekly_locate_enable=YES + weekly_whatis_enable=YES + weekly_catman_enable=NO + weekly_noid_enable=NO + weekly_noid_dirs=/ + weekly_status_pkg_enable=NO + pkg_version=pkg_version + pkg_version_index=/usr/ports/INDEX-8 + weekly_local=/etc/weekly.local + monthly_output=root + monthly_show_success=YES + monthly_show_info=YES + monthly_show_badconfig=NO + monthly_accounting_enable=YES + monthly_local=/etc/monthly.local + [ -z '' ] + source_periodic_confs_defined=yes + source_periodic_confs + local i sourced_files + sourced_files=:/etc/periodic.conf: + [ -r /etc/periodic.conf ] + . /etc/periodic.conf + daily_status_mail_rejects_enable=NO + daily_status_mail_rejects_logs=0 + daily_status_mail_rejects_shorten=NO + sourced_files=:/etc/periodic.conf::/etc/periodic.conf.local: + [ -r /etc/periodic.conf.local ] + shorten=cat + rc=0 + exit 0 constellation# -Grant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3268CD1002ED434DA4DEA8DDCC7C6348>