HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] relayfax - FAX ERROR: You do not have permission to fax



Im using relafax with Hylafax and I keep getting the following error message (from procmail.log), there is a procmail Match at the line * ! $PASSWDCHECK ?? ^^$RETURNPATH $FAXPASSWORD^^
 
The log is as follows:
 
procmail: Assigning "LOGABSTRACT=all"
procmail: Executing "grep -e "return-path" -i | sed "s/^.*<//;s/>//""
procmail: Assigning "RETURNPATH=lloyd.wittebol@netprof.co.uk
X-Return-Path: lloyd.wittebol@netprof.co.uk"
procmail: Executing "grep -e "^subject" -i | sed 's/[Ss]ubject. //g' | sed 's/\
//g'"
procmail: Assigning "MAILSUBJECT="
procmail: Executing "grep -e PRINTEDFAX | sed -e 's/PRINTEDFAX: //g'"
procmail: Assigning "PRINTEDFAX=TRUE"
procmail: Executing "egrep -e '^(FAX|CC)NUMBER' | sed -e 's/^.*NUMBER: \([^,]*\)
, "\([^"]*\)", "[^"]*"/\2\@\1 ¿/'"
procmail: Assigning "FAXDESTINATION=Lloyd@07973961289 ¿"
procmail: Executing "egrep -e '^(FAX|CC)NUMBER' | sed 's/^[^,]*, "[^"]*", "\([^"
]*\)"/\1 ¿/'"
procmail: Assigning "FAXTOCOMPANY=netprof ¿"
procmail: Executing "grep -e FAXPASSWORD | sed -e 's/FAXPASSWORD: //g'"
procmail: Assigning "FAXPASSWORD=lemon"
procmail: Executing "grep -e FROMNAME | sed -e 's/FROMNAME: //g'"
procmail: Assigning "FROMNAME=Lloyd Charles Wittebol"
procmail: Executing "grep -e FROMLINE | sed -e 's/FROMLINE: //g'"
procmail: Assigning "FROMMAIL=lloyd.wittebol@netprof.co.uk"
procmail: Assigning "FROMLINE=lloyd.wittebol@netprof.co.uk (Lloyd Charles Witteb
ol)"
procmail: Executing "grep -e NOCOVERPAGE | sed -e 's/NOCOVERPAGE: //g'"
procmail: [2126] Mon Jun  3 15:58:05 2002
procmail: Assigning "NOCOVERPAGE="
procmail: Executing "if [ `grep -e CONFIRMSEND | sed -e 's/CONFIRMSEND: //g'` =
TRUE ]; then echo "-R"; else echo; fi"
/bin/bash: [: =: unary operator expected
procmail: Assigning "CONFIRMSEND="
procmail: Executing "grep -e FAXSUBJECT | sed -e 's/FAXSUBJECT: //g'"
procmail: Assigning "FAXSUBJECT="
procmail: Executing "grep -e COMMENTS | sed -e 's/COMMENTS: //g' -e 's/%e/\\n/g'
"
procmail: Assigning "COMMENTS="
procmail: Executing "grep -e 'Content-Type.*name=' | sed -e 's/^.*name=//g' | se
d -e 's/\"//g'"
procmail: Assigning "ATTACHMENTNAME=fax.tif"
procmail: Assigning "METAMAIL_TMPDIR=/home/relayfax/faxtmp"
procmail: Executing "grep,-e,lloyd.wittebol@netprof.co.uk
X-Return-Path: lloyd.wittebol@netprof.co.uk lemon,/home/relayfax/faxuserlist"
procmail: Assigning "PASSWDCHECK="
procmail: Executing "hostname,-f"
procmail: Assigning "HOST=gastropod"
procmail: Executing "echo $[`grep ^PRIORITY | sed 's/^.* //g'`*255/100]"
procmail: Assigning "PRIORITY=127"
procmail: Executing "if [ -n "$PRIORITY" ]; then echo "-P $PRIORITY"; fi"
procmail: Assigning "PRIORITY=-P 127"
procmail: Executing "if [ -f "$RETURNPATH" ]; then echo "-C $RETURNPATH"; fi"
procmail: Assigning "COVERPAGE="
procmail: Executing "grep ^SCHEDULE: | sed 's/^.*\(..\).................$/\1/g'
| sed   -e 's/01/Jan/g' -e 's/02/Feb/g' -e 's/03/Mar/g' -e 's/04/Apr/g'        -
e 's/05/May/g' -e 's/06/Jun/g' -e 's/07/Jul/g' -e 's/08/Aug/g'  -e 's/09/Aug/g'
-e 's/10/Oct/g' -e 's/11/Nov/g' -e 's/12/Dec/g'"
procmail: Assigning "SCHEDMO="
procmail: Executing "grep ^SCHEDULE: | sed "s/^.*...\(.......\).\(........\)$/\2
 $SCHEDMO \1/g""
procmail: Assigning "SCHEDULE="
procmail: Executing "if [ -n "$SCHEDULE" ]; then echo $SCHEDULE;        else ech
o "now + 1 minute"; fi"
procmail: Assigning "SCHEDULE=now + 1 minute"
procmail: Match on ! "^^lloyd.wittebol@netprof.co.uk
X-Return-Path: lloyd.wittebol@netprof.co.uk lemon^^"
procmail: Executing " (formail -r -A"X-Loop: $USER@$HOST" ; \
        echo "FAX ERROR: You do not have permission to fax.") | $SENDMAIL -t"
procmail: Error while writing to " (formail -r -A"X-Loop: $USER@$HOST" ; \
        echo "FAX ERROR: You do not have permission to fax.") | $SENDMAIL -t"
procmail: Assigning "LASTFOLDER= (formail -r -A"X-Loop: $USER@$HOST" ; \
        echo "FAX ERROR: You do not have permission to fax.") | $SENDMAIL -t"
procmail: Locking "faxtmp.lock"
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
procmail: Unlocking "faxtmp.lock"
procmail: Notified comsat: "relayfax@0:/dev/null"
From lloyd.wittebol@netprof.co.uk Mon Jun 03 15:58:04 2002
 Subject:
  Folder: /dev/null        
 
end of log:
 
It appears to be ignoring my password despite both passwords and username@domain  being correct           
 
If I comment out the lines
 
:0
* ! $PASSWDCHECK ?? ^^$RETURNPATH $FAXPASSWORD^^
#* ! ^FROM_DAEMON
#* ! ^X-Loop
{
 :0
 | (formail -r -A"X-Loop: $USER@$HOST" ; \
        echo "FAX ERROR: You do not have permission to fax.") | $SENDMAIL -t
 
 :0:faxtmp.lock
 /dev/null
}
it works but theres no password needed to send faxes                              
 
anyone got any ideas
 
regards
 
Lloyd



Project hosted by iFAX Solutions