LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2004, 02:22 PM   #1
WiWa
Member
 
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IP Filtering wadesmart Ubuntu 1 08-04-2005 10:34 AM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
filtering Ammad Linux - General 2 03-19-2005 08:12 AM
Procmail not filtering tomac Linux - General 0 05-26-2004 03:15 PM
Sendmail Spam filtering and Virus filtering MrJoshua Linux - General 2 04-03-2003 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration