Hi Erez,

I was having problems delivering to folders as well.  I sent the two
attached patches I wrote to the list a few days ago before 2.0.12 was
released.  The patches fixed the foldering problem for me in 2.0.11.  I
don't think my message ever made it through (judging from the web
archives), though, because I wasn't on the list at the time.  When
2.0.12 came out I took a look at the source and it looked like they had
fixed the problem, so I didn't re-post after I joined the list.

It sounds to me like you're suffering from a different problem since the
first example you gave should have worked as it doesn't use foldering at
all, but I'm sending you my patches just in case.  If others have used
foldering in 2.0.12, then the changes won't be necessary (in any case,
the patches will only work with 2.0.11, but they'll give you an idea of
why foldering didn't work before).

Your problems sounds more like a permissions problem to me, judging from
the fact that your first example didn't work.  I'd check into the
permissions on your sasldb and /var/spool/imap/user/test/ .  Or maybe
you don't have a "test" user in your sasldb and Cyrus is looking for the
user there rather than in your local Unix accounts.

Good luck.

- Tim Macinta

Erez Lirov wrote:
> 
> Hello,
> 
> I'm trying to install cyrus 2.0.12 on red hat 7, and I'm having trouble
> delivering mail to the IMAP folders directly using deliver:
> as root, cyrus, or test:
> $ ls | /usr/cyrus/bin/deliver test
> $ ls | /usr/cyrus/bin/deliver -m user.test
> $ ls | /usr/cyrus/bin/deliver -m user.test test
> $ ls | /usr/cyrus/bin/deliver -m user.test -a test
> $ ls | /usr/cyrus/bin/deliver -m user.test -a test test
> all complete right away with no hint of failure.  However, I see no trace of
> email going to the user.test mailbox.
> I have set a quota on that mailbox of 2K, and it has continuously shown 0
> used.
> I have tried this on three Red Hat 7 boxes (with different kernel versions:
> 2.2.16 and 2.4.1)
> I have also tried the Red-Hat RPM 2.0.6, but to no avail.
> 
> Login seems to work:
> $ imtest localhost -a test -v -m login
> <password>
> gives:
> Authenticated
> L0 OK User logged in
> I just need to somehow deliver mail to the folders.
> 
> One other problem:
> $ ls | /usr/cyrus/bin/deliver -m user.elirov
> always seg faults...
> The user elirov was never created on the IMAP server (cm-wise, passwd-wise,
> or any other way).
> This seems to happen on all three of my test machines.
> 
> Any ideas?
> 
> Thanks,
> Erez

cyr1.patch

cyr2.patch

old-mess.txt

Reply via email to