Yahoo Bouncing mails with trailing spaces in subject

Datasoft-India datasoftindia at
Wed Apr 29 03:35:02 UTC 2015

Hi All,
I have gone through the threads in the archive list. However I have finally
nailed down the problem to the following condition. No matter what,
whenever we compose a mail with an extra space at the end of the subject, a
Duplicate Subject line gets added at the top of the header and the mail is
bounced by Yahoo. with the following message.
<xxxxxyy at>: host[] said: 554
Message not allowed – Headers are not RFC compliant[291] (in reply to end
of DATA command).

Sample header shown below.

Return-Path: <xx at>
X-Spam-Status: No
Subject: test 10
X-securemailhub-MailScanner-From: xx at
X-securemailhub-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,

Output of MailScanner -V

This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)
This is MailScanner version 4.84.6

Question2) Is the Latest version of MailScanner 4.85.2-2 supported on the
CentOS release 5.11 (Final) and Perl version 5.008008 without issues.

Can you help through some light on this.?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the MailScanner mailing list