Madhur Kumar Tanwani schreef:
The approach requires me to know the name of the file that the
delivery agent has just delivered.
Change the approach.
if a new mail comes in, qmail hands it over to the MDA and after
the MDA completes the delivery (moves the mail to "new"),
That 'moves the mail to "new"' gives me the shivers. Please call it
"maildir delivery" or something alike.
I should be
in a position to know the filename which the MDA just delivered. I
could use this filename, then to do the processing that I want.
Insert procmail, and you can process the contents before (or while,
using a copy) the message is delivered.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail