Koozali.org: home of the SME Server

550 5.6.0 Invalid header found

Offline warbird_30

  • *
  • 12
  • +0/-0
550 5.6.0 Invalid header found
« on: March 06, 2009, 10:29:30 AM »
Everytime someone tries to send to embarqmail (worst offender) from sme server, their e-mail is immediately bounced back stating: "550 5.6.0 Invalid header found (see RFC2822 section 3.6)".  This happens with new messages, forwarded messages and replied to messages. 

Is there anyway to find out exactly what the invalid header is and how to correct the issue? 

Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #1 on: March 06, 2009, 10:56:43 AM »
hi

did you try to read "RFC2822 section 3.6"? :-)

ciao
Stefano

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: 550 5.6.0 Invalid header found
« Reply #2 on: March 06, 2009, 11:22:52 AM »
Is there anyway to find out exactly what the invalid header is and how to correct the issue? 
Not sure how to find out which header field is causing this, the filed definitions are here http://tools.ietf.org/html/rfc2822#section-3.6
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #3 on: March 09, 2009, 02:28:05 AM »
Thanks for the field defs, I'll look them over.

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #4 on: March 09, 2009, 03:08:37 AM »
Here is the exact message when trying to send to embarqmail e-mail accouts:

-------
From: MAILER-DAEMON@xxx.net [mailto:MAILER-DAEMON@xxx.net]
Sent: Monday, March 02, 2009 12:12 PM
To: user@xxx.net
Subject: failure notice

Hi. This is the qmail-send program at xxx.net.
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.

<username@embarqmail.com>:
208.47.184.2 failed after I sent the message.
Remote host said: 550 5.6.0 Invalid header found (see RFC2822 section 3.6)
-------

I read over RFC2822 section 3.6.  Interesting information, but I'm not sure where to go from here to resolve the issue.  Not sure why this only seems to occur when sending to emarqmail.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #5 on: March 09, 2009, 03:02:40 PM »
I read over RFC2822 section 3.6.  Interesting information, but I'm not sure where to go from here to resolve the issue.  Not sure why this only seems to occur when sending to emarqmail.

Ask embaqmail support.

Or show the full headers of a message which is being discarded here, so someone can check the headers for "validity".

I doubt this has anything to do with SME server.

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #6 on: March 09, 2009, 03:28:19 PM »
I did ask embarqmail support.  Was chatting with them for a little while and they say it's nothing on their end and that the problem is on mine.

Here are all of the headers from the message:

-----Original Message-----
From: MAILER-DAEMON@myserver.net [mailto:MAILER-DAEMON@myserver.net]
Sent: Monday, March 02, 2009 12:12 PM
To: library@myserver.net
Subject: failure notice

Hi. This is the qmail-send program at myserver.net.
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.

<username@embarqmail.com>:
208.47.184.2 failed after I sent the message.
Remote host said: 550 5.6.0 Invalid header found (see RFC2822 section 3.6)

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

Return-Path: <library@myserver.net>
Received: (qmail 2700 invoked by uid 453); 2 Mar 2009 17:11:36 -0000
X-Virus-Checked: Checked by ClamAV on myserver.net
From: "Library" <library@myserver.net>
To: <dbake@myserver.net>,
        <username@embarqmail.com>
Subject: FW: children's librarian and special programs coordinator
Date: Mon, 2 Mar 2009 12:23:10 -0500
Message-ID: <000001c99b5b$8fd526d0$949ebb83@xxxx.myserver.net>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Thread-Index: AcmZNqyctYcu5MEGRVSdlXyoGFpuFACJMikg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Content-type: multipart/mixed; boundary="----------=_1236013896-2695-0"
X-Qpsmtp-Disclaimer: myserver.net
: myserver.net


Thanks for the help.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #7 on: March 09, 2009, 03:49:08 PM »
I did ask embarqmail support.  Was chatting with them for a little while and they say it's nothing on their end and that the problem is on mine.

Perhaps so, but they should be able to tell you exactly what. It's their software which is rejecting the message.

Quote


Here are all of the headers from the message:
...
Content-type: multipart/mixed; boundary="----------=_1236013896-2695-0"
X-Qpsmtp-Disclaimer: myserver.net
: myserver.net


That looks like an invalid header to me.

There's an existing bug report for that, although the root cause has been elusive:

http://bugs.contribs.org/show_bug.cgi?id=4927

Email disclaimers are a stupid waste of time, bandwidth and storage space.

http://goldmark.org/jeff/stupid-disclaimers/
http://attrition.org/security/rants/z/disclaimers.html
http://www.jorgensen.org.uk/blog/7-email-disclaimers
http://www.algorithm.com.au/blog/files/email-disclaimers.php

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #8 on: March 09, 2009, 03:57:34 PM »
Email disclaimers are a stupid waste of time, bandwidth and storage space.

Charlie, I agree with you, but sometimes stupid men write stupid laws as here in italy where privacy disclaimers are mandatory.. :-)

Ciao
Stefano

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #9 on: March 09, 2009, 04:23:52 PM »
We were simply wanting to see how the disclaimers work/look in e-mails.  Disclaimers in e-mail (to my knowledge) are not required here and I disabled them in smtpd.  Sent out a couple of test e-mails to see if this resolves the issue.  Will post results (once obtained) later after lunch.

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #10 on: March 09, 2009, 10:22:04 PM »
Well here's one to baffle the mind.  I ran:

- config setprop smtpd disclaimer disabled
- signal-event email-update

Now only internal e-mail seems to work.  All outgoing and incoming e-mail has stopped.  I even went so far as to reboot the system (which resulted in many phone calls). No e-mails to/from external sources.  I don't think it likes me anymore since the change. 

messages in queue: 65
messages in queue but not yet preprocessed: 0

Is there a way to force the queue to run?

Also, in case you need to know:

smtpd=service
    Authentication=disabled
    Instances=800
    InstancesPerIP=100
    MaximumDateOffset=0
    PatternsScan=disabled
    Proxy=enabled
    TCPPort=25
    TCPProxyPort=25
    VirusScan=enabled
    access=public
    disclaimer=disabled
    status=enabled
    tnef2mime=enabled

Reason for high 'InstancesPerIP' is that all branches are filtered through a single IP address.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #11 on: March 09, 2009, 10:57:09 PM »
messages in queue: 65
messages in queue but not yet preprocessed: 0

Is there a way to force the queue to run?

It's far better to diagnose what's wrong before trying to guess how to fix it. Have you looked in the qmail/current log file?

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #12 on: March 09, 2009, 11:13:19 PM »
Several messages in 'qmail/current' like this:

2009-03-09 17:32:17.975263500 delivery 143: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
2009-03-09 17:32:17.975270500 status: local 0/10 remote 19/20
2009-03-09 17:32:17.975275500 starting delivery 163: msg 2586328 to remote wridge@columbus.rr.com
2009-03-09 17:32:17.975279500 status: local 0/10 remote 20/20
2009-03-09 17:32:17.979042500 delivery 144: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
2009-03-09 17:32:17.979048500 status: local 0/10 remote 19/20
2009-03-09 17:32:17.979052500 starting delivery 164: msg 2586360 to remote xxxx.xxxx@polaris.com

Offline warbird_30

  • *
  • 12
  • +0/-0
Re: 550 5.6.0 Invalid header found
« Reply #13 on: March 10, 2009, 12:06:12 AM »
Can I simply reinstall sme 7.4 over itself to reset everything and not lose users and e-mail?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: 550 5.6.0 Invalid header found
« Reply #14 on: March 10, 2009, 12:22:57 AM »
Can I simply reinstall sme 7.4 over itself to reset everything and not lose users and e-mail?

No. Like I said, you need to diagnose the problem.

Are you sure that your Internet link is working? Your DNS lookups are failing.