OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: mail copy

From: Bbt Lists (mailinglistsbackbonetechnology.com)
Date: Wed Aug 02 2006 - 16:26:56 CDT


berny wrote:
> Hallo,
>
> one little question.
>
> I use my postfix only as relay in local network.
> I need, when postfix is receiving mail this:
>
> 1) when sender is matched -> copy this mail to the disk or
> forward this mail to some account. But original delivery must stay.
>
> 2) almost same as point 1,but sender and recipient must match.
>
> I thought about header_checks, but don't know how.
> Is there any other solution, for example use some list in postfix
> configuration?
>
> thx very much
> berny
>
>
>
You can add (to the main.cf):

always_bcc = userdom.com

This will send a copy of all mail sent through your server to the
address you specify. THe mail is still delivered as it should be under
normal conditions.

--
dnk