The Friday 2004-01-30 at 12:17 +0200, Hans du Plooy wrote:
On Thursday 29 January 2004 23:59, Carlos E. R. wrote:
Exactly. That's why I said that moving mail to a folder should be defined on the user's .procmailrc file, not on /etc/procmail.
OK, but then, how do I tell procmail to use ~/.procmailrc for one user and /etc/procmailrc for the rest?
That's automatic. Procmail first processes /etc/procmailrc, and then goes to the user to whom the present email is destined, and processes his ~/.procmailrc file, it it exists.
Having to make a .procmailrc for each user won't always be ideal.
If they are real users on the system, it is up to them to decide. If they are not real users, but you act as a relay or mail server, then yes, it is impractical. There are ideas for that on the spamassassin site, I think. Spamassassin is designed to be run by each user: the idea is that what one users considers spam, another one doesn't. Therefore, each users should have his own definitions and configurations. That is impractical for a server: now it is possible to use spamassassin with an SQL database. I know nothing of this, only that it exists. -- Cheers, Carlos Robinson