Today at 4:17pm, Paul Thomason expounded:

++ So I have this nice little application which creates a .procmailrc file
++ to autorespond to email sent to that users email account. Problem is,
++ the way its set up, it replies to each instance of email from that user.
++
++ Does anyone know how I amend the recipe to send the autoresponse to each
++ sender only once?
++ Then, for each subsequent message they send, no automatic message is
++ sent?

This rule keeps a list of the n most recent message ids. So if a single
message is sent to several mailing lists, I only get one copy. (E.g., if
you reply to this and send your reply to me and siglinux, I only see one
copy.)

:0 Wh: msgid.lock
| formail -D 16384 msgid.cache


If you use the -r flag (in addition to the -D flag), then it does the same
thing, but for the sender's email address instead of the message id.

I also suggest you look in the procmailex (5) man page. Actually, I think
the vacation autoresponder example could be adapted nicely to do what you
want.

HTH.

-Paul

-- 
Support bacteria -- it's the only culture some people have!


---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to