Hello All,
Per Stephen's email, 'am forwarding this question to the Procmail
mailing list. Appreciate your input sent to me directly.
--
Sri Sriram <shrim(_at_)thunder(_dot_)ocis(_dot_)temple(_dot_)edu> wrote:
I have exchanged mail between you and me awhile back when I was on the
procmail list. I have a question here, wondering if procmail can handle
this:
Yes, procmail can handle it. It's not even that difficult.
Repeat this question on the procmail mailinglist.
---------------------
I would appreciate deeply if anyone of you know if there is such
script which will hold off all the incoming mail from a
certain "From:" address sent to a user between 10:00 PM to 7:30 AM
(next day) and resend them back to the same user next day at 7:31 AM.
with original mail headers intact.
Bascically here's the flow:
If From="john(_dot_)doe(_at_)pizza(_dot_)com" and $TIME is between 10:00 PM
and 7:30 AM,
mv ~/mail/pending/mail.1 ~/mail/pending/mail.1+1
Save newmail to ~/mail/pending/mail.1
endif
Next I'll have another script which runs in cron, and looks for the
existence of the ~/mail/pending/mail.* and resends them back to the
$USER one by one till each of 'em is delivered when $TIME = 7:31 AM
Cheers...
--
___ _ _ _ _ _ _ _
| _ ) ___| | | /_\| |_| |__ _ _ _| |_(_)__ || N. Sriram (Sri)
| _ \/ -_) | | / _ \ _| / _` | ' \ _| / _ || System Administrator
|___/\___|_|_| /_/ \_\__|_\__,_|_||_\__|_\__| || nsriram(_at_)bani(_dot_)com
N E T W O R K I N T E G R A T I O N || (610) 993 - 6482