16 Dec
2005
16 Dec
'05
11:43 a.m.
Miquel van Smoorenburg:
On Wed, 2005-12-14 at 09:45 +0100, Jeroen Scheerder wrote:
Now if there were a way in which LDA could be used in conjunction with a site-wide filter that chains procmail whenever a user has a .procmailrc, that might be a nice step. You'd get LDA delivery for those without their own procmail, and procmail delivery for those with, right?
If you're using the exim mailserver you can just check for a .procmailrc in the users homedir, call procmail if it's there and call dovecot-lda if it isn't.
Or write a simple perl script as delivery agent that does this.
How about running LDA, in conjunction with a system-wide SIEVE script that invokes procmail as a filter if the presence of $HOME/.procmailrc is detected?