This is a ScripCondition to fire if the transaction originated via Email.
It is part of work I’m doing to avoid contributing to possible mail loops.
It uses the Headers of the first Attachment of the Transaction, and looks
for patterns to check in the Argument (see the insert_condition). These
should be set to the Headers that your MTA will always ensure are in the
message. Do not use the ‘To’ field.
The Condition will not fire if the Transaction originated via the Web
Bruce Campbell RIPE Systems/Network Engineer NCC www.ripe.net - PGP562C8B1B Operations
IncomingEmail.pm (1.53 KB)
insert_condition_IncomingEmail.pl (1.99 KB)