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] Notify fax sent



Am 14.05.2006 20:02:30 schrieb(en) Arch. Giulio Nuti:
lookink into setup.cache

ENCODING='base64'
MIMENCODE='/usr/bin/mimencode'

Does /usr/bin/mimencode exist?
(I assume yes since you told us that you get mails with attachments for received faxes.)


root@server2:/var/spool/hylafax/etc# cat FaxDispatch |more
FILETYPE=pdf;
SENDTO=FaxMaster;

root@server2:/var/spool/hylafax/etc# cat FaxNotify
RETURNFILETYPE=pdf;
NOTIFYFAXMASTER=yes;

This should be NOTIFY_FAXMASTER=yes but that's not related to your problem.


ENCODING=base64;

This is not necessary but does not hurt.



To debug your problem you could try the following:


1. Send a fax, wait until the job is finished and look for a line with the notify command line in your logfile.
2. Call this command manually and look for error messages.
If the error is not yet clear:
3. Add a line "set -x" to your notify script after the first line and call this command again.


If 2. and 3. do not show an error:

4. Add these 3 lines before the "set -x" line:

exec >> /tmp/notify.log 2>&1
date
echo $0 $*

(Please ask, if you need some explanation of these shell commands.)

5. Send a fax and wait until the job is finished
6. Look for an error message in /tmp/notify.log


Bodo


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions