Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to give any user his own procmail which is separated from other users?
eg:
user A save his spam in /home/A/mail/spam
user B save his spam in /home/B/mail/sapm
user C save messages filtered as virus in /home/C/mail/virus
Currently, these UMBC systems are already running Procmail.
All you need to do is compose a special file, called .procmailrc (don't forget that leading dot!),
which describes the sorting criteria.
Once you have this file in your $MAIL directory, Procmail will automatically be
run on any incoming mail you receive
So I'd say just but a seperate .procmailrc file into the users $MAIL dir.
Last edited by zhjim; 07-08-2009 at 03:52 AM.
Reason: nicen it
Last reply on this thread. Statements like "Not enough". "will need you in further steps" are so ... Guys like you really strat to piss me off!
Add the .procmail file to the /etc/skel directory and it while magicly be copy to every new user dir.
And if you ever happen to have 2000 users think about using a simple bash script with a for loop.
Last reply on this thread. Statements like "Not enough". "will need you in further steps" are so ... Guys like you really strat to piss me off!
Add the .procmail file to the /etc/skel directory and it while magicly be copy to every new user dir.
And if you ever happen to have 2000 users think about using a simple bash script with a for loop.
first, sorry dude
second, am too weak in shell scripting, do I need To add .procmail file in /etc/skel and write a shell script "both of them", or just do one of them?
thanks in advance
yes I did, but the dovecot can't dealing with the new path of the INBOX, and I need to use the dovecot to read SPAM and VIRUS files too, what to do, please help
yes I did, but the dovecot can't dealing with the new path of the INBOX, and I need to use the dovecot to read SPAM and VIRUS files too, what to do, please help
Can't you change the PATH to the inbox in procmailrc?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.