procmail
[Top] [All Lists]

Post Delivery Procmail Redelivery

2002-09-10 13:05:22
Running Postfix, OpenLDAP, CourierIMAP, Squirrelmail, Virtual Domains,
Virtual Users.

All users are under /home/vmail/domains
All users are owned by vmail, group vmail.

Since we are using Postfix's 'virtual' transport map there is no room in
the mechanism to add a filter, and since it is virtual making filters is
sometimes more difficult.

Problem: I need the sorting of certain role-mailboxes that have become
shared since very very few clients support the sorting of shared folders
since they are not considered 'incoming mail'.  This lack of support binds
me in a nasty place.

I need to create post MTA delivery to read the files off a directory
(maildir), and reprocessing them through procmail.  Those things not
processed will be dumped back to where they were to begin with.

Be like..

/home/vmail/domains/domain.com/john.doe/new
moves mail to /home/vmail/domains/domain.com/john.doe/bak
each file is fed through procmail with its own -m <conf>
need an exception rule to deal with rules not processed back to john.doe/new
while the rest of the messages go off to their resepective places
(/home/vmail/domains/global/shared/example1..2..whatever/new)
all retaining original filenames

I'm polling to see if anyone has either done this idea before, has
opinions on it, has possible implementation ideas, etc.  I know it sounds
bassackwards and I'll create the solution one way or another but some help
or pointers are surely appreciated.

-a


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Post Delivery Procmail Redelivery, Andy Ciordia <=