Re: sending all the mails to a single user

From: Ralf Hildebrandt (no email)
Date: Mon Oct 15 2001 - 05:51:08 EDT


On Mon, Oct 15, 2001 at 02:54:57PM +0530, R.Sharma wrote:
>
> I want to send all the mails which are passing through my MTA to a user
> for archiving. The mail should go to the detined user also. can
> anybody suggest me what to do

always_bcc = copymail+2001-10-15

but alter that daily using

0 0 * * * /usr/sbin/postconf -e "always_bcc = copymail+/bin/date -I" && /usr/sbin/postfix reload

and use the following ~copymail/.procmailrc:

:0 Wh: /copymail/.msgid.lock
| /usr/bin/formail -D 100000 $HOME/.msgid.cache

:0
* ^Delivered-To: copymail\+\/[^@]*
/copymail/Maildir/$MATCH/

-- 
Ralf Hildebrandt                            Tel.  +49 (0)30-450 570-155
                                            Fax.  +49 (0)30-450 570-916
Al Gore invented the Internet, Bill Gates deployed it. That's their
respective stories, anyways
-
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD