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.
it's "root" in my case
2- I created ~/.procmail directory and wrote inside it:
Code:
VERBOSE=off
MAILDIR=$HOME/mail # elm users might use $HOME/Mail instead
PMDIR=$HOME/.procmail
DEFAULT=/var/spool/mail/elflord
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/general.rc
# INCLUDERC=$PMDIR/other.rc
# add as many INCLUDERC's as you like
# end of .procmailrc
3- I created general.rc inside ~/.procmail directory and wrote inside it:
to put all messages received from system_username in /root/Desktop/test/INBOX. "INBOX is a palin file"
4- I executed the procmail binary and send message from system_user to root
and there is nothing working
I gave it the permissions and the output in /root/.procmail/log is:
Code:
From test@localhost.localdomain Mon Jun 29 18:00:35 2009
Folder: /var/spool/mail/root 601
From root@localhost.localdomain Mon Jun 29 18:01:31 2009
Folder: /var/spool/mail/root
thanks alot repo, now am designing my webmail, and am working in messages redirection, anti spam with spamassassin and virus scan with clamAV, appreciate your help and i will need you soon, I hope you to add me in your msn list: kazenova35@hotmail.com
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.