[Mimedefang] Duplicating outgoing messages
Matthew Thomas
mthomas at biocontrolsys.com
Tue Nov 4 12:11:01 EST 2003
> -----Original Message-----
> Is there a way that mimedefang can duplicate outgoing emails
> and send one copy to a special address?
>
> Regards,
>
> Cem GÜLER
> MEGATEK COMMUNICATION SYSTEMS
Something like the following might work:
# Local networks duplicate email when they are the relaying host
# Change for your local networks
$LocalNetworks = '10\.1\.2\.3';
sub filter_begin {
if ($RelayAddr =~ /^(127.0.0.1|$LocalNetworks)/o) {
add_recipient ('emailtosendto at whateverdomain.com');
}
I believe that would be a regular recipient and not a bcc, but I'm not sure.
Perhaps someone else knows how to add a bcc.
-Matt
More information about the MIMEDefang
mailing list