[Mimedefang] info cuestions

David F. Skoll dfs at roaringpenguin.com
Tue Oct 31 14:20:42 EST 2006


juanlopezz at ozu.es wrote:

> I need to know subject, sender, recipient in filter_sender I can obtain
> this data?

No, because that information hasn't been received yet.

> Also i need know the size of a message (i use sendmail/milter) Sendmail
> have this data but i do not know how i can get this data. I try with
> read_commands_file();  $SendmailMacros{} but no have the size and no have
> info about recipient and sender than i can use in filter_sender.
> $SendmailMacros in this point (filter_sender) i use authen for authid.

The only reliable way is to measure the size of the file ./INPUTMSG
from filter_begin

Regards,

David.



More information about the MIMEDefang mailing list