[H-GEN] Fetchmail, Postfix, IMAP and procmail problem

hphillips at 4ward.com.au hphillips at 4ward.com.au
Wed Sep 25 09:49:07 EDT 2002


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

I have Fetchmail collecting the incoming mail for me. Postfix delivering the outbound mail.
Courier-IMAP is making the mail available for the users to view.

All three are working really well, now I want to throw procmail into the process but
I can't get it to work.

My /etc/postfix/main.cf contains the following '/usr/bin/procmail -a $DOMAIN'

The /etc/procmail file contains the following lines

PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
PMDIR=$HOME/tmp
LOGFILE=$PMDIR/log

:0
Maildir/


I check the ~/tmp/log file and I find the following message.

>From hphillips at 4ward.com.au  Wed Sep 25 23:37:53 2002
 Subject: test mail
  Folder: Maildir/new/1032961073.12972_0.marvin.4ward.bogus                1336


So it appears that procmail is doing the right thing and placing the mail into the Maildir for me.
However, when I check the IMAP folder it does not contain the message.

If I comment out the line in the /etc/postfix/main.cf so that it doesn't use procmail the
mail gets delivered.

Has anyone been able to get procmail working with the Maildir format? Can you send me your procmailrc file?



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list