procmail
[Top] [All Lists]

RE: Auto Responder and Popusers

2001-07-30 12:51:12
The popuser account I testing on has a home directory, and it does run
the .procmailrc file because it generates the log file, and contains
information from the .procmailrc file contained in the popusers home
directory.  The only thing that popusers differ that I know of is by
group, and from my understanding this group is a special system built
group.  

Someone else responded saying this has been answered numerous times,
I've been searching for a couple hours now and haven't found it
discussed.  Maybe I'm using the wrong key words, or I'm not
understanding the solution even when I see it.  If you could point me
directly to it, I would much obliged.

-----Original Message-----
From: Peter Rose [mailto:peter(_at_)cyberscreen(_dot_)com]
Sent: Monday, July 30, 2001 12:01 PM
To: Carey Foushee
Cc: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
Subject: Re: Auto Responder and Popusers


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)?|da
e
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

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