Hylafax Mailing List Archives

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

Re: [hylafax-users] Notification not working.




Am 2005.08.01 10:00 schrieb(en) Bruce Whittaker:

>> But I don't get any email back to the user. Email is set up correctly
>> for the user and they are able to send it to themself. Notification
>> is up and running on another one of my boxes under AIX 4.3.3 (using
>> hylafax 4.1.6-rc3) and the only difference I can see between the two
>> boxes is that the 4.3.3 box has a fax user set up - it's not on the
>> new box.
>>
>> Any ideas on where to take this from here ?

>Look for error messages in the log files of your MTA.

OK I did that. I can see that notify is being called as follows,

Aug  1 17:52:19 cass4 FaxQueuer[45750]: NOTIFY: bin/notify "doneq/q103" "failed" "0:21"
Aug  1 17:52:20 cass4 FaxQueuer[45750]: NOTIFY exit status: 0 (9070)

>Call the notify command manually as user uucp and look for error
>messages. You should find the command line in syslog if your
>ServerTracing is high enough.

I did that an I recieved the following where there appears to be an awk error, some printf errors and an issue with recipient addresses. Has anyone seen this before ? Any ideas on fixes ?

$ sh -x bin/notify "doneq/q95" "failed" "1:19"
+ [ 3 != 3 -a 3 != 4 ]
+ test -f etc/setup.cache
+ QFILE=doneq/q95
+ WHY=failed
+ JTIME=1:19
+ NEXT=??:??
+ ENCODING=base64
+ MIMENCODE=mimencode
+ TTYCMD=tty
+ . etc/setup.cache
+ AWK=/bin/nawk
+ BIN=/usr/local/bin
+ CAT=/bin/cat
+ CHGRP=/bin/chgrp
+ CHMOD=/bin/chmod
+ CHOWN=/bin/chown
+ CP=/bin/cp
+ DPSRIP=/usr/local/sbin/ps2fax.exe
+ ECHO=/bin/echo
+ ENCODING=base64
+ FAXQ_SERVER=yes
+ FONTPATH=/opt/freeware/share/ghostscript/5.50:/opt/freeware/share/ghostscript/fonts
+ FUSER=/usr/sbin/fuser
+ GREP=/bin/grep
+ GSRIP=/usr/bin/gs
+ HFAXD_OLD_PROTOCOL=no
+ HFAXD_SERVER=yes
+ HFAXD_SNPP_SERVER=no
+ IMPRIP=/usr/lib/print/psrip
+ LIBDATA=/usr/local/lib/fax
+ LIBEXEC=/usr/local/sbin
+ LN=/bin/ln
+ MANDIR=/usr/local/man
+ MIMENCODE=base64-encode
+ MKFIFO=/bin/mkfifo
+ MV=/bin/mv
+ PATH=/usr/sbin:/bin:/usr/bin:/etc:/usr/ucb:/usr/local/bin
+ PATHEGETTY=/bin/egetty
+ PATHGETTY=/usr/sbin/getty
+ PATHVGETTY=/bin/vgetty
+ PSPACKAGE=gs
+ RM=/bin/rm
+ SBIN=/usr/local/sbin
+ SCRIPT_SH=/bin/bash
+ SED=/bin/sed
+ SENDMAIL=/usr/sbin/sendmail
+ SPOOL=/var/spool/hylafax
+ SYSVINIT=
+ TARGET=powerpc-ibm-aix5.2.0.0
+ TIFF2PDF=bin/tiff2pdf
+ TIFFBIN=/usr/bin
+ TTYCMD=/bin/tty
+ UUCP_LOCKDIR=/etc/locks
+ UUCP_LOCKTYPE=ascii
+ UUENCODE=/bin/uuencode
+ FILE=file
+ INFO=/usr/local/sbin/faxinfo
+ TIFFINFO=tiffinfo
+ FAX2PS=/usr/bin/fax2ps
+ TIFF2PS=tiff2ps
+ TIFF2PDF=bin/tiff2pdf
+ PS2PDF=ps2pdf
+ PDF2PS=pdf2ps
+ PS2FAX=bin/ps2fax
+ PDF2FAX=bin/pdf2fax
+ TOADDR=FaxMaster
+ FROMADDR=fax
+ NOTIFY_FAXMASTER=never
+ RETURNFILETYPE=
+ MIMEBOUNDARY=NextPart37010
+ RETURNTECHINFO=yes
+ RETURNTRANSCRIPT=yes
+ /bin/tty
+ 1> /dev/null 2>& 1
+ + /bin/tty
ERRORSTO=/dev/pts/8
+ parseQfile
awk: 0602-521 There is a regular _expression_ error.
        ?*+ not preceded by valid _expression_.

 The source line number is 37.
 The error context is
                                  >>>  gsub("*","",status) <<< ;
+ setCustomValues
+ adjustNotifyFaxMaster
+ /usr/sbin/sendmail -ffax -oi -t
+ [ -z  ]
+ jobtag= job
+ [  = default ]
+ [  = pager ]
+ [ failed = done ]
+ [ failed = failed ]
+ putHeaders  job  to  failed
+ 2>& 1
+ printf  failed because:\n    
+ printStatus
+ returnTranscript
+ returnToSender
printf: 3016-001 Specify a number instead of .
printf: 3016-001 Specify a number instead of .
printf: 3016-001 Specify a number instead of .
+ [ -n  ]
+ echo
+ echo --NextPart37010--
No recipient addresses found in header
+ [ no = yes ]
$

>Bodo

Thanks for that 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*

----------------------------------------------------------------------------------------
This e-mail may contain confidential or privileged information. If you have received it in error, please notify the sender immediately via return e-mail and then delete the original e-mail. EnergyAustralia has collected your business contact details for dealing with you in your business capacity. More information about how we handle your personal information, including your right of access is contained at http://www.energy.com.au.
----------------------------------------------------------------------------------------


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