[Mimedefang] msg_size Macro

Richard Laager rlaager at wiktel.com
Mon Apr 19 21:02:47 EDT 2004


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

I'm trying to get the {msg_size} macro into %SendmailMacros. I had a
look at mimedefang.c. Am I correct in my thinking that MIMEDefang
will pick up any macros sendmail passes it (up to the max of 25)?
I've tried adding this to my sendmail.mc:

define(`confMILTER_MACROS_ENVRCPT', `{rcpt_mailer}, {rcpt_host},
{rcpt_addr}, {msg_size}')dnl

I rebuilt my sendmail.cf file and diff shows the addition of
{msg_size} macro. I've got code (which I know works) that loads the
macros from the COMMANDS file into %SendmailMacros. I inserted an
md_syslog() call into the code which parses the COMMANDS file. It
does not show the msg_size macro. Looking at the COMMANDS files
themselves shows this as well.

How can I get the msg_size macro from Sendmail to MIMEDefang?

Thanks,
Richard Laager

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2
Comment: If you don't know what this is, you can safely ignore it.

iQA/AwUBQIR2tm31OrleHxvOEQKSZACdHZlPC0mJ1AxVQnNQrdoDVlT9Tg0An20S
ykL/CIVa9YETdlwFH+4yJb87
=oEZ1
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list