[Mimedefang] Sendmail Macros
David F. Skoll
dfs at roaringpenguin.com
Wed Jun 18 23:04:00 EDT 2003
On Wed, 18 Jun 2003, Richard Laager wrote:
> Would it be possible to expose the Sendmail macros earlier in the filtering
> process?
I've made a change to mimedefang.c so that the Sendmail macros can
be extracted from the COMMANDS file by the time filter_relay,
filter_sender or filter_recipient get called. I hope to have
a new beta out fairly soon once I integrate other changes posted lately.
If you only want the macros in filter_recipient, they are already available.
You just have to parse the COMMANDS file; the format of this file
is described in mimedefang-protocol(7). You can probably reuse chunks
of mimedefang.pl to extract the Sendmail macros.
Regards,
David.
More information about the MIMEDefang
mailing list