Re: Rewrite 'Date' header to include timezone?

From: Victor Duchovni (no email)
Date: Mon Apr 02 2007 - 15:03:59 EDT

  • Next message: Noel Jones: "Re: Rewrite 'Date' header to include timezone?"

    On Mon, Apr 02, 2007 at 08:05:39PM +0200, Ralf Hildebrandt wrote:

    > /^Date:/ IGNORE

    better (pcre):

    if /^Date:/
    /^\w+:[\t\x20]*\w{3}, [ \d]?\d \w{3} \d{4} (\d\d:){2}\d\d [-+]\d{4}(?!\S)/ OK
    /^/ IGNORE Malformed date header
    endif

    -- 
    	Viktor.
    Disclaimer: off-list followups get on-list replies or get ignored.
    Please do not ignore the "Reply-To" header.
    To unsubscribe from the postfix-users list, visit
    http://www.postfix.org/lists.html or click the link below:
    <mailto:?body=unsubscribe%20postfix-users>
    If my response solves your problem, the best way to thank me is to not
    send an "it worked, thanks" follow-up. If you must respond, please put
    "It worked, thanks" in the "Subject" so I can delete these quickly.
    

  • Next message: Noel Jones: "Re: Rewrite 'Date' header to include timezone?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD