HylaFAX The world's most advanced open source fax server

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

Re: mail to fax gateway: mailer died with signal 13



At 13:07 06/04/1998 GMT, "Eloy A. Paris" wrote:
>Hi,
>
>I'm setting up a mail to fax gateway but am getting an error message I
>am unable to troubleshoot or debug.
>
>The Hylafax server is running fine under all situtations (when faxing
>from whfc, when feeding faxmail though a procmail recipe with mails I
>receive, etc.).
>
>However, when I send messages to user@number.fax the mail queue shows
>that the fax mailer died with a signal 13:
>

This problem has cropped up in this mailing list before; however, no
solutions have been posted. David Wooley in an email dated 3 Oct 97
thought that on Linux it meant :

>that a write to a pipe failed because a downstream reader closed it
>prematurely.  It is also SIGPIPE on SCO Unix, so it is probably fairly
>standard.)

I did a grep of the HylaFAX sources and didn't find an exit(13) in there,
so I do not think it is faxmail or others. The probable area to have a 
look is either the calling of the notify script or procmail if you are 
using procmail as the local mail delivery agent.

To turn on debugging for procmail, add the following to the top of your
/etc/procmailrc file :

	VERBOSE=on
	LOGFILE=/var/log/proclog

( or whatever logfile name you fancy ) and have another try and see what
procmail thinks.

For notify, you should be able to see invocation of the script in your
system logs  -  this extract is from my /var/log/messages :

derrick FaxSend[4563]: SEND FAX: JOB 43 DEST 01159245224 COMMID 00000046
derrick FaxQueuer[285]: NOTIFY: bin/notify "doneq/q43" "done" "2:02"

The another possibility is to turn off the notification with the tag :

	Notify: none

in the /usr/local/lib/fax/hyla.conf file and see if that makes any
difference ( I'm really guessing here ).

In summary, its 'general troubleshooting mode' on this one, and I hope
there is something in the above which will help. 

Please let us know how you get on; the answer deserves an entry in the
FAQ.

Good luck,
Phil Watkinson,
Boston, UK.




Project hosted by iFAX Solutions