https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5942





--- Comment #5 from Lee Maguire <[EMAIL PROTECTED]>  2008-07-17 03:55:54 PST ---
(In reply to comment #4)
> any samples you can provide (either way) would be very welcome btw...

Any mail that's generated by the autoreply transport (for example vacation type
messages) will include the header:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch27.html
Next time someone goes on holiday, I'll update the bug :)

Most of the mail is work/internal and not suitable for public tracker
submission.  Currently the bulk of mail I get with the header is actually as a
result of local-site configuration to specifically add it.  Usually an "-a"
argument where a script uses mail.

For example, an addition for the Nagios monitoring software to prevent it from
triggering out-of-office replies to alerts:

/etc/nagios2/commands.cfg

# 'notify-by-email' command definition
define command{
        command_name    notify-by-email
        command_line    /usr/bin/printf "%b" "***** Nagios
*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "**
$NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" -a
"Auto-Submitted: auto-generated" $CONTACTEMAIL$
        }


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to