How about
sub filter_recipient() {
my ($recip, $sender, $ip, $hostname, $first, $helo, @rcpt) = @_;
return ('ACCEPT_AND_NO_MORE_FILTERING','ok') if
lc($recip) =~ /[EMAIL PROTECTED]?/;
return ('CONTINUE', ok);
}
I'm assuming that ACCEPT_AND_NO_MORE_FILTERING is a valid
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 12:19 PM
To: [EMAIL PROTECTED]
Subject: [Mimedefang] disable antivirus for one user
snip
does anyone have a quick way to say
if the recipient is [EMAIL PROTECTED
On Wed, 28 Jan 2004, Rick Mallett wrote:
sub filter_recipient() {
my ($recip, $sender, $ip, $hostname, $first, $helo, @rcpt) = @_;
return ('ACCEPT_AND_NO_MORE_FILTERING','ok') if
lc($recip) =~ /[EMAIL PROTECTED]?/;
return ('CONTINUE', ok);
}
That will work, but because
David F. Skoll said:
That will work, but because of a limitation in Milter, the message
won't be filtered even if there's more than one recipient.--
Big D,
I believe this particular milter problem was fixed in sendmail 8.12.11
Does that sound right?
changelog for 8.12.11
When a milter invokes
On Wed, 28 Jan 2004, Lucas Albers wrote:
I believe this particular milter problem was fixed in sendmail 8.12.11
Does that sound right?
No. They fixed a different problem. Because of the way SMTP works,
there's no way to filter messages differently for different recipients
of a
5 matches
Mail list logo