Re: Can list mailboxes through impad. limtpd cannot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




FORMER 03 | Baltasar Cevc wrote:

> Hi Stephen,
>
> On 05.04.2007, at 15:01, Stephen Forster wrote:
>
>> I am running cyrus imap 2.2 ( Debian etch package ) and have been 
>> trying
>> to configure it to accept connections through lmtpd tcp/ip.
>>
>> I can connect though imapd using telnet, or imtest or cyradm using the
>> admin user listed in /etc/imapd.conf. In each case, the admin user is
>> authenticated, and can list the mailboxes.
>
> I'd use lmtpd -a in cyrus.conf to test whether it's an authentication 
> problem. You surely shouldn't leave that setting (preauth 
> connection), but for debugging, it may be useful.

Hi Baltasar,

Thanks for your reply. I feel as though I have tried everything ( but
obviously have missed something )

In any case, I tried "lmtpd -a" and tested the connections again.

Below is the output from lmtptest, cyradm and the imtest to the imapd port.

Still no joy via lmtp.

# From the lmtptest interaction
mail from:<sforster@xxxxxxxxx>
250 2.1.0 ok
rcpt to:<sforster@xxxxxxxxxxxxxxxx>
550-Mailbox unknown.  Either there is no mailbox associated with this
550-name or you do not have authorization to see it.
550 5.1.1 User unknown

# The output from /var/log/mail.log showing unsuccesful listing of
mailbox via lmtp:
Apr  6 19:47:47 malthus cyrus/lmtp[4281]: accepted connection
Apr  6 19:47:47 malthus cyrus/lmtp[4281]: connection from
malthus.kidik.net [81.187.233.169] preauth'd as postman
Apr  6 19:53:08 malthus cyrus/lmtp[4281]:
verify_user(monkey.kidik.net!user.sforster) failed: Mailbox does not exist
...

# cyradm output showing the existence of the 'sforster@xxxxxxxxxxxxxxxx'
mailbox and the open permissions.
sforster@malthus:/etc$ cyradm --user cyrus localhost
Password:
localhost> lm
user.sforster (\HasNoChildren)
user.sforster@xxxxxxxxxxxxxxxxx (\HasNoChildren)
user.sforster@xxxxxxxxxxxxxxxx (\HasNoChildren)
localhost> lam
usage: listaclmailbox mailbox
localhost> lam user.sforster@xxxxxxxxxxxxxxxx
all lrswipcda
anyone lrswipcda
localhost> 

# Finally, I list the interaction with imapd using imtest. The
'sforster@xxxxxxxxxxxxxxxx' mailbox is listed no problem.
sforster@malthus:/etc$ imtest -acyrus -u cyrus -m login malthus.kidik.net
S: * OK kidik.net Cyrus IMAP4 v2.2.13-Debian-2.2.13-10 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR
S: C01 OK Completed
Please enter your password:
C: L01 LOGIN cyrus {6}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0
C: select user.sforster@xxxxxxxxxxxxxxxx
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1173562958]
* OK [UIDNEXT 1]
C: OK [READ-WRITE] Completed
...


Any advice or suggestions gratefully received.


Stephen Forster

> -- 
> Baltasar Cevc
>
> _____ FORMER 03 GmbH
> _____ infanteriestraße 19 haus 6 eg
> _____ D-80797 muenchen
>
> _____ http://www.former03.de
>
>
----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux