From: Carlos Mennens on
I was wondering if there is a simple way to have Postfix send all
'reject' messages regardless of the reason to a specific email like
'reject(a)mydomain.tld' and then in my /etc/aliases file just route all
mail to 'reject' to a known recipient? I was looking to see what the
best suggestion would be for setting this up via Postfix? I just have
5 users on my server and from time to time I notice rarely there are
some rejects but I would like to know about them rather than searching
through logs. Anyone have any suggestions?

-Carlos

From: =?ISO-8859-1?Q?Eduardo_J=FAnior?= on
Hi,


On Wed, Apr 21, 2010 at 8:16 PM, Carlos Mennens <carloswill(a)gmail.com> wrote:
> I was wondering if there is a simple way to have Postfix send all
> 'reject' messages regardless of the reason to a specific email like
> 'reject(a)mydomain.tld' and then in my /etc/aliases file just route all
> mail to 'reject' to a known recipient? I was looking to see what the
> best suggestion would be for setting this up via Postfix? I just have
> 5 users on my server and from time to time I notice rarely  there are
> some rejects but I would like to know about them rather than searching
> through logs. Anyone have any suggestions?
>
> -Carlos


I think that only to messages bounced a notify (a delivery status information)
is returned to sender.


http://www.postfix.org/bounce.8.html


To achieve what you want, an option is to use a log analyzer according
to an specific schedule. Pflogsumm is a good choice:

http://jimsun.linxnet.com/postfix_contrib.html


[]`s

--
Eduardo Júnior
GNU/Linux user #423272

:wq