LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Procmail not filtering (https://www.linuxquestions.org/questions/linux-networking-3/procmail-not-filtering-201839/)

WiWa 07-06-2004 02:22 PM

Procmail not filtering
 
I'm trying to configure fetchmail and procmail. I see mails coming in through fetchmail. Procmail is supposed to filter the mails and deliver them in the correct mailbox. However, all my emails come in into the INBOX instead of the distinct mailboxes. I have googled a lot about procmail and fetchmail, but all sources seem to be doing the same as I'm doing.

All my mail comes in the /var/spool/mail directory. In my home directory (/home/wim) I have made a "Mail" folder, in which I created:

wim => /home/wim/Mail
elke => /home/wim/Mail
others => /home/wim/Mail

and it automatically made: inbox, sent-mail, trash, ... in that same Mail folder


Can anyone help my find out what is wrong here...?

Here are my files:
-----------------------------------------------------------------------------------------------------------------------------------
.fetchmailrc --------- -rwx--x--- .fetchmailrc (in /home/wim/)

set postmaster "wim"
set bouncemail
set no spambounce
set properties ""
poll pop.mail.com.
with protocol pop3
username "user" password "123" is wim
;
keep
-----------------------------------------------------------------------------------------------------------------------------------

.procmailrc ---------- -rwxr-xr-x .procmailrc (in /home/wim/)

VERBOSE=on
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$HOME/bin
MAILDIR=$HOME/Mail
PMDIR=$HOME/.Procmail
ORGMAIL=/var/spool/mail/$LOGNAME
DEFAULT=$MAILDIR/others
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/testing.rc
INCLUDERC=$PMDIR/catchmail.rc
-----------------------------------------------------------------------------------------------------------------------------------
.forward ----------- -rwxr-xr-x .forward (in /home/wim/)

"|exec /usr/bin/procmail"

-----------------------------------------------------------------------------------------------------------------------------------
.testing.rc ---------- (in /home/wim/.Procmail)

:0:
* ^Subject:.*test
elke

-----------------------------------------------------------------------------------------------------------------------------------
.catchmail.rc ---------- (in /home/wim/.Procmai)l

:0:
wim


All times are GMT -5. The time now is 10:44 PM.