Hi,

I can't seem to get postfix to match that header:

        Subject: 
=?UTF-8?Q?Vos_Factures_arrivant_a_=C3=A9ch=C3=A9ance_-_FR0905249?= 

with this /etc/postfix/header_check entry (PCRE):

/^(Subject: 
=\?UTF-8\?Q\?Vos_Factures_arrivant_a_=C3=A9ch=C3=A9ance_-_FR0905249\?=)/ REJECT

yet a: 

        postmap -q 'Subject: 
=?UTF-8?Q?Vos_Factures_arrivant_a_=C3=A9ch=C3=A9ance_-_FR0905249?=' 
/etc/postfix/header_check

does match.

Does postfix first decode the =?UTF-8? before matching? or did I miss
something else?

Thanks,


Here are log entries:

Jul 20 09:13:47 zenon postfix/smtpd[14052]: AC5BA5B93D146: 
client=aussmtpmrkps312.us.dell.com[143.166.224.212]
Jul 20 09:13:48 zenon postfix/cleanup[14960]: AC5BA5B93D146: 
message-id=<2301567.1279610009277.javamail.ora...@ausgoprdap08.us.dell.com>
Jul 20 09:13:48 zenon postfix/cleanup[14960]: AC5BA5B93D146: warning: header 
Subject: =?UTF-8?Q?Vos_Factures_arrivant_a_=C3=A9ch=C3=A9ance_-_FR0905249?= 
from aussmtpmrkps312.us.dell.com[143.166.224.212]; from=<x...@dell.com> 
to=<x...@example.com> proto=ESMTP helo=<aussmtpmrkps312.us.dell.com>
Jul 20 09:13:48 zenon postfix/cleanup[14960]: AC5BA5B93D146: warning: header 
Content-Type: application/pdf; 
??name=Document_FR_REL_ENTP_9230813_2010-07-20_PR1.pdf from 
aussmtpmrkps312.us.dell.com[143.166.224.212]; from=<x...@dell.com> 
to=<x...@example.com> proto=ESMTP helo=<aussmtpmrkps312.us.dell.com>
Jul 20 09:13:48 zenon postfix/cleanup[14960]: AC5BA5B93D146: warning: header 
Content-Disposition: attachment; 
??filename=Document_FR_REL_ENTP_9230813_2010-07-20_PR1.pdf from 
aussmtpmrkps312.us.dell.com[143.166.224.212]; from=<x...@dell.com> 
to=<x...@example.com> proto=ESMTP helo=<aussmtpmrkps312.us.dell.com>
Jul 20 09:13:48 zenon postfix/qmgr[6879]: AC5BA5B93D146: from=<x...@dell.com>, 
size=14508, nrcpt=1 (queue active)
Jul 20 09:13:48 zenon postfix/local[14971]: AC5BA5B93D146: 
to=<x...@example.com>, relay=local, delay=18, delays=18/0/0/0.27, dsn=2.0.0, 
status=sent (delivered to command: /usr/bin/procmail -a "$EXTENSION")
Jul 20 09:13:48 zenon postfix/qmgr[6879]: AC5BA5B93D146: removed

Reply via email to