[Pymilter] Getting more header information
Stuart D. Gathman
stuart at bmsi.com
Mon Nov 21 13:54:15 EST 2011
On Mon, 21 Nov 2011, durwin at mgtsciences.com wrote:
> That was just there from some experimentation. What I was looking for is
> the recipient address, the TO. Is that not rcpt_addr?
> IF so, I a not getting it.
The envelope recipient is passed to envrcpt. The contents of the To: header
field is not available at SMTP envelope time, but you can collect it
in the header callback. Macros are MTA dependent, but on sendmail the
rcpt_addr macro is the recipient address after virtualuser table aliasing.
--
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the Pymilter
mailing list