procmail
[Top] [All Lists]

problem with mail delivery

2000-03-19 17:52:24
Hi,

I just set up procmail according to your quick setup page.
I use postfix as mail transfer agent.
Now procmail is my mda.
Okay.... as a user i have the file $home/.procmailrc
In there is this:

# Set to yes when debugging
VERBOSE=no

# Remove ## when debugging; set to no if you want minimal logging
## LOGABSTRACT=all

# Replace $HOME/Msgs with your message directory
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some news clients, such as slrn & nn, use $HOME/News
MAILDIR=/var/mail/mutt       # Make sure this directory exists!

# Directory for storing procmail-related files
PMDIR=$HOME/Procmail

# Put ## before LOGFILE if you want no logging (not recommended)
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/testing.rc
INCLUDERC=$PMDIR/lists.rc

However, for example as user mipam the mail is now delivered to /var/mail/mipam 
???
I dont understand why..
Also i made the dir $home/Procmail
In there is testing.rc
Which contains:

:0:
* ^Subject:.*test
in-testing

However, when i send a mail with title procmail testing then the mail still is 
delivered in the /var/mail/mipam file instead of the in-testing file.
Now I use postfix as mta and i told postfix that procmail is the mda.
I guess i did that right.
Now here is the output from the log in ./Procmail/log:

procmail: Couldn't read "/home/mipam/Procmail/lists.rc"
From mipam(_at_)ibb0021(_dot_)ibb(_dot_)uu(_dot_)nl  Mon Mar 20 01:24:23 2000
 Subject: blabla
   Folder: /var/mail/mipam

In the maillog file is:

Mar 20 01:24:23 ibb0021 postfix/pickup[4705]: A61E0F34: uid=1000 from=<mipam>
Mar 20 01:24:23 ibb0021 postfix/cleanup[4806]: A61E0F34: message-id=<20000320012
423(_dot_)A4800(_at_)ibb0021(_dot_)ibb(_dot_)uu(_dot_)nl>
Mar 20 01:24:23 ibb0021 postfix/qmgr[4706]: A61E0F34: 
from=<mipam(_at_)ibb0021(_dot_)ibb(_dot_)uu
.nl>, size=588 (queue active)
Mar 20 01:24:24 ibb0021 postfix/local[4808]: A61E0F34: 
to=<mipam(_at_)ibb0021(_dot_)ibb(_dot_)uu(_dot_)
nl>, relay=local, delay=1, status=sent ("|/usr/local/bin/procmail")

I want procmail to deliever the mail into /var/mail/mutt (yes mutt is my mua).
Can anyone tell what i did wrong here?
Bye,

Mipam

<Prev in Thread] Current Thread [Next in Thread>
  • problem with mail delivery, Mipam <=