4 msgnested_header_checks
10 msgHotmail Problem

feedback request: scheduled delivery of messages
\ Justin McAleer (14 Jan 2008)
. \ Sandy Drobic (14 Jan 2008)
. . \ Justin McAleer (14 Jan 2008)
. \ Victor Duchovni (14 Jan 2008)

1 msgpkgsrc 'postfix-stress' option (Re: PATCH versi...
10 msgHow to enforce users send email with the real f...
15 msgCatchall setup problem with Virtual domains and...
2 msgquestion
5 msgrestrictions
5 msgproblems with virtual alias table
2 msgsome mails bounce with 'Name or service not known'
2 msgExternal recipients within same domain
2 msg~RE: stopping Spam with postfix
9 msgstopping Spam with postfix
17 msgMessages stuck in active queue
4 msgvirtual: Command as adress list
1 msgvariable quota policy ideas
2 msgHow to unistall postfix from compiling source(m...
1 msgBackup mx with local delivery and forwarding fo...
4 msgReceiving Mail with from mydomain.com from unkn...
10 msgWhich is the best soft for mailscanning?
Subject:Re: feedback request: scheduled delivery of messages
Group:Postfix-users
From:Victor Duchovni
Date:14 Jan 2008


 
On Mon, Jan 14, 2008 at 09:09:56AM -0500, Justin McAleer wrote:

> List, I'm looking for feedback or ideas regarding the following problem.
> I have been tasked with developing a way to schedule message delivery
> for future time in our webmail client. We use Squirrelmail (SQM
> hereafter), and it sends mail via our outbound Postfix servers (smtp auth).
>
> My initial idea was to have SQM add some custom header with the desired
> delivery time. I then use header_checks on the postfix servers to look
> for such a header, and if found, put the message on hold. A perl script
> would run via cron every so often, reading through the hold queue
> looking for the custom header, and when it's time for delivery, execute
> postsuper -r to requeue the message.

Have you considered the "at" command?

at 1pm <<'AT-ochC3f6Uhoa6OZxVpgBD'
sendmail -f "$sender" -it <<'MSG-ar20iQmv9/aRhn2fJ4XB'
... message_content ...
MSG-ar20iQmv9/aRhn2fJ4XB
AT-ochC3f6Uhoa6OZxVpgBD

the random tails of the two "here document" delimeters were generated with:

openssl rand-base64 15

--
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?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.


© 2004-2008 readlist.com