Discussion:
Bounces from Yahoo
Kevin Miller
2014-12-02 19:11:54 UTC
Permalink
Every now and then, my users will send to Yahoo and the mail bounces. The cause is duplicate subject headers.

***@yahoo.com on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code = 500
<mta7.am0.yahoodns.net #5.0.0 SMTP; 554 Message not allowed - Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently it's a MailScanner bug. They mention a fix over there but I don't know that it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Jeremy McSpadden
2014-12-02 19:49:56 UTC
Permalink
The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org<mailto:***@juneau.org>> wrote:

Every now and then, my users will send to Yahoo and the mail bounces. The cause is duplicate subject headers.

***@yahoo.com<mailto:***@yahoo.com> on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code = 500
<mta7.am0.yahoodns.net<http://mta7.am0.yahoodns.net> #5.0.0 SMTP; 554 Message not allowed - Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently it's a MailScanner bug. They mention a fix over there but I don't know that it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us<http://smtp.ci.juneau.ak.us> 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Jeremy McSpadden
2014-12-02 20:01:31 UTC
Permalink
Oops. Didn't see you said that already.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 2, 2014, at 2:00 PM, Jeremy McSpadden <***@fluxlabs.net<mailto:***@fluxlabs.net>> wrote:

The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org<mailto:***@juneau.org>> wrote:

Every now and then, my users will send to Yahoo and the mail bounces. The cause is duplicate subject headers.

***@yahoo.com<mailto:***@yahoo.com> on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code = 500
<mta7.am0.yahoodns.net<http://mta7.am0.yahoodns.net> #5.0.0 SMTP; 554 Message not allowed - Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently it's a MailScanner bug. They mention a fix over there but I don't know that it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us<http://smtp.ci.juneau.ak.us> 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Rick Cooper
2014-12-02 20:06:53 UTC
Permalink
This was supposedly addressed in 2009 by Jules see:
http://lists.mailscanner.info/pipermail/mailscanner/2009-September/093185.ht
ml

But that was exim specific, what MTA is involved here?

Rick

_____

From: mailscanner-***@lists.mailscanner.info
[mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Jeremy
McSpadden
Sent: Tuesday, December 02, 2014 2:50 PM
To: MailScanner discussion
Subject: Re: Bounces from Yahoo


The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net <http://www.fluxlabs.net/> | Endless
Solutions
Office : 850-250-5590x501 <tel:850-250-5590;501> | Cell : 850-890-2543 |
Fax : 850-254-2955

On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org> wrote:



Every now and then, my users will send to Yahoo and the mail bounces. The
cause is duplicate subject headers.

***@yahoo.com on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed;
Status code = 500
<mta7.am0.yahoodns.net #5.0.0 SMTP; 554 Message not allowed -
Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently
it's a MailScanner bug. They mention a fix over there but I don't know that
it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-comp
liant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT
2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-02 20:19:02 UTC
Permalink
In my case, sendmail.

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357

From: mailscanner-***@lists.mailscanner.info [mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Rick Cooper
Sent: Tuesday, December 02, 2014 11:07 AM
To: 'MailScanner discussion'
Subject: RE: Bounces from Yahoo

This was supposedly addressed in 2009 by Jules see:
http://lists.mailscanner.info/pipermail/mailscanner/2009-September/093185.html

But that was exim specific, what MTA is involved here?

Rick

________________________________
From: mailscanner-***@lists.mailscanner.info<mailto:mailscanner-***@lists.mailscanner.info> [mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Jeremy McSpadden
Sent: Tuesday, December 02, 2014 2:50 PM
To: MailScanner discussion
Subject: Re: Bounces from Yahoo
The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org<mailto:***@juneau.org>> wrote:
Every now and then, my users will send to Yahoo and the mail bounces. The cause is duplicate subject headers.

***@yahoo.com<mailto:***@yahoo.com> on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code = 500
<mta7.am0.yahoodns.net<http://mta7.am0.yahoodns.net> #5.0.0 SMTP; 554 Message not allowed - Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently it's a MailScanner bug. They mention a fix over there but I don't know that it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us<http://smtp.ci.juneau.ak.us> 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Rick Cooper
2014-12-02 21:29:37 UTC
Permalink
Looking through the code I kind of wonder if this is an uninteded
consequence of the MailScanner.conf line:
Place New Headers At Top Of Message
How is yours set?

The ReplaceHeader function does not do a delete if that options is set to
yes near as I can tell by
# DKIM: Don't do DeleteHeader if only adding headers at top
$this->DeleteHeader($message, $key) unless $message->{dkimfriendly};


_____

From: mailscanner-***@lists.mailscanner.info
[mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Kevin
Miller
Sent: Tuesday, December 02, 2014 3:19 PM
To: 'MailScanner discussion'
Subject: RE: Bounces from Yahoo



In my case, sendmail.



...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357



From: mailscanner-***@lists.mailscanner.info
[mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Rick Cooper
Sent: Tuesday, December 02, 2014 11:07 AM
To: 'MailScanner discussion'
Subject: RE: Bounces from Yahoo



This was supposedly addressed in 2009 by Jules see:

http://lists.mailscanner.info/pipermail/mailscanner/2009-September/093185.ht
ml



But that was exim specific, what MTA is involved here?



Rick



_____

From: mailscanner-***@lists.mailscanner.info
[mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Jeremy
McSpadden
Sent: Tuesday, December 02, 2014 2:50 PM
To: MailScanner discussion
Subject: Re: Bounces from Yahoo

The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net <http://www.fluxlabs.net/> | Endless
Solutions
Office : 850-250-5590x501 <tel:850-250-5590;501> | Cell : 850-890-2543 |
Fax : 850-254-2955


On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org> wrote:

Every now and then, my users will send to Yahoo and the mail bounces. The
cause is duplicate subject headers.

***@yahoo.com on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed;
Status code = 500
<mta7.am0.yahoodns.net #5.0.0 SMTP; 554 Message not allowed -
Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently
it's a MailScanner bug. They mention a fix over there but I don't know that
it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-comp
liant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT
2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-02 22:19:12 UTC
Permalink
Mine are set to the top. I don't have DKIM set up however. Not sure if that matters.

I don't think I've ever changed that and have been running MailScanner since 2003 or so. It's only become an issue for us recently.


...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Glenn Steen
2014-12-03 08:50:14 UTC
Permalink
Hi Kevin!

Well, If you don't need to reorder the headers, why not try change
that setting?;-)

And I wounder... Do you use Baruwa? Their MailScanner isn't
"MailScanner" as such, it is Baruwa MailScanner... Over the years
we've had a few "forks", and well... One need ask these things, to
clear up if the error is present in the current plain-vanilla code:-)

Cheers
--
-- Glenn


On 2 December 2014 at 23:19, Kevin Miller <***@juneau.org> wrote:
> Mine are set to the top. I don't have DKIM set up however. Not sure if that matters.
>
> I don't think I've ever changed that and have been running MailScanner since 2003 or so. It's only become an issue for us recently.
>
>
> ...Kevin
> --
> Kevin Miller
> Network/email Administrator, CBJ MIS Dept.
> 155 South Seward Street
> Juneau, Alaska 99801
> Phone: (907) 586-0242, Fax: (907) 586-4500
> Registered Linux User No: 307357
> --
> MailScanner mailing list
> ***@lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!



--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-03 18:50:09 UTC
Permalink
It's worth a shot I guess.

I don't use Baruwa - that was just where we found a similar symptom reported. Rick noted that there was a similar issue for exim from 2009. Baruwa uses exim IIRC so maybe it was a lingering bug that Julian fixed part of and the other part was more subtle?

I run a pretty much plain vanilla MailScanner, with MailWatch. I tried Baruwa but had issues getting it running (which I now forget) and didn't really want to learn exim so I cut my losses and bailed on that.

Some of my users have a bad habit of using their company email for personal stuff (institutionally we don't really care) but may try forwarding stuff so this gives me pause:
# So if some of your users forward mail from PayPal, Ebay or Yahoo! to
# accounts stored on Gmail or Googlemail, then you need to set this to "yes"
# and "Multiple Headers = add" to avoid breaking the DKIM signature.

On the other hand, if it is personal stuff I don't have any particular obligation to make it work. There may be times though that they need to forward business related mail. I guess we'll see.

I'll apply these changes and see what happens.

#mkm Multiple Headers = add
Multiple Headers = append

#mkm Place New Headers At Top Of Message = yes
Place New Headers At Top Of Message = no

Unfortunately, we can't duplicate the problem at will. It just happens sometimes...

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


> -----Original Message-----
> From: mailscanner-***@lists.mailscanner.info [mailto:mailscanner-
> ***@lists.mailscanner.info] On Behalf Of Glenn Steen
> Sent: Tuesday, December 02, 2014 11:50 PM
> To: MailScanner discussion
> Subject: Re: Bounces from Yahoo
>
> Hi Kevin!
>
> Well, If you don't need to reorder the headers, why not try change that
> setting?;-)
>
> And I wounder... Do you use Baruwa? Their MailScanner isn't
> "MailScanner" as such, it is Baruwa MailScanner... Over the years we've
> had a few "forks", and well... One need ask these things, to clear up if
> the error is present in the current plain-vanilla code:-)
>
> Cheers
> --
> -- Glenn
>
>
> On 2 December 2014 at 23:19, Kevin Miller <***@juneau.org>
> wrote:
> > Mine are set to the top. I don't have DKIM set up however. Not sure
> if that matters.
> >
> > I don't think I've ever changed that and have been running MailScanner
> since 2003 or so. It's only become an issue for us recently.
> >
> >
> > ...Kevin
> > --
> > Kevin Miller
> > Network/email Administrator, CBJ MIS Dept.
> > 155 South Seward Street
> > Juneau, Alaska 99801
> > Phone: (907) 586-0242, Fax: (907) 586-4500
> > Registered Linux User No: 307357
> > --
> > MailScanner mailing list
> > ***@lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the website!
>
>
>
> --
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> --
> MailScanner mailing list
> ***@lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Andrew Colin Kissa
2014-12-05 08:25:37 UTC
Permalink
On 03 Dec 2014, at 8:50 PM, Kevin Miller <***@juneau.org> wrote:

> Unfortunately, we can't duplicate the problem at will. It just happens sometimesÂ…

A simple way to trigger it with Exim i found was to have space before the subject text.
Jeremy McSpadden
2014-12-04 16:23:59 UTC
Permalink
Baruwa Community uses sources from mailscanner.info for its install guide.

Baruwa Enterprise has a patched/modified version of MS only available to paid.

Andrew from the Baruwa Project has supplied me with the patch necessary to fix the issue. Can anyone get this added ? I will supply to whoever needs it.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955

On Dec 3, 2014, at 2:50 AM, Glenn Steen <***@gmail.com<mailto:***@gmail.com>> wrote:

Hi Kevin!

Well, If you don't need to reorder the headers, why not try change
that setting?;-)

And I wounder... Do you use Baruwa? Their MailScanner isn't
"MailScanner" as such, it is Baruwa MailScanner... Over the years
we've had a few "forks", and well... One need ask these things, to
clear up if the error is present in the current plain-vanilla code:-)

Cheers
--
-- Glenn
Steve Freegard
2014-12-04 22:35:51 UTC
Permalink
On 04/12/14 16:23, Jeremy McSpadden wrote:
> Baruwa Enterprise has a patched/modified version of MS only available to
> paid.

Um - isn't that a violation of the GPL? Any modifications to code that
is part of MailScanner should have the sources available to anyone that
requests it (typically it's easiest to put patches up on a website
though, to avoid CD requests).

At FSL we made a point of contributing anything we did to MailScanner
back to the community; like ConfigSQL which I expect Baruwa uses.

Kind regards,
Steve.
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Jeremy McSpadden
2014-12-04 22:51:38 UTC
Permalink
I believe you also have a private RPM build /repo that is only available to paid customers ? I believe that's all they have done.

I will upload the patch and post shortly.
--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 4, 2014, at 4:46 PM, Steve Freegard <***@fsl.com<mailto:***@fsl.com>> wrote:

On 04/12/14 16:23, Jeremy McSpadden wrote:
Baruwa Enterprise has a patched/modified version of MS only available to
paid.

Um - isn't that a violation of the GPL? Any modifications to code that
is part of MailScanner should have the sources available to anyone that
requests it (typically it's easiest to put patches up on a website
though, to avoid CD requests).

At FSL we made a point of contributing anything we did to MailScanner
back to the community; like ConfigSQL which I expect Baruwa uses.

Kind regards,
Steve.
--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-04 23:02:34 UTC
Permalink
> I will upload the patch and post shortly.

Thanks Jeremy. Is it exim specific or more generic?

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357
Andrew Colin Kissa
2014-12-05 08:28:04 UTC
Permalink
On 05 Dec 2014, at 1:02 AM, Kevin Miller <***@juneau.org> wrote:

> Thanks Jeremy. Is it exim specific or more generic?

It may work with other MTA's but only tested with Exim, Exim's header changes
work differently from other MTA's as MailScanner just adds a flag to the -H file
and Exim it self deletes the header.
Andrew Colin Kissa
2014-12-05 07:39:25 UTC
Permalink
On 05 Dec 2014, at 12:35 AM, Steve Freegard <***@fsl.com> wrote:

> Um - isn't that a violation of the GPL? Any modifications to code that
> is part of MailScanner should have the sources available to anyone that
> requests it (typically it's easiest to put patches up on a website
> though, to avoid CD requests).
>
> At FSL we made a point of contributing anything we did to MailScanner
> back to the community; like ConfigSQL which I expect Baruwa uses.

Just to clarify, most of our changes are not compatible with mailscanner proper,
for example we have no interest in any other MTA apart from Exim thus we have
stripped all that code out. We have code in to hook up search indexing which too
would not be compatible.

All other changes that are compatible we have pushed to Github. At no point have
we withheld our changes from anyone who has requested them.

As stated on the Baruwa mailing list anyone is welcome to request our tree and
shift through it and pull out whatever they want to and incorporate in mailscanner
proper. I just do not have the time to do it right now.

- Andrew
Jerry Benton
2014-12-04 23:45:37 UTC
Permalink
Yes, I can add it.

-
Jerry Benton
www.mailborder.com



> On Dec 4, 2014, at 11:23 AM, Jeremy McSpadden <***@fluxlabs.net> wrote:
>
> Baruwa Community uses sources from mailscanner.info for its install guide.
>
> Baruwa Enterprise has a patched/modified version of MS only available to paid.
>
> Andrew from the Baruwa Project has supplied me with the patch necessary to fix the issue. Can anyone get this added ? I will supply to whoever needs it.
>
> --
> Jeremy McSpadden
> Flux Labs | http://www.fluxlabs.net <http://www.fluxlabs.net/> | Endless Solutions
> Office : 850-250-5590x501 | Cell : 850-890-2543 | Fax : 850-254-2955
>
>> On Dec 3, 2014, at 2:50 AM, Glenn Steen <***@gmail.com <mailto:***@gmail.com>> wrote:
>>
>> Hi Kevin!
>>
>> Well, If you don't need to reorder the headers, why not try change
>> that setting?;-)
>>
>> And I wounder... Do you use Baruwa? Their MailScanner isn't
>> "MailScanner" as such, it is Baruwa MailScanner... Over the years
>> we've had a few "forks", and well... One need ask these things, to
>> clear up if the error is present in the current plain-vanilla code:-)
>>
>> Cheers
>> --
>> -- Glenn
>>
>>
>
> --
> MailScanner mailing list
> ***@lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
Rick Cooper
2014-12-03 16:42:26 UTC
Permalink
Kevin Miller wrote:
> Mine are set to the top. I don't have DKIM set up however. Not sure
> if that matters.
>
> I don't think I've ever changed that and have been running
> MailScanner since 2003 or so. It's only become an issue for us
> recently.
>
>
> ...Kevin
> --
> Kevin Miller
> Network/email Administrator, CBJ MIS Dept.
> 155 South Seward Street
> Juneau, Alaska 99801
> Phone: (907) 586-0242, Fax: (907) 586-4500
> Registered Linux User No: 307357

Doesn't matter if you use DKIM or not, if you don't then there is no reason
to be concerned about maintaining header order as you cannot break the
signature if none exist unless you are forwarding for a system that does
sign their messages. Since this has never occurred for me I have no way to
get an original message but I am wondering, since it always seems to be the
subject that is duplicated, if it has something to do with the subject
rewrite settings, or a syntax issue with the original subject line not
matching the test for delete header
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-03 18:52:32 UTC
Permalink
> -----Original Message-----
> Doesn't matter if you use DKIM or not, if you don't then there is no
> reason to be concerned about maintaining header order as you cannot break
> the signature if none exist unless you are forwarding for a system that
> does sign their messages. Since this has never occurred for me I have no way
> to get an original message but I am wondering, since it always seems to be
> the subject that is duplicated, if it has something to do with the subject
> rewrite settings, or a syntax issue with the original subject line not
> matching the test for delete header

I just replied to Glenn - going to give it a shot and see what happens. It may break forwarding, but that may or may not be an issue...

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357
--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Kevin Miller
2014-12-02 20:11:42 UTC
Permalink
Yes, I know. Hence the "The cause is duplicate subject headers." in my post. The question is, how do I fix it? Yahoo apparently does something that causes MailScanner to do that. Maybe some mutant grey-list process? I dunno. I can't duplicate it at will - if users wait a while and resend the message will go through, I think because it hits a different ingress server.

Andrew Lissa writes that it's fixed over there: "It is an issue within MailScanner not baruwa, will try get some time to push it into MailScanner proper on Github, since the enterprise MailScanner is a fork it requires some time to do so. Will do that when I get some space time, hands full at the moment."

Be nice to see the patches in MailScanner proper.

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357

From: mailscanner-***@lists.mailscanner.info [mailto:mailscanner-***@lists.mailscanner.info] On Behalf Of Jeremy McSpadden
Sent: Tuesday, December 02, 2014 10:50 AM
To: MailScanner discussion
Subject: Re: Bounces from Yahoo

The reason is double subject lines.

--
Jeremy McSpadden
Flux Labs | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless Solutions
Office : 850-250-5590x501<tel:850-250-5590;501> | Cell : 850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Dec 2, 2014, at 1:24 PM, Kevin Miller <***@juneau.org<mailto:***@juneau.org>> wrote:
Every now and then, my users will send to Yahoo and the mail bounces. The cause is duplicate subject headers.

***@yahoo.com<mailto:***@yahoo.com> on 12/1/2014 3:52 PM
Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code = 500
<mta7.am0.yahoodns.net<http://mta7.am0.yahoodns.net> #5.0.0 SMTP; 554 Message not allowed - Headers are not RFC compliant[291]>

There's a similar thread over in the Baruwa neighborhood, but apparently it's a MailScanner bug. They mention a fix over there but I don't know that it's made it to github for MailScanner yet.

http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-compliant-td4027435.html

Anyone else having this issue? Any patch files out for it?

Running on:
Linux smtp.ci.juneau.ak.us<http://smtp.ci.juneau.ak.us> 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
This is CentOS release 5.11 (Final)
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.84.5

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357


--
MailScanner mailing list
***@lists.mailscanner.info<mailto:***@lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Scott B. Anderson
2014-12-02 19:55:25 UTC
Permalink
I have also seen this error regarding multiple subject headers from some sites. What is the fix?

Scott

> -----Original Message-----
> From: mailscanner-***@lists.mailscanner.info [mailto:mailscanner-
> ***@lists.mailscanner.info] On Behalf Of Kevin Miller
> Sent: Tuesday, December 02, 2014 1:12 PM
> To: MailScanner List (***@lists.mailscanner.info)
> Subject: Bounces from Yahoo
>
> Every now and then, my users will send to Yahoo and the mail bounces. The
> cause is duplicate subject headers.
>
> ***@yahoo.com on 12/1/2014 3:52 PM
> Diagnostic code = NoDiagnostic; Reason code = TransferFailed; Status code
> = 500
> <mta7.am0.yahoodns.net #5.0.0 SMTP; 554 Message not allowed - Headers
> are not RFC compliant[291]>
>
> There's a similar thread over in the Baruwa neighborhood, but apparently it's a
> MailScanner bug. They mention a fix over there but I don't know that it's made it
> to github for MailScanner yet.
>
> http://baruwa-users-list.963389.n3.nabble.com/Yahoo-Headers-are-not-RFC-
> compliant-td4027435.html
>
> Anyone else having this issue? Any patch files out for it?
>
> Running on:
> Linux smtp.ci.juneau.ak.us 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014
> x86_64 x86_64 x86_64 GNU/Linux This is CentOS release 5.11 (Final) This is Perl
> version 5.008008 (5.8.8)
>
> This is MailScanner version 4.84.5
>
> ...Kevin
> --
> Kevin Miller
> Network/email Administrator, CBJ MIS Dept.
> 155 South Seward Street
> Juneau, Alaska 99801
> Phone: (907) 586-0242, Fax: (907) 586-4500 Registered Linux User No: 307357
>
>
> --
> MailScanner mailing list
> ***@lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
...

--
Rely On Us.
ImproMed LLC
--

--
MailScanner mailing list
***@lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Loading...