List Info

Thread: Amavis rejecting mail with bad header




Amavis rejecting mail with bad header
country flaguser name
United States
2008-01-16 11:18:50

We have a multi billion dollar company that sends us automated payment
emails, when they pay invoices.

Each of their automated emails get rejected and bounced with the
following message:


Your message did not reach some or all of the intended recipients.

Subject: XXXXXXXXX ACH PAYMENT

Sent: 12/27/2007 10:01 AM

The following recipient(s) could not be reached:

lmccloudxxxxxxxxxxxxxx.com on 12/27/2007 11:01 AM

The message contains a content type that is not supported

< servername #5.6.0 smtp; 554 5.6.0 Message with invalid header
rejected, id=13057-02 - Non-encoded 8-bit data (char FD hex) in
message header 'Date': Date: Thu, 27 Dec 2007 10:01:08 -0500
375CDT250n>



In my amavisd virusmails here are the applicable lines in the bad
header rejected email:

SUBJECT:&nbsp;  ACH PAYMENT
Date: Thu, 27 Dec 2007 10:01:08 -0500 <FD>CDT<A8&gt;
x-Mailer: JES2Mail Copyright LaBayne & Associates Inc.
Message-Id: <1198771268000801157>
Content-Type: text/plain; charset=iso-8859-1
X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char FD hex) in message heade
r 'Date': Date: Thu, 27 Dec 2007 10:01:08 -0500 375CDT250n

Note in the Date: line the special characters <FD> and <A8>. Is there
any way to strip these out, or better, ignore them?

Also note, any normal email, sent from a person is NOT bounced, as
they are on a different email system.

Thanks for any help.

Jeff Walls

--
Jeffrey Walls
IT Manager
Brown Transmission and Bearing Co.
PO Box 11117
Lancaster PA 17605-1117
717 295-9200 ext 214
717 295-9025 fax
http://www.browntransmission.com


Re: Amavis rejecting mail with bad header
user name
2008-01-16 11:55:39
On Jan 16, 2008 6:18 PM, Jeffrey Walls <jwallsbrowntransmission.com> wrote:
>
>
>
> We have a multi billion dollar company that sends us
automated payment
> emails, when they pay invoices.

Does it mean they are too big to be allowed to not follow
the standard ?
Big, not respecting the standard, is it M$ ?

Did you try to add the sender to the whitelist in
amavis.conf ?

>
> Each of their automated emails get rejected and bounced
with the
> following message:
>
>
> Your message did not reach some or all of the intended
recipients.
>
> Subject: XXXXXXXXX ACH PAYMENT
>
> Sent: 12/27/2007 10:01 AM
>
> The following recipient(s) could not be reached:
>
> lmccloudxxxxxxxxxxxxxx.com on 12/27/2007 11:01 AM
>
> The message contains a content type that is not
supported
>
> < servername #5.6.0 smtp; 554 5.6.0 Message with
invalid header
> rejected, id=13057-02 - Non-encoded 8-bit data (char FD
hex) in
> message header 'Date': Date: Thu, 27 Dec 2007 10:01:08
-0500
> 375CDT250n>
>
>
>
> In my amavisd virusmails here are the applicable lines
in the bad
> header rejected email:
>
> SUBJECT:   ACH PAYMENT
> Date: Thu, 27 Dec 2007 10:01:08 -0500
<FD>CDT<A8>
> x-Mailer: JES2Mail Copyright LaBayne & Associates
Inc.
> Message-Id: <1198771268000801157>
> Content-Type: text/plain; charset=iso-8859-1
> X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data (char
FD hex) in message
> heade
> r 'Date': Date: Thu, 27 Dec 2007 10:01:08 -0500
375CDT250n
>
> Note in the Date: line the special characters
<FD> and <A8>. Is there
> any way to strip these out, or better, ignore them?
>
> Also note, any normal email, sent from a person is NOT
bounced, as
> they are on a different email system.
>
> Thanks for any help.
>
> Jeff Walls
>
> --
> Jeffrey Walls
> IT Manager
> Brown Transmission and Bearing Co.
> PO Box 11117
> Lancaster PA 17605-1117
> 717 295-9200 ext 214
> 717 295-9025 fax
> http://www.browntran
smission.com
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-userskolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: Amavis rejecting mail with bad header
user name
2008-01-16 17:55:41
On Jan 16, 2008 7:09 PM, Jeffrey Walls <jwallsbrowntransmission.com> wrote:
> No it isn't a computer or software company at all. It
appears to be a
> mainframe email program, JES2Mail.
>
> I have added them to the whitelist and it's still
errors out.
>
> They were added to amavisd.conf.template in Section V
>
> map { $whitelist_sender{lc($_)}=1 } (qw(
>   nobodycert.org
>   owner-alertiss.net
>   slashdotslashdot.org
>   bugtraqsecurityfocus.com
>   NTBUGTRAQLISTSERV.NTBUGTRAQ.COM
>   security-alertslinuxsecurity.com
>   amavis-user-adminlists.sourceforge.net
>   notification-returnlists.sophos.com
>   mailman-announce-adminpython.org
>   owner-postfix-userspostfix.org
>   owner-postfix-announcepostfix.org
>   owner-sendmail-announceLists.Sendmail.ORG
>   owner-technewspostel.ACM.ORG
>   lvs-users-adminLinuxVirtualServer.org
>   ietf-123-ownerloki.ietf.org
>   cvs-commits-list-admingnome.org
>   rt-users-adminlists.fsck.com
>   clp-requestcomp.nus.edu.sg
>   surveys-errorslists.nua.ie
>   emailNewsgenomeweb.com
>   owner-textbreakingnewsCNNIMAIL12.CNN.COM
>   yahoo-dev-nullyahoo-inc.com
>   returns.groups.yahoo.com
>   MGMTDATAXXXXXXXXXXX.com
> <<<<<<<----------------------here
>   mgmtdataXXXXXXXXXXX.com
> <<<<<<<----------------------and
here
> ));

I cannot help you more with perl nor amavis, but
are you sure MGMTDATA is the "envelope" sender and
not only the "From"
header value ?

>
>
> I added it in both upper and lower case, but the first
one is the way the
> header appears.
>
>
>
> --
> Jeffrey Walls
> IT Manager
> Brown Transmission and Bearing Co.
> PO Box 11117
> Lancaster PA 17605-1117
> 717 295-9200 ext 214
> 717 295-9025 fax
> http://www.browntran
smission.com
>
>
>
> -----Original Message-----
> From: Alain Spineux [mailto:aspineuxgmail.com]
> Sent: Wednesday, January 16, 2008 12:56 PM
> To: Jeffrey Walls
> Cc: kolab-userskolab.org
> Subject: Re: Amavis rejecting mail with bad header
>
> On Jan 16, 2008 6:18 PM, Jeffrey Walls <jwallsbrowntransmission.com> wrote:
> >
> >
> >
> > We have a multi billion dollar company that sends
us automated payment
> > emails, when they pay invoices.
>
> Does it mean they are too big to be allowed to not
follow the standard ?
> Big, not respecting the standard, is it M$ ?
>
> Did you try to add the sender to the whitelist in
amavis.conf ?
>
> >
> > Each of their automated emails get rejected and
bounced with the
> > following message:
> >
> >
> > Your message did not reach some or all of the
intended recipients.
> >
> > Subject: XXXXXXXXX ACH PAYMENT
> >
> > Sent: 12/27/2007 10:01 AM
> >
> > The following recipient(s) could not be reached:
> >
> > lmccloudxxxxxxxxxxxxxx.com on 12/27/2007 11:01 AM
> >
> > The message contains a content type that is not
supported
> >
> > < servername #5.6.0 smtp; 554 5.6.0 Message
with invalid header
> > rejected, id=13057-02 - Non-encoded 8-bit data
(char FD hex) in
> > message header 'Date': Date: Thu, 27 Dec 2007
10:01:08 -0500
> > 375CDT250n>
> >
> >
> >
> > In my amavisd virusmails here are the applicable
lines in the bad
> > header rejected email:
> >
> > SUBJECT:   ACH PAYMENT
> > Date: Thu, 27 Dec 2007 10:01:08 -0500
<FD>CDT<A8>
> > x-Mailer: JES2Mail Copyright LaBayne &
Associates Inc.
> > Message-Id: <1198771268000801157>
> > Content-Type: text/plain; charset=iso-8859-1
> > X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data
(char FD hex) in
> > message heade r 'Date': Date: Thu, 27 Dec 2007
10:01:08 -0500
> > 375CDT250n
> >
> > Note in the Date: line the special characters
<FD> and <A8>. Is there
> > any way to strip these out, or better, ignore
them?
> >
> > Also note, any normal email, sent from a person is
NOT bounced, as
> > they are on a different email system.
> >
> > Thanks for any help.
> >
> > Jeff Walls
> >
> > --
> > Jeffrey Walls
> > IT Manager
> > Brown Transmission and Bearing Co.
> > PO Box 11117
> > Lancaster PA 17605-1117
> > 717 295-9200 ext 214
> > 717 295-9025 fax
> > http://www.browntran
smission.com
> >
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-userskolab.org
> > https:
//kolab.org/mailman/listinfo/kolab-users
> >
> >
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

RE: Amavis rejecting mail with bad header
country flaguser name
United States
2008-01-18 09:21:03
Yes, the header states:   X-Envelope-From: <mgmtdataxxxxxxxxx>

Can I add the domain only? Is the format simply
xxxxxxxxxx.com like
browntransmission.com, or would it be with a wildcard,
*browntransmission.com?

Thanks for any help you can give.

--
Jeffrey Walls
IT Manager
Brown Transmission and Bearing Co.
PO Box 11117
Lancaster PA 17605-1117
717 295-9200 ext 214
717 295-9025 fax
http://www.browntran
smission.com


-----Original Message-----
From: kolab-users-bounceskolab.org
[mailto:kolab-users-bounceskolab.org]
On Behalf Of Alain Spineux
Sent: Wednesday, January 16, 2008 6:56 PM
To: Jeffrey Walls; Kolab Users
Subject: Re: Amavis rejecting mail with bad header

On Jan 16, 2008 7:09 PM, Jeffrey Walls <jwallsbrowntransmission.com> wrote:
> No it isn't a computer or software company at all. It
appears to be a 
> mainframe email program, JES2Mail.
>
> I have added them to the whitelist and it's still
errors out.
>
> They were added to amavisd.conf.template in Section V
>
> map { $whitelist_sender{lc($_)}=1 } (qw(
>   nobodycert.org
>   owner-alertiss.net
>   slashdotslashdot.org
>   bugtraqsecurityfocus.com
>   NTBUGTRAQLISTSERV.NTBUGTRAQ.COM
>   security-alertslinuxsecurity.com
>   amavis-user-adminlists.sourceforge.net
>   notification-returnlists.sophos.com
>   mailman-announce-adminpython.org
>   owner-postfix-userspostfix.org
>   owner-postfix-announcepostfix.org
>   owner-sendmail-announceLists.Sendmail.ORG
>   owner-technewspostel.ACM.ORG
>   lvs-users-adminLinuxVirtualServer.org
>   ietf-123-ownerloki.ietf.org
>   cvs-commits-list-admingnome.org
>   rt-users-adminlists.fsck.com
>   clp-requestcomp.nus.edu.sg
>   surveys-errorslists.nua.ie
>   emailNewsgenomeweb.com
>   owner-textbreakingnewsCNNIMAIL12.CNN.COM
>   yahoo-dev-nullyahoo-inc.com
>   returns.groups.yahoo.com
>   MGMTDATAXXXXXXXXXXX.com
> <<<<<<<----------------------here
>   mgmtdataXXXXXXXXXXX.com
> <<<<<<<----------------------and
here
> ));

I cannot help you more with perl nor amavis, but are you
sure MGMTDATA is
the "envelope" sender and not only the
"From"
header value ?

>
>
> I added it in both upper and lower case, but the first
one is the way 
> the header appears.
>
>
>
> --
> Jeffrey Walls
> IT Manager
> Brown Transmission and Bearing Co.
> PO Box 11117
> Lancaster PA 17605-1117
> 717 295-9200 ext 214
> 717 295-9025 fax
> http://www.browntran
smission.com
>
>
>
> -----Original Message-----
> From: Alain Spineux [mailto:aspineuxgmail.com]
> Sent: Wednesday, January 16, 2008 12:56 PM
> To: Jeffrey Walls
> Cc: kolab-userskolab.org
> Subject: Re: Amavis rejecting mail with bad header
>
> On Jan 16, 2008 6:18 PM, Jeffrey Walls <jwallsbrowntransmission.com>
wrote:
> >
> >
> >
> > We have a multi billion dollar company that sends
us automated 
> > payment emails, when they pay invoices.
>
> Does it mean they are too big to be allowed to not
follow the standard ?
> Big, not respecting the standard, is it M$ ?
>
> Did you try to add the sender to the whitelist in
amavis.conf ?
>
> >
> > Each of their automated emails get rejected and
bounced with the 
> > following message:
> >
> >
> > Your message did not reach some or all of the
intended recipients.
> >
> > Subject: XXXXXXXXX ACH PAYMENT
> >
> > Sent: 12/27/2007 10:01 AM
> >
> > The following recipient(s) could not be reached:
> >
> > lmccloudxxxxxxxxxxxxxx.com on 12/27/2007 11:01 AM
> >
> > The message contains a content type that is not
supported
> >
> > < servername #5.6.0 smtp; 554 5.6.0 Message
with invalid header 
> > rejected, id=13057-02 - Non-encoded 8-bit data
(char FD hex) in 
> > message header 'Date': Date: Thu, 27 Dec 2007
10:01:08 -0500 
> > 375CDT250n>
> >
> >
> >
> > In my amavisd virusmails here are the applicable
lines in the bad 
> > header rejected email:
> >
> > SUBJECT:   ACH PAYMENT
> > Date: Thu, 27 Dec 2007 10:01:08 -0500
<FD>CDT<A8>
> > x-Mailer: JES2Mail Copyright LaBayne &
Associates Inc.
> > Message-Id: <1198771268000801157>
> > Content-Type: text/plain; charset=iso-8859-1
> > X-Amavis-Alert: BAD HEADER Non-encoded 8-bit data
(char FD hex) in 
> > message heade r 'Date': Date: Thu, 27 Dec 2007
10:01:08 -0500 
> > 375CDT250n
> >
> > Note in the Date: line the special characters
<FD> and <A8>. Is 
> > there any way to strip these out, or better,
ignore them?
> >
> > Also note, any normal email, sent from a person is
NOT bounced, as 
> > they are on a different email system.
> >
> > Thanks for any help.
> >
> > Jeff Walls
> >
> > --
> > Jeffrey Walls
> > IT Manager
> > Brown Transmission and Bearing Co.
> > PO Box 11117
> > Lancaster PA 17605-1117
> > 717 295-9200 ext 214
> > 717 295-9025 fax
> > http://www.browntran
smission.com
> >
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-userskolab.org
> > https:
//kolab.org/mailman/listinfo/kolab-users
> >
> >
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>
>



--
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )