Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Registering emails from/to an account.

0 views
Skip to first unread message

vs...@alu.ua.es

unread,
Jun 11, 2003, 5:08:10 AM6/11/03
to
How can i register the emails from/to an account?. How can i do it for
a particular mail and don't for all the user at the domain with
always_bcc?.

Thanks

Philip Reynolds

unread,
Jun 11, 2003, 5:15:19 AM6/11/03
to
vs...@alu.ua.es's [vs...@alu.ua.es] 5 lines of wisdom included:

> How can i register the emails from/to an account?. How can i do it for
> a particular mail and don't for all the user at the domain with
> always_bcc?.

use procmail.

always_bcc = myaccount

in ~myaccount/.forward put:
|/path/to/procmail


You'll need to create one procmail rule for filtering the persons
email you want, e.g.

:0
* X-Original-To: .*john.*
johnsmail

and then another rule below that one to ignore everything else (or
in UNIX terms send it to /dev/null)

see the procmail, procmailrc and procmailex manpages.

--
Philip Reynolds
RFC Networks tel: 01 8832063
www.rfc-networks.ie fax: 01 8832041

0 new messages