FIXED : [exim] missing from: and date: headers in smtpmode

Pàgina inicial
Delete this message
Reply to this message
Autor: Schwarz
Data:  
A: exim-users
Assumptes vells: Re: AW: [exim] missing from: and date: headers in smtpmode
Assumpte: FIXED : [exim] missing from: and date: headers in smtpmode
>
> > This did not work here.. maybe i did something wrong oder i
> misplaced it.
>
> If you have been manually adding Date: and Message-ID headers in the DATA
> ACL you might be surprised by the fact that this is too late for
> control=submission. This is because the submission mode header fixups
> occur after the header is received, which is before the DATA ACL runs. In
> most configurations control=submission should go in the RCPT ACL, though
> you should be aware that it's a global setting rather than per-recipient.



Fixed it :

local_delivery:
driver = appendfile
file = /var/spool/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add

  headers_add = ${if def:header_from:{X-Info: valid message}{From:
$return_path}}\n\
                ${if def:header_date:{X-Info: original Date}{Date: ${lookup
mysql {SELECT concat( curdate( ) , " ", curtime( ) )}}}}



The date replacement is not finished and the X-Info Header is more
workaround for ! , but
if anyone else needs it, make use of it .


Thx for all answeres...