My experience on RH6.1 has been that you need a full user setup in the
directory containing .procmailrc - that is, the usual set of .bashrc and
so on skeleton files.
If these files are not available in a home directory, then delivery
defaults to the spool.
I ended up creating full accounts for my pop users but then restricting
their access privileges and so on.
HTH
Peter Rose
London UK
In message
<AE138E976AC66446BACDA29E4F74EB47D78B(_at_)titan(_dot_)CORDERNET(_dot_)COM>,
Carey Foushee <cfoushee(_at_)cordernet(_dot_)com> writes
I was able to use the basic autoresponder for real users on my linux 7.1
system running procmail 3.21 that was found in man procmailex. However,
when I put the same .procmailrc file into a popusers mailbox the log
file gave me an error. Since it fails on the writing the formmail line
I tend to think it must be a permission issue, but I'm not sure what
permissions are needed. Can anyone point me in the right direction?
Here is the reciepe:
:0 h c
* !^FROM_DAEMON
* !^X-Loop: carey(_at_)foushee(_dot_)cc
| (formail -r -I"Precedence: junk" \
-A"X-Loop: carey(_at_)foushee(_dot_)cc" ; \
echo "Mail received.") | $SENDMAIL -t
Here is the log file.
procmail: Match on ! "(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To:
Multiple recipients of
|(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|dae
mon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|
sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|y
stem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Match on ! "^X-Loop: carey(_at_)foushee(_dot_)cc"
procmail: Executing " (formail -r -I"Precedence: junk" \
-A"X-Loop: carey(_at_)foushee(_dot_)cc" ; \
echo "Mail received.") | $SENDMAIL -t"
procmail: Error while writing to " (formail -r -I"Precedence: junk" \
-A"X-Loop: carey(_at_)foushee(_dot_)cc" ; \
echo "Mail received.") | $SENDMAIL -t"
procmail: Assigning "LASTFOLDER= (formail -r -I"Precedence: junk" \
-A"X-Loop: carey(_at_)foushee(_dot_)cc" ; \
echo "Mail received.") | $SENDMAIL -t"
procmail: Locking "/var/spool/mail/carey.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/carey"
procmail: Opening "/var/spool/mail/carey"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/carey.lock"
procmail: Notified comsat: "carey(_at_)13390:/var/spool/mail/carey"
From rfoushee(_at_)aries(_dot_)cordernet(_dot_)com Mon Jul 30 11:04:49 2001
Subject: test again 5
Folder: /var/spool/mail/carey
550
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
"I don't like your fashion business mister"
- Leonard Cohen / First We Take Manhattan
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail