procmail
[Top] [All Lists]

Re: "Synchronizing" mail in 2 accounts

2000-02-01 12:38:09
Hi Colin,

On Die, 01 Feb 2000, Colin J. Raven wrote:

#Send stuff to account 2 (everything)
:0 c
! user(_at_)account2
# wont send anything that originally came from account2
* !^X-Loop: user(_at_)account2

#Send stuff to account1
:0 c
! user(_at_)account1
# won't send anything that originally came from account 1
* !^X-Loop: user(_at_)account1

#User should not miss any mail, regardless of where it was sent.
#What happens if user is sent mail to both, or sent to 1 and Cc'd to 2

If the same mail is sent to both accounts, then each account will
receive it twice, once as 'normal' mail, and once copied from the
other account, including the X-Loop-Header.

If that is not wanted, maybe you want to try formail with its
Message-ID-Cache feature, which eliminates double messages.

Regards,

Sebastian

-- 
"No worries." - Rincewind

Sebastian Helms   -  mailto:sebastian(_at_)helms(_dot_)sh (PGP available)

<Prev in Thread] Current Thread [Next in Thread>