delivery: Message contains invalid header

2007-02-28 Thread Sergey Matveychuk
Hello. I've got a problem with delivery(1). When I try to use it with exim to place messages to mail boxes I get 'Message contains invalid header' error almost for every message. When I use LMTP transport, cyrus works just fine and deliveries any message. I don't understand what's wrong

Re: delivery: Message contains invalid header

2007-02-28 Thread Sergey Matveychuk
Sergey Matveychuk wrote: Hello. I've got a problem with delivery(1). When I try to use it with exim to Not delyvery(1), but deliver(8). Sorry, I was hurry. And now I've discovered the behaviour was introduced in 2.3.8. 2.3.7 works fine. -- Sem. Cyrus Home Page:

Re: Message contains invalid header

2006-10-30 Thread Andrew Morgan
On Sat, 28 Oct 2006, Marten Lehmann wrote: Hi, case IMAP_MESSAGE_BADHEADER: prot_printf(pout, 554 5.6.0 Message contains invalid header\r\n); break; what can I do to fix these headers? I have one message (which appears to be spam, but that is not the point), where I

Re: Message contains invalid header

2006-10-27 Thread Daniel Eckl
On 26.10.2006 23:57, Marten Lehmann wrote: exim. It can handle even emails with NUL characters and 8bit headers, but I guess all up2date MTAs (like postfix or sendmail) are capable of this. Well, that's a bad comparison between MTA and your mail storage! A MTA normally doesn't care about the

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hello, But your Cyrus IMAPd has to work with these headers! It has to be able to sort by date, search for message ID, index the body, search for any header field! So you cannot just ignore errors in Cyrus. yes, I understand. But I don't know which characters are problematic for Cyrus. I just

Re: Message contains invalid header

2006-10-27 Thread Andrew Morgan
5.6.0 Message contains invalid header\r\n); break; Andy Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hello, case IMAP_MESSAGE_CONTAINSNULL: prot_printf(pout, 554 5.6.0 Message contains NUL characters\r\n); break; especially this appears very often. Does Cyrus actually mean the whole message, or message body or header? What can I do with existing messages? Regards

Re: Message contains invalid header

2006-10-27 Thread Henrique de Moraes Holschuh
On Fri, 27 Oct 2006, Marten Lehmann wrote: especially this appears very often. Does Cyrus actually mean the whole message, or message body or header? What can I do with existing messages? Last time I had a problem like this, I piped them all through tr -d '\000'. Nowadays, postfix is set to

Re: Message contains invalid header

2006-10-27 Thread Marten Lehmann
Hi, case IMAP_MESSAGE_BADHEADER: prot_printf(pout, 554 5.6.0 Message contains invalid header\r\n); break; what can I do to fix these headers? I have one message (which appears to be spam, but that is not the point), where I cannot find any problem. No 8bit characters

Re: Message contains invalid header

2006-10-26 Thread Marten Lehmann
Hello, If it's mails from the broken Lotus Notes client that's the problem (and they're the only ones we saw here), it's caused by a null Message-ID header; just have your SMTP server remove those. no, it is not just at mails from Notes clients. I also get this error on messages with

Re: Message contains invalid header

2006-10-26 Thread Andrew Morgan
On Thu, 26 Oct 2006, Marten Lehmann wrote: Hello, If it's mails from the broken Lotus Notes client that's the problem (and they're the only ones we saw here), it's caused by a null Message-ID header; just have your SMTP server remove those. no, it is not just at mails from Notes clients. I

Re: Message contains invalid header

2006-10-26 Thread Marten Lehmann
Hello, What MTA do you use? exim. It can handle even emails with NUL characters and 8bit headers, but I guess all up2date MTAs (like postfix or sendmail) are capable of this. Regards Marten Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Message contains invalid header

2006-10-25 Thread Marten Lehmann
Hello, from time to time we are getting this message in our exim logs: LMTP error after end of data: 554 5.6.0 Message contains invalid header I have also experienced this error while I'm syncing emails from an old server to our new cyrus mailserver. I have munge8bit: false in my

Re: Message contains invalid header

2006-10-25 Thread Adam Stephens
Marten Lehmann wrote: Hello, from time to time we are getting this message in our exim logs: LMTP error after end of data: 554 5.6.0 Message contains invalid header I have also experienced this error while I'm syncing emails from an old server to our new cyrus mailserver. I have munge8bit

Re: Message contains invalid header

2006-10-25 Thread Simon Matter
Marten Lehmann wrote: Hello, from time to time we are getting this message in our exim logs: LMTP error after end of data: 554 5.6.0 Message contains invalid header I have also experienced this error while I'm syncing emails from an old server to our new cyrus mailserver. I have

Re: Message contains invalid header

2006-10-25 Thread Marten Lehmann
Hello, sorry, but I'm not looking for a way to change anything in an email, I am looking for a way so that Cyrus doesn't check for such errors and simply ignores them. Even if I would remove the according message ids in new messages, I still have to migrate the old mailboxes and IMAP is

lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

2006-07-21 Thread Rudy Gevaert
v2.3.7 ready LHLO foo.edu 250-mail2.ugent.be 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-SIZE 250-AUTH EXTERNAL 250 IGNOREQUOTA mail from:[EMAIL PROTECTED] 250 2.1.0 ok rcpt to:[EMAIL PROTECTED] 250 2.1.5 ok DATA 354 go ahead daf da af . 554 5.6.0 Message contains invalid header How

Re: lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

2006-07-21 Thread Rodrigo Ventura
On Friday 21 July 2006 14:32, Rudy Gevaert wrote: mail from:[EMAIL PROTECTED] 250 2.1.0 ok rcpt to:[EMAIL PROTECTED] 250 2.1.5 ok DATA 354 go ahead daf da af . 554 5.6.0 Message contains invalid header How do I further test if my lmtp is working? (So I can gave a look

Re: lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

2006-07-21 Thread Pascal Gienger
2003 Trying 157.193.71.18... Connected to mail2.ugent.be. Escape character is '^]'. 220 mail2.ugent.be LMTP Cyrus v2.3.7 ready LHLO foo.edu [...] mail from:[EMAIL PROTECTED] 250 2.1.0 ok rcpt to:[EMAIL PROTECTED] 250 2.1.5 ok DATA 354 go ahead daf [...] . 554 5.6.0 Message contains invalid header

Re: lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

2006-07-21 Thread Rudy Gevaert
Pascal Gienger wrote: You seem to have configured 2003 as your lmtpd port in your /etc/services of your cyrus host. Does lmtp use the same port? Stupid me. I did not have the lmtp line in my /etc/services on the mailrelay host. Thanks for the help! Cyrus Home Page:

Re: lmtp over tcp sockets, access denied and lmtp error: Message contains invalid header

2006-07-21 Thread Rudy Gevaert
Rodrigo Ventura wrote: After the DATA command you should enter the header fields in RCF??? format, followed by a empty line, followed by the actual data. For instance: thanks for pointing this out. I read in the rfc that lmtp use the same protocol als smtp (with a couple of exceptions)

Message contains invalid header

2005-08-24 Thread Etienne Goyer
contains invalid header. Looking at the message source, I can see that this message have an SMTP envelope header From blabla... at the top. I guess that this is the problematic header. Is this the case ? If yes, is there a workaround ? What is really mystifying me is that some other message

Re: Message contains invalid header

2005-08-24 Thread Andrew Morgan
folder, he receive an error Message contains invalid header. Looking at the message source, I can see that this message have an SMTP envelope header From blabla... at the top. I guess that this is the problematic header. Is this the case ? If yes, is there a workaround ? What is really

Message contains invalid header

2005-06-09 Thread User Siggi
I'm having the following problem. If someone could tell me why this error occurs I would be most thankful. Platform is Mac OSX Server 10.4.1. relay=cyrus, delay=1, status=bounced (data format error. Command output: john: Message contains invalid header ) This being the message's header. I

Re: Message contains invalid header

2005-06-09 Thread Peter A. Friend
: john: Message contains invalid header ) This being the message's header. I changed some of the addresses: Received: from sendmail.company.com (sendmail.company.com [130.208.xxx.xxx]) by mx1.company2.com (Postfix) with ESMTP id B75CB19B52F for [EMAIL PROTECTED]; Thu, 9 Jun 2005

error message message contains invalid header

2005-02-03 Thread Stefan Palme
When moving some messages, the mail-client responds with a error. We have enabled per account log files from the imap-server. But in there is the same non-sense error: [Message contains invalid header] If you belive a header is invalid, then why don't you include the name in the error message

long lines in body causes Message contains invalid header

2004-05-27 Thread Maarten de Boer
) Investigating the logs, I found that cyrdeliver caused a error: Message contains invalid header Exim (I call cyrdeliver from exim) bounced the message to inform the sender that the message could not be delivered, but when the bounced message arrived at cyrdeliver, the same error occured. The message

Re: long lines in body causes Message contains invalid header

2004-05-27 Thread Henrique de Moraes Holschuh
On Thu, 27 May 2004, Maarten de Boer wrote: Exim (I call cyrdeliver from exim) bounced the message to inform the Fix it so that it does not include bogus messages in a DSN directly, but rather as an encoded attachment. The message contains an attachment with a very long line (an XML file

Re: long lines in body causes Message contains invalid header

2004-05-27 Thread Maarten de Boer
Hello Henrique, Thanks for your reply. Exim (I call cyrdeliver from exim) bounced the message to inform the Fix it so that it does not include bogus messages in a DSN directly, but rather as an encoded attachment. That is a good idea. I will try to figure out how to do that with exim.

Re: cyrdeliver error: Message contains invalid header

2003-09-13 Thread Tom
On Fri, 12 Sep 2003, Miham KEREKES wrote: Hi, I'm trying to set up cyrus-imap with exim4. Exim4 does smtp-time virus and spamscan, and then calls cyrdeliver with arg username. The only error is, that cyrdeliver always complaining about: Message contains invalid header, and the message

Re: cyrdeliver error: Message contains invalid header

2003-09-12 Thread Pat Lashley
--On Friday, September 12, 2003 23:11:19 +0200 Miham KEREKES [EMAIL PROTECTED] wrote: I'm trying to set up cyrus-imap with exim4. Exim4 does smtp-time virus and spamscan, and then calls cyrdeliver with arg username. The only error is, that cyrdeliver always complaining about: Message contains