Prev: SASL and auxprop errors
Next: Exim & RFC compliant
From: Victor Duchovni on 20 Jul 2010 12:29 On Tue, Jul 20, 2010 at 10:14:01AM +0200, Louis-David Mitterrand wrote: > 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. The subject probably gets RFC2049 (re-)encoded by an MTA between your Postfix server and mailbox server. You need to record the original Subject, perhaps by putting the message on HOLD or otherwise capturing a copy before delivery to other MTAs. > Does postfix first decode the =?UTF-8? before matching? or did I miss > something else? No, Postfix does not decode the subject. -- Viktor.
|
Pages: 1 Prev: SASL and auxprop errors Next: Exim & RFC compliant |