christian(_dot_)stalberg(_at_)acterna(_dot_)com writes:
I am trying to get procmail 3.15.1 working on a sun ultra sparc running 2.5.1.
I tested my .forward file and it seems to be working
# /lib/sendmail -v procuser </dev/null
Warning: .cf file is out of date: sendmail 8.10.1 supports version 9, .cf file
is version 8
/home/procuser/.forward: line 1: forwarding to "|IFS=' ' && exec
/usr/local/bin/procmail -f || exit 75 #procuser"
"|IFS=' ' && exec /usr/local/bin/procmail -f || exit 75 #procuser"...
Connecting to prog...
"|IFS=' ' && exec /usr/local/bin/procmail -f || exit 75 #procuser"... Sent
...but procmail is not. When I ran the following test
# procmail DEFAULT=/dev/null VERBOSE=yes /dev/null </dev/null
procmail: [1893] Wed Feb 21 09:24:47 2001
procmail: Rcfile: "/dev/null"
procmail: Assigning "MAILDIR=/"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
Folder: /dev/null
I see that "MAILDIR=/" which is incorrect is it not? Does this indicate that
procmail cannot find the .procmailrc file?
In procmail, assignments to MAILDIR change procmail's working directory.
If VERBOSE is on during its startup, procmail will an assignment to
MAILDIR to indicate that it's changing directories.
So, why is it changing to "/"? Because that's root's home directory,
and you're running procmail as root without any of the options that
would make it become a different user.
What happens when you try running procmail as user "procuser"? What are
the permissions on ~procuser and ~procuser/.procmailrc? Do you set
LOGFILE at the top of ~procuser/.procmailrc, and if so, has that file
appeared?
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail