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] failure notification from root only



Try this patch

----[cut]------------------------------
--- /var/spool/fax/bin/notify.awk.old
+++ /var/spool/fax/bin/notify.awk
@@ -145,6 +148,7 @@

 function putHeaders(subject)
 {
+    print "From: <admin@mobilinkmail.dsf>";
     print "To: " mailaddr;
     print "Subject: " subject;
     print "";
----[cut]------------------------------

Prasanna wrote:

> hi,
>
> a failure notice is send by the faxmail is given bellow.
> problem is :
> this mail is send by root@oracle.dsf
> every time it send by root.
>
> but i want to sent it from different account like
> admin@mobilinkmail.dsf
> how i will do it?
> please  help me.
>
> with regards
> prasanna.
>
> ----------------------------------------------
>
> Subject:  facsimile job 28 to 011686768 failed
> Date:  3 Apr 2001 08:28:59 -0000
> From:  root@oracle.dsf
> To:  prasanna@main.dsf
>
> Your facsimile job to 011686768 failed because:
>     Busy signal detected; too many attempts to dial
>
>     ---- Transcript of session follows ----
>
> Apr 03 13:58:38.35: [ 6539]: SESSION BEGIN 00000043 686768
> Apr 03 13:58:38.36: [ 6539]: SEND FAX: JOB 28 DEST 011686768 COMMID
> 00000043
> Apr 03 13:58:38.36: [ 6539]: DELAY 2600 ms
> Apr 03 13:58:40.95: [ 6539]: <-- [4:ATZ\r]
> Apr 03 13:58:41.68: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.68: [ 6539]: <-- [15:ATE0V1Q0S0=0H0\r]
> Apr 03 13:58:41.69: [ 6539]: --> [14:ATE0V1Q0S0=0H0]
> Apr 03 13:58:41.69: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.69: [ 6539]: <-- [12:ATS8=2S7=60\r]
> Apr 03 13:58:41.70: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.70: [ 6539]: <-- [12:AT+FCLASS=1\r]
> Apr 03 13:58:41.71: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.71: [ 6539]: <-- [12:AT+FCLASS=0\r]
> Apr 03 13:58:41.72: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.72: [ 6539]: <-- [5:ATM0\r]
> Apr 03 13:58:41.73: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.73: [ 6539]: <-- [12:AT+FCLASS=1\r]
> Apr 03 13:58:41.84: [ 6539]: --> [2:OK]
> Apr 03 13:58:41.84: [ 6539]: DIAL 011686768
> Apr 03 13:58:41.84: [ 6539]: <-- [14:ATDT011686768\r]
> Apr 03 13:58:59.50: [ 6539]: --> [4:BUSY]
> Apr 03 13:58:59.51: [ 6539]: SEND FAILED: Busy signal detected
> Apr 03 13:58:59.51: [ 6539]: SEND FAILED: Busy signal detected; too many
> attempts to dial
> Apr 03 13:58:59.51: [ 6539]: <-- [5:ATH0\r]
> Apr 03 13:58:59.63: [ 6539]: --> [2:OK]
> Apr 03 13:58:59.63: [ 6539]: SESSION END
>
>     ---- Unsent job status ----
>
>    Destination: 011686768
>          JobID: 28
>        GroupID: 28
>         Sender: prasanna
>       Mailaddr: prasanna@main.dsf
>         CommID: 00000043
> Submitted From: localhost
>     Page Width: 209 (mm)
>    Page Length: 296 (mm)
>     Resolution: 196 (lpi)
>         Status: Busy signal detected; too many attempts to dial
>        Dialogs: 0 (exchanges with remote device)
>          Dials: 12 (consecutive failed calls to destination)
>          Calls: 12 (total phone calls placed)
>          Pages: 0 (pages transmitted)
>       TotPages: 1 (total pages to transmit)
>       Attempts: 0 (attempts to send current page)
>         Dirnum: 0 (directory of next page to send)
>
>     ---- Documents submitted for transmission ----
>
> The following documents were submitted for transmission and are
> available on the server for reuse until they are automatically
> purged when this job is removed.  Documents may also be manually
> removed using the faxrm command; consult faxrm(1) for information.
>
> Filename                 Size Type
> docq/doc41.ps            6411 PostScript
>
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions