OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ralf Hildebrandt (Ralf.Hildebrandtcharite.de)
Date: Fri Nov 02 2001 - 00:37:15 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Fri, Nov 02, 2001 at 12:32:42AM -0600, Austad, Jay wrote:
    > Ok, expanding on something I asked in a previous message, how hard would it
    > be to modify Postfix so I could put something like:
    > X-Queue-Lifetime: 86400
    >
    > into the header of messages, and have postfix bounce it after that period of
    > time instead of the default time in the config files?

    Does it need to be bounced or can the message be discarded?
    If the latter is OK, simply add a header like this:

    X-Message-TTL: ttl

    and run a cron job every 5 minutes to remove all queuefiles where
    current time > ttl

    -- 
    Ralf Hildebrandt                            Tel.  +49 (0)30-450 570-155
                                                Fax.  +49 (0)30-450 570-916
    Only through hard work and perseverance can one truly suffer.
    

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users