|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alex Bligh (alex
alex.org.uk)
Date: Thu Dec 06 2007 - 18:39:42 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wietse,
Thanks a lot. That works perfectly (though the device needs further surgery
I'm sure pcre can handle it).
Alex
--On 6 December 2007 18:49:27 -0500 Wietse Venema <wietse
porcupine.org>
wrote:
> Alex Bligh:
>> I have a deficient MUA (mobile device) which submits email via SMTP
>> like this:
>>
>> From: joebloggs
example.com
>>
>> rather than say:
>>
>> From: "Joe Bloggs" <joebloggs
example.com>
>>
>> As the MUA is not easily fixable, is there a mechanism where one can
>> rewrite only the display part of the header From: address?
>
> See the header_checks(5) REPLACE action (Postfix 2.2 and later).
>
> /From: *joebloggs
example\.com *$/
> REPLACE From: "Joe Bloggs" <joebloggs
example.com>
>
> Wietse
>
>
Alex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]