OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: feature request: delayed injection

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jun 06 2006 - 07:43:28 CDT


martin f krafft:

Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> Dear Wietse, dear all,
>
> Thank you for your reply, in which you point me to
>
> > man 1 at
>
> I do feel silly now for not giving more background.
>
> Of course I know at(1), but there are several reasons I don't want
> to use it:
> - it requires a shell process for every delayed mail echo
> "sendmail < my.msg" | at whenever
> - if some{thing,body} removes my.msg before at runs, tough luck.
> In fact, I don't really see a point why I should leave my.msg
> around. Of course, I could use a tempfile, which I'd have to
> delete afterwards.
> - at has a lot of overhead in general and is certainly not the
> right tool to offer delayed mail service to thousand of users
> (IMHO, YMMV).
>
> I am sure there are other reasons. Having this feature in postfix
> seems (to me, I am a layman) to be not very intrusive, yet clean and
> rather logical.

Use at to maintain a queue of jobs to execute at a specified time.

Use postfix to send mail.

        Wietse

> FYI: here's the source of the feature request:
> http://blog.madduck.net/geek/2006.06.06-delayed-mail
>
> --
> martin; (greetings from the heart of the sun.)
> \____ echo mailto: !#^."<*>"|tr "<*> mailto:" netmadduck
>
> spamtraps: madduck.bogusmadduck.net
>
> "in the figure of the president, george w. bush, the incompetence,
> stupidity, and sheer inhumanity that characterize so much of
> america's money-mad corporate elite find their quintessentially
> repulsive expression."
> -- journalist, aftermath of katrina
-- End of PGP section, PGP failed!