Smattr / mattutils

Repository for all my random tools and scripts I use
11 stars 1 forks source link

fwdmail: Optionally log to syslog #9

Closed Smattr closed 9 years ago

Smattr commented 9 years ago

When unable to forward your mail fwdmail currently reports this on stderr. This is not particularly useful when you are typically running it in your crontab and these errors get funneled back to your local inbox where they are picked up by fwdmail itself. It would be more helpful to detect when stderr is not a TTY and send errors to syslog instead.

Smattr commented 9 years ago

Fixed in 70def9828605ad108baae144d3af487a0a02e7f6.