[Mimedefang] changing recipient mail id
Kevin A. McGrail
kmcgrail at pccc.com
Tue Jan 8 11:43:46 EST 2008
In filter_end, I believe you can achieve want you want with code such as
this untested snippet:
foreach my $recip (@Recipients) {
if ($recip =~ /^<?bob\@gmail.com>?$/i) {
delete_recipient($recip);
$recip = 'bob at hmail.com';
add_recipient($recip);
}
}
Regards,
KAM
----- Original Message -----
From: "vinita batra" <batra.vinita at gmail.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Tuesday, January 08, 2008 3:45 AM
Subject: [Mimedefang] changing recipient mail id
> Hi,
>
> I am using sendmail server.
> I want that if mail is sent to <user>@gmail.com then mail should be
> forwarded to <user>@<differentdomain.com> instead of <user>@gmail.com
>
> Can you please tell me in which configuration file i need to make change.
> what change should i make in that configuration file of sendmail.
>
>
> Thanks in advance.
>
> Regards,
> Vinita
> _______________________________________________
> NOTE: If there is a disclaimer or other legal boilerplate in the above
> message, it is NULL AND VOID. You may ignore it.
>
> Visit http://www.mimedefang.org and http://www.roaringpenguin.com
> MIMEDefang mailing list MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>
More information about the MIMEDefang
mailing list