Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 11:53:27 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why am I getting mail rejects?
Message-ID:  <4C51A3F7.5010601@FreeBSD.org>
In-Reply-To: <3268CD1002ED434DA4DEA8DDCC7C6348@GRANTPC>
References:  <10E4650A2BFB426791D24BE51450BEC0@GRANTPC>	<4C4F7C72.9020502@FreeBSD.org> <3268CD1002ED434DA4DEA8DDCC7C6348@GRANTPC>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grant Peel wrote:
> ----- 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?
> 
> 
> 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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C51A3F7.5010601>