[Mimedefang] Conditional call of MD

Andrea Gabellini agabellini at intelcom.sm
Tue Aug 12 09:09:01 EDT 2003


Hi all,

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.

I set this macro in the Local_check_rcpt rule set. If I test this rule 
stand alone it works (but only using $&{macro} and not ${macro})

MD doesn't recognize this macro, but if I set it with the Sendmail's D 
configuration command MD recognize it.

What's wrong? There is another way to conditional call MD?

Thanks in advance,
Andrea



---------------------------------------
Our lives improves only when we take changes... and the first and most 
difficult risk we can take is to be honest with ourselves.
---------------------------------------
Ing. Andrea Gabellini
Email: agabellini at intelcom.sm
Tel: 0549 886111 (Italy)
Tel. +378 0549 886111 (International)

Intelcom San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Repubblic of San Marino

http://www.omniway.sm  http://www.intelcom.sm




More information about the MIMEDefang mailing list