Re: refusing bad mail based on headers?

2005-11-12 Thread Wil Cooley
On Sat, 2005-11-12 at 22:32 -0500, Bill Kearney wrote: > Is there a way to a) have cyrus clean up the headers or b) ignore then and > perhaps somehow flag them for later clean up? If you've identified the offending header, you could delete it with: $ sed -i.bak -e '/^X-Message-Status/d' mailbox

Re: using imapsync and altnamespace?

2005-11-12 Thread Bill Kearney
> How do I cajole it into dropping that leading period? What's the magic > regex-fu needed? I think I managed to stumble across it on my own: --regextrans2 's/^mail\.//' -Bill Kearney Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archive

using imapsync and altnamespace?

2005-11-12 Thread Bill Kearney
Anyone out there using the altnamespace along with imapsync? I'm trying to move mail from a uw-imap server over to cyrus. imapsync (which doesn't appear to have it's own mailing list?) can preform a regex transform on the target but doesn't appear to be able to drop the leading seperator characte

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Andy Fiddaman
On Sun, 13 Nov 2005, Matthijs Mohlmann wrote: ; Hi, ; ; Andy Fiddaman wrote: ; > On Sat, 12 Nov 2005, Matthijs Mohlmann wrote: ; > ; Thanks a lot, that did the trick. Where can I read more about that bug ? It's been discussed on this list before and others, try: http://lists.freebsd.org/piperm

refusing bad mail based on headers?

2005-11-12 Thread Bill Kearney
Hi all, I'm trying to migrate a bunch of mail from a uw-imap server over to cyrus. Cyrus apparently dislikes some malformed headers some of the messages possess. Apparently a proxying script I'd been using had been randomly jamming some garbage into the X-Message-Status header and the uw-imap dma

Re: cm non-INBOX folder: Permission denied

2005-11-12 Thread Bill Kearney
> I have set up a normal user named tester, with a home directory. I > would like cyrus-imapd to store the users mail inside of the users > home directory. But, IIRC, that's not where cyrus stores mail. Cyrus uses it's own 'partitions' to store all mail, not the shell home directory. Thus trying

Re: cm non-INBOX folder: Permission denied

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 17:09 -0600, Steven Feil wrote: > Whenever I try to create a folder that is not a sub-folder of INBOX I > get the error "createmailbox: Permission denied". This happens > regardless of whether I use cyradm or a user mail program such as > squirrelmail. the only way you ca

cm non-INBOX folder: Permission denied

2005-11-12 Thread Steven Feil
Whenever I try to create a folder that is not a sub-folder of INBOX I get the error "createmailbox: Permission denied". This happens regardless of whether I use cyradm or a user mail program such as squirrelmail. I have set up a normal user named tester, with a home directory. I would like cyrus-

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Matthijs Mohlmann
Hi, Andy Fiddaman wrote: > On Sat, 12 Nov 2005, Matthijs Mohlmann wrote: > > ; Hi, > ; > ; I'm running FreeBSD 6.0-RELEASE on a Ultra Sparc (500Mhz with 512Mb RAM). > ; > ; I have setup cyrus with postfix and saslauthd. All components are > ; completely working except cyrus. > ; > ; What I discov

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 19:34 +0100, Matthijs Mohlmann wrote: > Sorry for the followup, I forgot one piece of debug information: > > Nov 12 15:18:50 hermes lmtpunix[19632]: DBERROR: invalid > berkeley_cachesize value, using internal default > Nov 12 15:18:50 hermes lmtpunix[19632]: sql_select option

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Andy Fiddaman
On Sat, 12 Nov 2005, Matthijs Mohlmann wrote: ; Hi, ; ; I'm running FreeBSD 6.0-RELEASE on a Ultra Sparc (500Mhz with 512Mb RAM). ; ; I have setup cyrus with postfix and saslauthd. All components are ; completely working except cyrus. ; ; What I discovered is that I can create mailboxes in cyrus

Re: moving mail from uw to cyrus, damaged headers?

2005-11-12 Thread Wil Cooley
On Sat, 2005-11-12 at 15:37 -0500, Bill Kearney wrote: > So I suppose what I'm after is a 'mailbox cleaner-upper' for those corrupted > messages. What I'd probably do is use a little sed or perl to remove or transform those known-offenders. For example, \x13 is a control character, but \x42 is '

Cyrus nntpd not handling NEXT and LAST correctly?

2005-11-12 Thread Lars Kellogg-Stedman
[I initially posted this via Gmane, but it doesn't appear to have made it to the list. My apologies if y'all end up seeing two copies of this message.] Hello Cyrus nntp people, I'm writing an application in which I'd like to be able to retrieve the last messages from a newsgroup hosted on a Cyr

Re: moving mail from uw to cyrus, damaged headers?

2005-11-12 Thread Bill Kearney
> try imapsync Tried it, no go, same problem: Couldn't append msg #6 (Subject:[Re: How to specify?]) to folder tt: Error trying to append: 111 NO Message contains invalid header (Basically it's telling me cyrus won't take the bogus message I put in the 'tt' folder) Likewise various other IMAP

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Matthijs Mohlmann
With db4.2 without any optimalisation (CFLAGS= -O0 -fno-strict-aliasing -pipe) I get the same errors. For db3 and db3 without any optimalisation I get different errors: Nov 12 21:02:50 hermes lmtpunix[77637]: DBERROR: invalid berkeley_cachesize value, using internal default Nov 12 21:02:51 hermes

Re: Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Matthijs Mohlmann
Sorry for the followup, I forgot one piece of debug information: Nov 12 15:18:50 hermes lmtpunix[19632]: DBERROR: invalid berkeley_cachesize value, using internal default Nov 12 15:18:50 hermes lmtpunix[19632]: sql_select option missing Nov 12 15:18:50 hermes lmtpunix[19632]: auxpropfunc error no

Re: moving mail from uw to cyrus, damaged headers?

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 12:16 -0500, Bill Kearney wrote: > Hello, > > Anyone know of a way to move all 'good mail' from a uw-imap imap server > to a cyrus server and have it ignore mail with bad headers? > > It would appear I've got a considerable number of messages in my uw-imap > mailbox that hav

Can't get cyrus imapd 2.2.12 to work on a sparc

2005-11-12 Thread Matthijs Mohlmann
Hi, I'm running FreeBSD 6.0-RELEASE on a Ultra Sparc (500Mhz with 512Mb RAM). I have setup cyrus with postfix and saslauthd. All components are completely working except cyrus. What I discovered is that I can create mailboxes in cyrus and can see them with my imap client. But when I try to deliv

moving mail from uw to cyrus, damaged headers?

2005-11-12 Thread Bill Kearney
Hello, Anyone know of a way to move all 'good mail' from a uw-imap imap server to a cyrus server and have it ignore mail with bad headers? It would appear I've got a considerable number of messages in my uw-imap mailbox that have headers that cyrus doesn't like. That is, if I try using mailsync,

Is Cyrus nntpd "LAST" command per RFC?

2005-11-12 Thread Lars Kellogg-Stedman
Hey folks, I'm writing an application in which I'd like to be able to retrieve the last messages from a newsgroup hosted on a Cyrus nntp server. I figured I could use the ARTICLE command to select the last article in the group and then use the LAST command to step backwards an appropriate nu