[Dovecot] Namespace Mistake

Urban Loesch bind at enas.net
Tue Feb 4 16:35:56 UTC 2014


Hi,

if I try a telnet to your IP I get the following:

telnet 37.187.103.194 143
Trying 37.187.103.194...
Connected to 37.187.103.194.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS LOGINDISABLED] Dovecot ready.
1 logout
* BYE Logging out
1 OK Logout completed.
Connection closed by foreign host.

You have "LOGINDISABLED" enabled. Which means that you can't login with plain text mechanism.
See: http://archiveopteryx.org/imap/logindisabled

Is Sylpheed able to use another auth mechanism rather than PLAIN or LOGIN? Perhaps you should also use
TLS to encrypt the hole traffic between client and server, as it is supported by dovecot (STARTTLS).

Regards
Urban


Am 04.02.2014 16:26, schrieb Silvio Siefke:
> Hello,
> 
> On Tue, 4 Feb 2014 08:14:20 +0100 (CET) Steffen Kaiser
> <skdovecot at smail.inf.fh-brs.de> wrote:
> 
>> Those two namespaces should have the same name, because the prefix is
>> the same:
> 
> Yes that's it. Thank you for help. Can i ask one question then im happy.
> 
> I try to connect with email client, but nothing happen. Sylpheed say
> only can not build the box. I has activate the auth_debug but in the
> logs i find no mistake. 
> 
> ks3374456 log # cat dovecot-debug.log 
> Feb 04 16:25:40 auth: Debug: Loading modules from directory: /usr/lib64/dovecot/auth
> Feb 04 16:25:40 auth: Debug: Read auth token secret from /var/run/dovecot/auth-token-secret.dat
> Feb 04 16:25:40 auth: Debug: auth client connected (pid=15214)
> 
> ks3374456 log # cat dovecot-info.log 
> Feb 04 16:22:58 master: Info: Dovecot v2.2.9 starting up (core dumps disabled)
> Feb 04 16:23:18 imap-login: Info: Aborted login (no auth attempts in 0 secs): user=<>, rip=176.3.32.140, lip=37.187.103.194, session=<MEpKOJbxAgCwAyCM>
> Feb 04 16:25:28 master: Info: Dovecot v2.2.9 starting up (core dumps disabled)
> Feb 04 16:25:41 imap-login: Info: Aborted login (no auth attempts in 1 secs): user=<>, rip=176.3.32.140, lip=37.187.103.194, session=<lBTMQJbxCQCwAyCM>
> 
> ks3374456 log # cat dovecot.log 
> Feb 04 16:25:28 master: Warning: Killed with signal 15 (by pid=15178 uid=0 code=kill)
> 
> the config:
> ks3374456 log # dovecot -n
> # 2.2.9: /etc/dovecot/dovecot.conf
> # OS: Linux 3.10.23-xxxx-std-ipv6-64 x86_64 Gentoo Base System release 2.2 
> auth_debug = yes
> debug_log_path = /var/log/dovecot-debug.log
> info_log_path = /var/log/dovecot-info.log
> log_path = /var/log/dovecot.log
> mail_debug = yes
> mail_location = maildir:~/maildir
> mail_plugins = acl
> managesieve_notify_capability = mailto
> managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
> namespace {
>   list = yes
>   location = maildir:/var/vmail/public:LAYOUT=fs:INDEX=~/public
>   prefix = Public/
>   separator = /
>   subscriptions = no
>   type = public
> }
> namespace inbox {
>   hidden = no
>   inbox = yes
>   location = 
>   mailbox Drafts {
>     special_use = \Drafts
>   }
>   mailbox Junk {
>     special_use = \Junk
>   }
>   mailbox Sent {
>     special_use = \Sent
>   }
>   mailbox "Sent Messages" {
>     special_use = \Sent
>   }
>   mailbox Trash {
>     special_use = \Trash
>   }
>   prefix = 
>   separator = /
>   type = private
> }
> passdb {
>   args = username_format=%u /var/vmail/auth.d/%d/passwd
>   driver = passwd-file
> }
> plugin {
>   acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/sieve
>   sieve_global_dir = /var/vmail/conf.d/%d/sieve
> }
> protocols = imap lmtp
> service auth-worker {
>   user = dovecot
> }
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     group = postfix
>     mode = 0660
>     user = postfix
>   }
>   user = dovecot
> }
> service imap-login {
>   inet_listener imap {
>     address = 37.187.103.194
>     port = 143
>   }
>   inet_listener imaps {
>     port = 0
>   }
> }
> service lmtp {
>   unix_listener /var/spool/postfix/private/dovecot-lmtp {
>     group = postfix
>     mode = 0666
>     user = postfix
>   }
> }
> ssl_cert = </etc/ssl/dovecot/server.pem
> ssl_key = </etc/ssl/dovecot/server.key
> userdb {
>   args = username_format=%u /var/vmail/auth.d/%d/passwd
>   driver = passwd-file
> }
> verbose_proctitle = yes
> protocol lmtp {
>   mail_plugins = acl sieve
>   postmaster_address = webmaster at silviosiefke.com
> }
> protocol lda {
>   mail_plugins = sieve
> }
> protocol imap {
>   mail_plugins = acl imap_acl mail_log notify
> }
> 
> Thank you for help & Nice Day
> Silvio
> 


More information about the dovecot mailing list