Qmail / Zend Mail – RFC 5322 compliant

My company is getting spammed by itself, or rather by it’s Qmail, we’ve got a few automated processes sending out e-mails with Qmail and Zend Mail.

I’m not a expert in either of these, (I know literally nothing about them), and the ‘spam e-mails’ are Qmail telling us that a series of e-mails being sent isn’t RFC 5322 compliant.

Is there a way for me to locate what is generating these error e-mails? Or a place where I can find out what e-mails it’s trying to deliver but can’t.

This is the mail we recieve

From: MAILER-DAEMON@www.company.com
[mailto:MAILER-DAEMON@www.company.com]
Sent: 10. september 2013 15:10
To: company@www.company.com
Subject: failure notice

Hi. This is the qmail-send program at www.company.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<user@mail.com>:
65.54.188.110 failed after I sent the message.
Remote host said: 550 5.7.0 (BAY0-MC3-F46) Message could not be delivered.
Please ensure the message is RFC 5322 compliant.

--- Below this line is a copy of the message.

Return-Path: <compnay@company.com>
Received: (qmail 25746 invoked by uid 0); 10 Sep 2013 15:10:02 +0200
Message-ID: <20130910131002.25707.qmail@www.company.com>
To: user <user@mail.com>
Subject:
From:
Date: Tue, 10 Sep 2013 15:10:02 +0200
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Answer

Your From: header has no value. This is a pretty blatant violation of RFC 5322. Fix your application so that it provides a valid value for the From: header.

Attribution
Source : Link , Question Author : Epodax , Answer Author : Michael Hampton

Leave a Comment