[Mimedefang] limit Recipients for auth user

Roman Pretory roman at pretory.at
Fri Nov 27 05:27:30 EST 2015


Greetings all,
I need to limit the Recipients from to, cc bcc  for auth user in the filter_recipient procedure .....is this possible?
Realy great it would be, to get the count for each to, cc, bcc in the part between  ##
filter_recipient () {
.....
if (defined($SendmailMacros{"auth_authen"})) {
##
my $recipient_to_count = ??;
my $recipient_cc_count = ??;
my $recipient_bcc_count = ??;
##
return("ACCEPT_AND_NO_MORE_FILTERING", "OK");
}
....
}
Thanks for help
RP





More information about the MIMEDefang mailing list