[Mimedefang] How to work with MD variables

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Fri May 4 04:02:33 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 4 May 2007, Ingo wrote:

>>> md_syslog('info', "filter_begin; RelayAddr: $RelayAddr, Domain: $Domain");
>>
>> MIMEDefang does not define a variable called $Domain.
>
> Sorry, then I must have seen something not existing in mimedefang.pl:

Maybe David should have written "MIMEDefang makes no use of $Domain", what 
you can verify grep'ing mimedefang.pl yourself.

You wrote "the variable stays empty", well, there is no place the variable 
is assigned something else, nor is its use documented in the API 
description aka man mimedefang-filter, hence, treat it local a local 
variable. BTW: which domain you expect in $Domain?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRjronOgJIbZtwg6XAQL5dwf+JBc2+11tHlGh0QutvpfnsBV8dwBG+vJl
/JEKbpDDk+0DS5b83ohHQY8WIILjTBmsDMu76K7odshAyEP1DIVuQTgIJT2qTpl0
MBuvLe06VGOIsEqN+owI/pae1o6b0pMx49mHG0eMXjo2bdSPr9CEKIOtc0yAT1xW
x7gB13SKgO6peOdacsvqZWhWw4+GPX4AojqlF+fJjr3b6XGbIWBS+1YAznU5jw1J
rW5f7xoRhrPatsPHezpa5ukYBkO/eMBrMK/98dpYXholVw94V3jEwo6PAjbukTsc
ZaNlTyyDnemB2tZur2Zaikz5cIJBDQg+ot80JEuLManEJJG/FYw3kg==
=e8tb
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list