On 2013-08-07 Wed 09:03 AM |, Tim Milstead wrote: > > I would like to send emails, with a subject that matches a regular > expression (or wildcard), at the end of the day (e.g. 11pm) instead of > immediately. > > Is this possible and how do I do it? > > I'm guessing that queue would survive the postfix service being > restarted or offline for a while? >
Use cron(8) or at(1) to drive a perl/shell/python/whatever script that creates the mail @11pm. Inside the script, pipe the mail body into mail(1): echo "blah blah" | mail -s [subject] to@address another@ddress .... Doesn't matter if postfix is down at the time. -- Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7