procmail
[Top] [All Lists]

Defer message delivery for a certain time

1998-05-20 16:49:38

Hallo,

I have a "problem" with several mailinglists that I'm subscribed
to. They generate a lot of messages and most of them will not be
read during the weekend when I'm in a different place than during
the weeks.

Now my idea was the following:

I'd want to have the delivery of these messages not done until
Monday evening if it's after Friday morning. This would save me
from receiving messages through my POP account that I would not
read or care for anyway.

Now there are certain alternatives:

a) Could this be simply done with lockfiles and how dangerous would
it be to keep mail delivering process alive and waiting for the
lockfile to be removed by some crontab call at the specified time.

I see my ISP really upset with about 200 procmail processes being
consumed during the weekend.

b) Could I deliver to a folder (how is that done, need I do more
than just specify the absolut path to it or need "mailboxes" some
more preparing?

If so. Would I be able to simply move the files created in a folder
(not another POP mailbox) into the dir that seems to represent my
POP or would this be dangerous in that it could overwrite already
existing files (could be solved I guess by renaming?). Or would the
POP not know how to handle this?

c) Could I re-send the message with some kind of asking for delay
to the sendmail (it's actually zmail or similar with my ISP) while
it's not the right time? I think this would be even worse than a)
since the mailq seems to be always empty with the machine involved
and this would not only create processes but consume processor time
in addition. But possible there are header informations that I just
do not know of?

d) Could I use a mailbox file that seems to be split-able by the
formail and resend the bunch when the crontab time has come. What
information would get lost during resending? I'm particulary worried
about the order of receiving the mail at the server. Misorder would
make it much harder to read the mailing list threads. Such could
occur if the mailer is not "fair" and formail ejecting the mails
very fast.

        Greetings, Kay Hayen


-- 
Owner and chief developer of KHS.

Creators of the modern patching technology BinPatch:

-Update multiple versions with one patchfile
-Process complete directories at once
-Autodetection chooses sources itself
-Handling renamed+modified files all alone

Visit BinPatch at http://kayhayen.com today.

<Prev in Thread] Current Thread [Next in Thread>