|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Accept message and defer delivery
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Wed Nov 30 2005 - 09:05:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Nov 30, 2005 at 10:00:32AM -0500, Mutter, James wrote:
>
>
> All,
>
> What's the best way to have Postfix accept messages and defer delivery
> until a later, predetermined time?
Put in the "hold" queue using "HOLD" in an access(5) table or header/body
checks. Release it with "postsuper -H" at your convenience.
# Release all held mail, to be selective:
# postsuper -H - < list_of_queue_ids_one_per_line
#
postsuper -H ALL
# Optional if you can't wait for the next deferred queue scan:
#
postkick public qmgr D
> We've got a scenario where we would like to populate the outgoing queues
> with messages in the middle of night and defer delivery until sometime
> in the early morning/afternoon hours. The simple way seems to be to
> swap a new master.cf with a commented/uncommented smtp line, but it also
> seems a bit kludgy. Is there a more elegant way to accomplish this?
>
I once had a "DELAY" patch for this, but it never quite panned out to
a feature that warranted inclusion in the official release.
--
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:majordomo
postfix.org?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.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]