[Mimedefang] Conditional call of MD

David F. Skoll dfs at roaringpenguin.com
Tue Aug 12 09:26:01 EDT 2003


On Tue, 12 Aug 2003, Andrea Gabellini wrote:

> I need to filter with MD only some recipients. I set a Sendmail macro if I
> match the recipient in a  database map. I pass this macro to MD with the -a
> option and I tell sendmail to pass it to MD with confMILTER_MACROS_ENVFROM.

But if you're testing the _recipient_, how can you pass the macro
in ENVFROM?  You don't have a recipient yet!

MIMEDefang does not support per-recipient macros very well.  You're better
off doing the test inside MIMEDefang itself rather than in sendmail.cf

Regards,

David.



More information about the MIMEDefang mailing list