procmail
[Top] [All Lists]

Procmail error writing files

2007-08-16 19:27:49
As this is my first post, so I would like to introduce myself as Jeremy
Lightstone, thank you all in advance, and offer my help whenever possible.

I am trying to get procmail to work with qmail and vpopmail to move messages
marked as [SPAM] to the appropriate folder.

I am trying to get output from a vpopmail binary application to write data to
a file, but i am getting file not found errors from procmail. I have tried a
few locations to write.
I believe the issue is with user permissions.

Here is a portion of my .procmailrc file


-----------------------------------------------
PATH=/bin:/usr/bin:/usr/local/bin
LOGFILE=/var/log/procmail
LOGABSTRACT=all
VERBOSE=on
COMSAT=no

VHOST=`/home/vpopmail/bin/vdominfo -n $HOST`
RANDOM_FILE="$$"
RANDOM_FILE="/home/vpopmail/domains/globaladsales.com/tmp/$RANDOM_FILE"

VALIAS=`"/home/vpopmail/bin/valias $EXT(_at_)$VHOST > $RANDOM_FILE"`

VALIAS=`"/bin/sed -e 's/$EXT(_at_)$HOST -> / /g' $RANDOM_FILE"`

-----------------------------------------------



Here is some of the error lines in my procmail error log.


-----------------------------------------------
procmail: Assigning "RANDOM_FILE=27773"
procmail: Assigning
"RANDOM_FILE=/home/vpopmail/domains/globaladsales.com/tmp/27773"
procmail: Executing ""/home/vpopmail/bin/valias $EXT(_at_)$VHOST > 
$RANDOM_FILE""
/bin/bash: /home/vpopmail/bin/valias 
j(_dot_)lightstone(_at_)globaladsales(_dot_)com >
/home/vpopmail/domains/globaladsales.com/tmp/27773: No such file or directory

-----------------------------------------------



All help on determining why procmail cannot write the file is appreciated. Let
me know if any am missing any necessary info in this email.
Thanks again.

Jeremy R. Lightstone
CTO & Creative Director // GlobalAdSales.Company
---------------------------------
636 Broadway, 3rd Floor, New York, NY 10012
Tel: 212.404.5700 ext 358
Cell: 646.315.1663
Email: j(_dot_)lightstone(_at_)globaladsales(_dot_)com
http://globaladsales.com
____________________________________________________________
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

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