John Goerzen | 1 Mar 2005 17:14
Favicon

Re: Error when connecting to slashmail.org

On Mon, Feb 28, 2005 at 11:06:18PM +0000, David Heath wrote:
> I am trying to use offline imap to connect to slashmail.org, and am
> experiencing the following error. Anything I am doing wrong?

> ValueError: Error from select: ('NO', ["SELECT failed: Can't
> open .mailboxlist
> (file /data/slashmail/home/9/4/2/0/aaa100249/.mailboxlist): not in valid
> mailbox format"])

Looks like they're probably running UW-IMAP and that the mail server is
returning a mailbox that isn't valid.  In any case, you can see that the
mail server is returning an error.  You might try using the folderfilter
option to restrict the set of folders processed to only those you know
you care about.

-- John

Guilherme Salgado | 1 Mar 2005 18:52
Picon

Re: Moving messages to subdirectories

On Tue, Feb 22, 2005 at 10:16:19PM -0300, Guilherme Salgado wrote:
> Hi there!
> 
> I just started using offlineimap on my laptop, and had some UID validity
> problems when moving messages into subdirectories.
> 
> I have a setup for spambayes where I only train it using manually confirmed
> messages, and I save these messages in ~/.imap/train/confirmed-spam. The
> problem is that always when I move any message into that folder, I get "UID
> validity problem" and offlineimap skips that folder.
> 
> I just reproduced it in another mail account, by creating a test/ subdirectory
> inside my ~/.imap and saving a mesage in a mailbox inside test. Following is
> the output of offlineimap:
> The full log (with debug=imap) is in www.async.com.br/~salgado/offlineimap.log
> 
> Folder sync Test[test/confirmed-spam]:
>    Syncing ~/.imap/test/confirmed-spam: IMAP -> Maildir
> Folder sync Test[test/confirmed-spam]:
>    WARNING: UID validity problem for folder ~/.imap/test/confirmed-spam (saved 1109119967; got
1109120469); skipping it
> Account sync Test:
> 

I just confirmed this with the latest version in the arch repository. Anybody
confirms it?

--

-- 
Guilherme Luis R. Salgado

(Continue reading)

John Goerzen | 1 Mar 2005 21:44
Favicon

Re: Moving messages to subdirectories

On Tue, Feb 22, 2005 at 10:16:19PM -0300, Guilherme Salgado wrote:
> I have a setup for spambayes where I only train it using manually confirmed
> messages, and I save these messages in ~/.imap/train/confirmed-spam. The
> problem is that always when I move any message into that folder, I get "UID
> validity problem" and offlineimap skips that folder.

First question: have you read the "UID VALIDITY PROBLEM" section in the
manpage or manual, and followed its suggestions?  If so, what happened?

-- John

Guilherme Salgado | 1 Mar 2005 22:10
Picon

Re: Moving messages to subdirectories

On Tue, Mar 01, 2005 at 02:44:34PM -0600, John Goerzen wrote:
> On Tue, Feb 22, 2005 at 10:16:19PM -0300, Guilherme Salgado wrote:
> > I have a setup for spambayes where I only train it using manually confirmed
> > messages, and I save these messages in ~/.imap/train/confirmed-spam. The
> > problem is that always when I move any message into that folder, I get "UID
> > validity problem" and offlineimap skips that folder.
> 
> First question: have you read the "UID VALIDITY PROBLEM" section in the
> manpage or manual, and followed its suggestions?  If so, what happened?
> 

Yeah, I did when the problem first occurred and it persisted. It occurs
whenever I save a message in any two-or-more-level deep mailbox
(.imap/whatever/mailbox). The imap server for this account is UW-IMAPD.

After this, I tried the same (move a message with mutt "s" command into
.imap/whatever/mailbox) and the same problem happened. Unfortunately, I don't
have access to the imap server of this account.

Thanks,

--

-- 
Guilherme Luis R. Salgado

John Goerzen | 1 Mar 2005 22:47
Favicon

Re: Moving messages to subdirectories

On Tue, Mar 01, 2005 at 06:10:58PM -0300, Guilherme Salgado wrote:
> > First question: have you read the "UID VALIDITY PROBLEM" section in the
> > manpage or manual, and followed its suggestions?  If so, what happened?
> > 
> 
> Yeah, I did when the problem first occurred and it persisted. It occurs
> whenever I save a message in any two-or-more-level deep mailbox
> (.imap/whatever/mailbox). The imap server for this account is UW-IMAPD.

UW-IMAPD is notoriously troublesome with OfflineIMAP, and the problems
lie with UW-IMAPD, not OfflineIMAP.  OfflineIMAP uses features that Pine
doesn't, and apparently UW never really bothered to test those.  It is
probably that you will have to work around by not using a
two-or-more-level deep mailbox on the server.

-- John

David Heath | 3 Mar 2005 13:05

Re: Error when connecting to slashmail.org

On Tue, 2005-03-01 at 10:14 -0600, John Goerzen wrote:
> On Mon, Feb 28, 2005 at 11:06:18PM +0000, David Heath wrote:
> > I am trying to use offline imap to connect to slashmail.org, and am
> > experiencing the following error. Anything I am doing wrong?
> 
> > ValueError: Error from select: ('NO', ["SELECT failed: Can't
> > open .mailboxlist
> > (file /data/slashmail/home/9/4/2/0/aaa100249/.mailboxlist): not in valid
> > mailbox format"])
> 
> Looks like they're probably running UW-IMAP and that the mail server is
> returning a mailbox that isn't valid.  In any case, you can see that the
> mail server is returning an error.  You might try using the folderfilter
> option to restrict the set of folders processed to only those you know
> you care about.

Thanks, I used the following folderfilter rule, which seems to have done
the trick:

folderfilter = lambda foldername: re.search('^\.',foldername) == None

Dave

Charles Marcus | 7 Mar 2005 20:23

offlineIMAP status?

Hi,

I ran across this tool and was wondeirng if it is still being actively 
supported.

Thanks

--

-- 

Charles Marcus
I.T. Director
Media Brokers International
678.578.2200 x224
678.578.2240 fax

John Goerzen | 7 Mar 2005 20:34
Favicon

Re: offlineIMAP status?

On Mon, Mar 07, 2005 at 02:23:36PM -0500, Charles Marcus wrote:
> Hi,
> 
> I ran across this tool and was wondeirng if it is still being actively 
> supported.

Yes, it is, though mostly in a fixing bugs way.  As far as I'm
concerned, it's "done" and there aren't major new features to add.

However, I may at some point write my own IMAP client library and
re-implement it in terms of that.

-- John

Charles Marcus | 7 Mar 2005 21:03

Re: offlineIMAP status?

>> I ran across this tool and was wondeirng if it is still being actively 
>> supported.

> Yes, it is, though mostly in a fixing bugs way.  As far as I'm
> concerned, it's "done" and there aren't major new features to add.
> 
> However, I may at some point write my own IMAP client library and
> re-implement it in terms of that.

Hi John,

Oh, ok - well, I guess that would explain why devel seemed to stop 
around June of last year. I like that! Software that actually reaches a 
'done' stage! What a concept, huh? ;)

I was especially interested in this comment from the manual:

"OfflineIMAP is SAFE; it uses an algorithm designed to prevent mail loss 
at all costs. Because of the design of this algorithm, even programming 
errors should not result in loss of mail. I am so confident in the
algorithm that I use my own personal and work accounts for testing of 
OfflineIMAP pre-release, development, and beta releases. Of course, 
legally speaking, OfflineIMAP comes with no warranty, so I am not
responsible if this turns out to be wrong."

I am more concerned about data loss than I am performance, so this was 
comforting.

Also this:

(Continue reading)

John Goerzen | 7 Mar 2005 21:30
Favicon

Re: offlineIMAP status?

On Mon, Mar 07, 2005 at 03:03:15PM -0500, Charles Marcus wrote:
> So, I guess my main question is, how well does it work with two Cyrus 
> IMAP servers that have about 30 user accounts, some with only an Inbox, 
> Drafts, Templates and Trash folders, and others with 30 or more folders.

Well, OfflineIMAP is designed for personal use rather than syncing two
whole servers.  So the answer is -- this is untested, and there is no
automatic support for syncing an entire server installation.  You would
have to manually configure each account in OfflineIMAP.

> 1. Public facing Web/Secure IMAP server (SuSE SLES9 running Cyrus IMAP), 
> behind an ISP provided firewall, with only necessary ports open.
> 
> 2. Internal File/Mail server (also running SLES9, Cyrus IMAP), behind 
> another firewall that has all incoming ports closed.
> 
> 3. Clients on internal LAN talk only to the Internal IMAP mail server 
> when in the office at full gigabit (LAN) speeds.

Do I understand that the public IMAP server is not reachable via a fast
link from your internal LAN?

I basically wrote OfflineIMAP as a user frustrated with the performace
of using IMAP over the Internet.  Your users may be able to use it for
themselves individually.  Alternatively, more mail clients are doing
IMAP caching these days.  I think Thunderbird and KMail finally are, and
Mac Mail.App has for quite some time.

> Currently, we are using an outsourced email hosting provider, and the 
> speed, because it is all IMAP, and because we deal with a lot of large 
(Continue reading)


Gmane