From: Gregory Roberts II (no email)
Date: Tue Mar 05 2002 - 14:55:34 EST
Hello,
I've checked the documentation and the list archives, but I just can't
seem to figure out why things aren't working as they should. Therefore,
let me apologize in advance for the length of this post, but I want to try
and be complete.
The basic problem is this: Apparently mail is being delivered correctly,
but I can't seem to access it with Pine (or any other MUA).
The details:
Mandrake Linux 8.1 (kernel: 2.4.8-34.1mdk)
Postfix 1.1.4
Cyrus-sasl 1.5.27
Cyrus-imapd 2.0.16
(Postfix, cyrus-sasl and cyrus-imapd built from source)
If I use cyrdump on the mailbox, I can see the two test messages that have
been delivered, but no amount of cajoling will make Pine see them.
Here's some stuff from cyradm:
localhost.localdomain> lam user.steakbar1
steakbar1 lrswipcda
localhost.localdomain> lm user.steakbar1
user.steakbar1
localhost.localdomain> lq user.steakbar1
My imapd.conf:
configdirectory: /var/imap
partition-default: /var/spool/imap
partition-greg: /home/gregr/imap
admins: cyrus
sasl_pwcheck_method: pam
I ran mkimap as the cyrus user, so everything should be good to go there.
(for what it's worth, I created the mailbox with
"cm user.steakbar1 greg" to put it in the greg partition)
I do see something like the following in my imapd.log:
Mar 5 04:12:22 sabrina master[21430]: about to exec /usr/cyrus/bin/lmtpd
Mar 5 04:12:23 sabrina service-lmtpunix[21430]: executed
Mar 5 04:12:23 sabrina lmtpd[21430]: DBERROR: dbenv->open failed: No such
file or directory
Mar 5 04:12:23 sabrina lmtpd[21430]: deliver: unable to init duplicate
delivery database
Mar 5 04:12:23 sabrina lmtpd[21430]: accepted connection
Mar 5 04:12:23 sabrina lmtpd[21430]: lmtp connection preauth'd as postman
Mar 5 04:12:23 sabrina lmtpd[21430]: accepted connection
Mar 5 04:12:23 sabrina lmtpd[21430]: lmtp connection preauth'd as postman
Mar 5 04:13:24 sabrina master[2347]: process 21430 exited, status 0
I'm guessing I don't have the duplicate delivery database setup properly,
but a) I don't know what "file or directory" is not found and b) I don't
see why it would prevent me from retrieving my mail.
Finally, the relavent enties from my .pinerc:
inbox-path="INBOX"
folder-collections=Mail {mail.steakbar.com/user=steakbar1}[]
Pine seems to connect OK, and I'm not seeing authentication errors.
Here's a sample of the log messages I get when I connect from Pine:
Mar 5 12:55:55 sabrina master[25184]: about to exec /usr/cyrus/bin/imapd
Mar 5 12:55:55 sabrina service-imap[25184]: executed
Mar 5 12:55:55 sabrina imapd[25184]: accepted connection
Mar 5 12:56:00 sabrina imapd[25184]: login: steakbar.com[66.47.179.4]
steakbar1 plaintext
Mar 5 12:56:35 sabrina dump[25192]: DBERROR: dbenv->open '/var/imap/db'
failed: Permission denied
Mar 5 12:57:00 sabrina master[2347]: process 25184 exited, status 0
I haven't seen that /var/imap/db/ message before, so maybe that's a clue?
The owner and group was set to cyrus on all the files. I just changed the
group to "mail" and it didn't make a difference to pine (although I
didn't see the permission denied error in the log after trying it).
Please, can someone provide a pointer on what to check? I suspect a
problem with the setup of the mailbox within cyrus, but for the life of me
I can't see what. I've been fighting to get my mail working for over a
week now and I've solved every problem up until this last one! I feel so
close that I can almost taste victory, so please, please, if you have any
ideas, I'd appreciate some expert advise about now.
Again, I apologize for the long post. If I've left something out, or
checking something else would be relavent, let me know.
Many thanks in advance,
Greg
|
|
|