procmail
[Top] [All Lists]

Re: can't get grep txt file-conditional forward to work

2006-02-08 03:32:39
On Tue, 7 Feb 2006, ahester(_at_)galacticltd(_dot_)com wrote:

R.G. Ball wrote:



Have you turned on verbose logging for this recipe to see what procmail
says it is doing?

Rich

____________________________________________________________


I turned logging on and sent a message that shouldn't match the grep
condition and of course it was forwarded anyway.  What database is the
log referring to with the permission error?

procmail: [28197] Tue Feb  7 13:41:22 2006
procmail: Locking "Mailbox.lock"
procmail: Assigning "LASTFOLDER=Mailbox"
procmail: Opening "Mailbox"
procmail: Acquiring kernel-lock
procmail: Unlocking "Mailbox.lock"
procmail: Executing
"/var/www/bin/lurker-index,-c,/var/www/lurker.conf,-l,galactic,-m"
procmail: Assigning "LASTFOLDER=/var/www/bin/lurker-index -c
/var/www/lurker.conf -l galactic -m"
procmail: Executing " formail -x"From" -x"From:" -x"Sender:" \
     -x"Reply-To:" -x"Return-Path:" -x"To:" \
     | egrep -is -f forward"
opening database: Permission denied

        Did you check the permission of the file "forward"?
        Who is the owner of the file?
        Did you try to run the same from command line?

formail -x"From" -x"From:" -x"Sender:" -x"Reply-To:" -x"Return-Path:" 
-x"To:" < TheMessage | egrep -is -f forward

        As root? As regular user?

        Btw. what is the format of the list?  Including [><] or not?

Bye,
  Udi


procmail: Match on " formail -x"From" -x"From:" -x"Sender:" \
     -x"Reply-To:" -x"Return-Path:" -x"To:" \
     | egrep -is -f forward"
procmail: Executing 
"/usr/sbin/sendmail,-oi,ahester(_at_)galacticmarketing(_dot_)com"
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -oi
ahester(_at_)galacticmarketing(_dot_)com"
From ahester(_at_)galacticltd(_dot_)com  Tue Feb  7 13:41:22 2006
Subject: test
 Folder: /usr/sbin/sendmail -oi
ahester(_at_)galacticmarketing(_dot_)com             1209

Thanks
Andy


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail