[Mimedefang] action_drop_with_warning with recipient depending message

Marcus Schopen lists at localguru.de
Fri Jan 6 21:12:27 EST 2017


depending on the recipient I'd like to drop with different warning
messages using action_drop_with_warning e.g. when a virus is found. As I
understand action_drop_with_warning, it drops with the same message at
one go for each recipient in case of multiple recipients, so calling
action_drop_with_warning within e.g. "foreach ... (@Recipients)" to get
the recipients one after another in sub filter would put as many
warnings as recipients to the message. Any ideas how to solve that?


More information about the MIMEDefang mailing list