HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] mail2fax not running on Hylafax+ 5.4.2



Sorry, after further checking, I have this file mail2faxmail.1861 and the log file in /tmp folder.  Here is the error.  From the line, it said, command not found but I have sendfax and faxmail in /usr/local/bin folder.  Any idea?  Thanks!

 

 

[root@fax2 tmp]# cat mail2faxlog.1861

+ cp /tmp/mail2fax.1861/_message_ /tmp/mail2faxmail.1861

++ sed 's/^[^:]*: *//g'

++ sed q

++ grep -e '^subject:' -i /tmp/mail2fax.1861/_message_

+ JOBID=test

++ grep -e '^to:' -i /tmp/mail2fax.1861/_message_

++ sed q

+ TOLINE='To: "6049999999@xxxxxxxxxxxxxxxxx" <6049999999@xxxxxxxxxxxxxxxxx>'

++ grep -e '^from:' -i /tmp/mail2fax.1861/_message_

++ sed q

+ FROMLINE='From: Kane<kanew@xxxxxxxxxxxxxxxx>'

++ grep '<.*>'

++ echo To: '"6049999999@xxxxxxxxxxxxxxxxx"' '<6049999999@xxxxxxxxxxxxxxxxx>'

+ '[' 'To: "6049999999@xxxxxxxxxxxxxxxxx" <6049999999@xxxxxxxxxxxxxxxxx>' '!=' '' ']'

++ echo To: '"6049999999@xxxxxxxxxxxxxxxxx"' '<6049999999@xxxxxxxxxxxxxxxxx>'

++ sed -e 's/.*<\(.*[^@]*\)@.*>.*/\1/'

+ TONUMBER=6049999999

++ grep '<.*>'

++ echo From: Kane '<kanew@xxxxxxxx>'

+ '[' 'From: Kane <kanew@xxxxxxxx>' '!=' '' ']'

++ echo From: Kane '<kanew@xxxxxxxx>'

++ sed -e 's/.*<\(.*\).*>.*/\1/'

+ FROMPATH=kanew@xxxxxxxx

+ sendfax -vv -n -D -f kanew@xxxxxxxx -i test -d 6049999999

/usr/local/bin/mail2fax.sh: line 46: sendfax: command not found

+ faxmail -v -T kanew@xxxxxxxx

/usr/local/bin/mail2fax.sh: line 46: faxmail: command not found

+ cat /tmp/mail2fax.1861/_message_

cat: write error: Broken pipe

+ rm -rf /tmp/mail2fax.1861

+ exit 0

 

From: Kane
Sent: Wednesday, June 23, 2010 9:45 AM
To: hfax List
Subject: mail2fax not running on Hylafax+ 5.4.2

 

I am not able to use the “mail2fax” function on Hylafax+ 5.4.2 with “mail2fax.sh” script, I uncomment the following 3 lines but cannot see any file named “mail2faxmail.$$” in /tmp folder.  If the mail2fax.sh script file for Hylafax+ 5.2.9 can be used in Hylafax+ 5.4.2?  How can I diagnose the problem?  I can telnet to the PostFix server from my computer workstation to PostFix on Hylafax+ 5.4.2 server, therefore I believed that the smtp function on Hylafax+ server is workable.

 

 

set -x

exec > /tmp/mail2faxlog.$$ 2>&1

cp $RANDOMFAX/_message_ /tmp/mail2faxmail.$$

 

 

thanks!




This e-mail and any files transmitted with it are confidential and may contain privileged information. It is intended solely for the use of the individual to whom it is addressed and others authorized to receive it. If you are not the intended recipient you must not copy, distribute or use this e-mail or the information contained in it for any purpose other than to notify us. If you have received this message in error, please notify the sender immediately by reply e-mail and delete this e-mail from your system.



Project hosted by iFAX Solutions