procmail
[Top] [All Lists]

Procmail Problems

2000-08-01 01:01:45
Hi,

I have some problems with procmail, and I can´t quite get it.
System Red Hat 6.1
Sendmail 8.9.3
Procmail 3.13.1
mail files are in /var/spool/mail

I have a user "support" that gets the mail it should be filtered. The
filtered mail should go to user "admin"

for .procmailrc and testing.rc see below

I get this error:  " procmail: Error while writing to "admin" "
Mail-file has 660 permisions, user: admin, group: mail, every mail-file has
the same permissions.

When I put "support" in group: mail, everything works fine, but I can`t do
this for all users.

I tried with a .forward file, but it doesn´t work. Here is the output:

550 /home/support/.forward: line 1: "IFS=' ' && exec /usr/bin/procmail -f-
|| exit 75 support"... User unknown

Any Ideas ?

Andrei
________________________________________________________
.procmailrc

# 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/spool/mail       # 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

testing.rc

:0
* ^Subject:.*test
admin



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>