Re: [Exim] Exim w/virtual users and procmail

Top Page
Delete this message
Reply to this message
Author: Derek Simkowiak
Date:  
To: Adam Israel
CC: exim-users
Subject: Re: [Exim] Exim w/virtual users and procmail
> allow for procmail per virtual user. I don't mind having to maintain the
> .procmailrc for each user, since they'll be fairly standard for the majority
> of users.


    You can have a "global" procmailrc at /etc/procmailrc, and then
let customers edit their own personal .procmailrc on an as-needed basis.


> The goal of this is to be able to sort mail to specific folders per user,
> i.e., moving all mail tagged as spam (via spamc) to a spam folder. If
> there's a better solution to this than procmail, I'm all ears.


    Exim has its own filtering that can reside in, say, a .forward
file, but does not support the Maildir format (which procmail does).
Check the Exim docs for more on Exim's built-in filtering.


> the list archives and googling haven't resulted in any answers to the
> procmail question.


    I'm using it right now to deliver to Maildirs.  I haven't done the
filtering side of things yet (but I have no reason to think I'll have any
problems, procmail is already doing the delivery).  I'm going to offer a
web-based interface for editing the .procmailrc files.


    Procmail is fairly expensive to launch for every email.  My view
on this is that processing power is cheap, in fact, one of the cheapest
components in the system.  (I'm doing a load-balanced setup so I can add
$1500 nodes on an as-needed basis.)



--Derek