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

Copying outbound mail.

2 views
Skip to first unread message

Eng. Abd El-naby Abd El-Monem (

unread,
Mar 22, 1998, 3:00:00 AM3/22/98
to

Charles M. Gerungan wrote:
>
> I need the ability to copy outbound mail from certain users, and forward
> this to another (Eg. copy all mail from us...@domain.com to
> outbou...@domain.com. Sendmail 8.8.6 (V5 config) is running on BSDi3.
>
> Reading the man pages suggested editing the sendmail.cf as follows:
>
> 1. Define a new mailer:
> Mprocmail, P=/usr/bin/procmail, F=mSDFMhun, S=0, R=0, A=procmail -m $h $f $u
>
> 2. Add the following rule to ruleset 0:
> R$*<@zavtra.com>$*
> $#procmail $@/etc/procmailrcs/outbound.rc $:$1...@zavtra.com.procmail$2
> R$*<@$*.procmail>$*
> $1<@$2>$3 Already filtered, map back
>
> The configuration file for procmail (outbound.rc):
> :0 copy outbound mail from user "user"
> * ^From:.*user
> {
> :0 c # send copy to outbound.user ...
> ! outbou...@domain.com
>
> :0 # ... and pass along.
> ! -oi -f "$@"
> }
>
> My question is, of course, will this work as is? Do I need to create rules
> for the sender's and recipient's address which are referenced where procmail
> is defined as a mailer?
>
> Regards, Charles.
you can use alias in formate
in /etc/aliases
add this line
your original mail:your original mail,another mail address


Charles M. Gerungan

unread,
Mar 23, 1998, 3:00:00 AM3/23/98
to

Charles M. Gerungan

unread,
Mar 24, 1998, 3:00:00 AM3/24/98
to

Eng. Abd El-naby Abd El-Monem ( wrote in message

<35151A...@iec.egnet.net>...

>you can use alias in formate
>in /etc/aliases
>add this line
>your original mail:your original mail,another mail address


The aliases scheme only works for outbound mail.

We are having a problem with some people forwarding confidential company
information. To be able to prove this, we need a way to intercept mail so it
can be used as "evidence".

It is a serious problem, and we would like to get this to work asap.

Regards, Charles.

0 new messages