"Michael D. Schleif" wrote:
> 

[ snip ]

> [3] /var/log/mail.log exists; but, I've not yet seen anything
>     write to it.  In order to facilitate debugging Email issues,
>     as well as to keep track of outgoing Email attempts, I suggest
>     adding the following subroutine to /lib/POSIXness/POSIXness.mail:
> 
>         log () {
>                 LOG=/var/log/mail.log
>                 STR=`date '+%b %d %T'`
>                 STR="${STR} ${HOSTNAME} mail[$$]: $user => [$envelopes]: $subject"
>                 echo $STR >> $LOG
>         }
> 
>     I suggest calling log prior to that final `exit 0' and the last
>     `done'; but, there maybe a more sane location ;>

Of course, I meant this:

        done
        log
        exit 0

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to