From owner-freebsd-questions@FreeBSD.ORG Thu Jul 29 15:53:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1886106567A for ; Thu, 29 Jul 2010 15:53:34 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC018FC16 for ; Thu, 29 Jul 2010 15:53:34 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OeVQF-000IHt-WD; Thu, 29 Jul 2010 11:53:32 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id BB899430FD3C; Thu, 29 Jul 2010 11:53:28 -0400 (EDT) Message-ID: <4C51A3F7.5010601@FreeBSD.org> Date: Thu, 29 Jul 2010 11:53:27 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Grant Peel References: <10E4650A2BFB426791D24BE51450BEC0@GRANTPC> <4C4F7C72.9020502@FreeBSD.org> <3268CD1002ED434DA4DEA8DDCC7C6348@GRANTPC> In-Reply-To: <3268CD1002ED434DA4DEA8DDCC7C6348@GRANTPC> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Why am I getting mail rejects? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 15:53:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Grant Peel wrote: > ----- Original Message ----- From: "Greg Larkin" > To: "Grant Peel" > Cc: > Sent: Tuesday, July 27, 2010 8:40 PM > Subject: Re: Why am I getting mail rejects? > > > 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, Here is the output you suggested. (I have a /etc/periodic.conf, > but not /etc/periodic.conf.local). [...] Hi Grant, I presume that you saw the response from Daniel Bye (http://forum.nginx.org/read.php?23,113669,113860#msg-113860)? Since you have exim installed, it has its own version of the script, and you have to set its variables in /etc/rc.conf instead (defaults here): exim_status_mail_rejects_enable="YES" exim_status_mail_rejects_logs=2 exim_rejectlog="/var/log/exim/rejectlog" Hope that helps, 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/ iD8DBQFMUaP30sRouByUApARAtPzAKC9xgpt2QDf7t9zPRhR/FBAaTaTzACffVPV E6b3qwqgqa2xwAGh0n2lmHg= =GEz6 -----END PGP SIGNATURE-----