On 14.01.2015 17:49, Don Armstrong wrote:
> Can you try switching from confMILTER_MACROS_ENVRCPT to
> confMILTER_MACROS_ENVFROM ? If that fixes this up, I'll change the
> recommendation.
>
> IE, add:
>
> define(`confMILTER_MACROS_ENVFROM',`b')dnl
>
> and remove b from ENCRCPT.
>
> I imagine that somewhere in the code, sendmail falls back to the
> date/time it started instead of the current time if it's unable to get a
> correct date.
No luck with that. I had
define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name},
{if_addr}')dnl
define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits},
{cert_subject}, {cert_issuer}')dnl
define(`confMILTER_MACROS_ENVFROM',`{auth_authen}, b')dnl
define(`confMILTER_MACROS_ENVRCPT',`i, j, r, v, Z, _')dnl
Still, the date in the Received: headers sometimes is bad (sendmail startup
time).
But then I also removed the b from confMILTER_MACROS_ENVFROM.
This fixes the problem. The date still comes from sendmail, but
now it is correct. (Probably because of the b in
confMILTER_MACROS_CONNECT).
Maybe spamass-milter should always rely on its own system
time here.... that should be the same as the one from
sendmail. I suppose.
On a side note, please also add recommandation regarding the
'{auth_authen}' macro to the documentation. Otherwise the -I
option will not work.
moritz
--
aldebaran Programmierung & IT-Lösungen GmbH
Softwareentwicklung Individualsoftware
mail: [email protected] http://www.aldebaran.de
Tel: 0511-270 416-0 Fax: 0511-270 416-33
Adresse: Hanomaghof 2 Ort: D-30449 Hannover
Geschäftsführung: Ursula (Usch) Wildt - Moritz Both
Handelsregister: Amtsgericht Hannover HRB 56 991
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]