On Tue, Oct 02, 2012 at 11:46:24AM -0600, Dan McManus wrote:
> Hello All!
> 
> I am using Icinga 1.6.1 on scientific linux 6.2, running postfix, standard 
> notify-service-by-email command, except for adding a [DEV] to the beginning 
> of the subject line:
> 
> define command{
>         command_name    notify-service-by-email
>         command_line    /usr/bin/printf "%b" "***** Icinga 
> *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
> $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
> $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
> Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "[DEV] ** $NOTIFICATIONTYPE$ Service 
> Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
>         }
> 
> All other alerts arrive as the standard email with the body of the text in 
> the body of the email, but one alert gets sent as an attachment every time, 
> regardless of mail client. The attachment text is as follows:
> 
Actually, can you paste full headers for the suspect message?

I know Postfix doesn't change contents to attachments. What other
systems touch this message?

Devdas Bhagat

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to