[Pymilter] Getting more header information

Stuart D. Gathman stuart at bmsi.com
Fri Nov 18 16:19:10 EST 2011


On Fri, 18 Nov 2011, durwin at mgtsciences.com wrote:

> I want to get the recipient address but can't seem to.  I have this in my
> sendmail.mc.
> 
> define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, {i}, {mail_mailer},
> {mail_addr}, {rcpt_mailer},  {rcpt_addr}, {auth_authen}, {auth_type},
> {if_addr},  {_}')dnl

auth_authen is not available in envrcpt (the above is wrong).  It should be
available in envfrom by default.

> then using this to get the iformation.
> 
> self.getsymval('{auth_authen}')
> 
> but when I print the results it comes out 'None'.  I tried it from within
> envfrom.  What am I missing?

None is correct when no authentication has taken place.

--
 	      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