Hylafax Mailing List Archives

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

Re: [hylafax-users] One fax, two e-mails



Paul van der Vlis wrote:

Lee Howard schreef:


Paul van der Vlis wrote:



I try to send received faxes as PDF. This works, but the faxmaster gets
2 messages. One message what tells that the PDF was send to
faxmaster@localhost, and one with the PDF...

What is a good way to change the config so, that only the message with
the PDF will be send?

# /var/spool/hylafax/etc/FaxDispatch
FILETYPE=pdf;
SENDTO=faxmaster@localhost;



Change that last line to:

SENDTO=FaxMaster



Thanks for your answer, but it seems not to help.



In bin/faxrcvd there is this code:


   #
   # Don't send FaxMaster duplicates, and FaxMaster may not even
   # want a message at all, depending on NOTIFY_FAXMASTER.
   #
   case $NOTIFY_FAXMASTER$MSG in
       never*)         NOTIFY_FAXMASTER=no;;
       errors)         NOTIFY_FAXMASTER=no;;
       *)              NOTIFY_FAXMASTER=yes;;
   esac
   if [ "$TOADDR" != "$SENDTO" -a "$NOTIFY_FAXMASTER" != "no" ]; then

This is specifically coded to prevent sending duplicates when TOADDR and SENDTO are the same. Notice that TOADDR=FaxMaster early in the script. Thus if SENDTO=FaxMaster also (captialization is important here) there will not be a duplicate message sent. Furthermore, NOTIFY_FAXMASTER=never can be used for the same purpose. However, if TOADDR and SENDTO are different and if NOTIFY_FAXMASTER=errors, then you won't normally get duplicates except for when there is an error... and that's probably not what you want, either.

So double-check that

SENDTO=FaxMaster

and that TOADDR=FaxMaster also. Capitalization is important.

Lee.


____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services