You need to move the fax out of the /tmp directory as the script loops
looking for all .tiff files in this directory. You can move them into
/tmp/fax instead of /mnt/kd/fax and that would work.
I don't know about changing the user that email is sent from. Someone else
will have to advise how to do that.
David
On Sun, Oct 2, 2011 at 11:30 AM, Nedi <n...@gmx.ch> wrote:
> David,
> I can see the PID 1421 root 1268 S /bin/bash
> /mnt/kd/bin/check_fax
> the script works, recieve the fax, move the fax tiff file to the
> /mnt/kd/fax and delete the fax file in /tmp
> the script send something to me but I don't get any email, I think the
> email comming from root and my email server block them. how can I edit the
> script and send the pdf from another email adress than root
>
> can I only delete this line in the script mv -f "$f" /mnt/kd/fax and the
> fax wil be not saved or I can edit them to mv -f "$f“ /tmp/fax
> and the fax will be saved in /tmp till reboot?
>
> regards nedi
>
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
> pay...@krisk.org.
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.