Unable to login with iPhone?

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Apr 6 05:40:46 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 5 Apr 2016, Jason Pruim wrote:

> Right now though... My biggest issue is it won't connect to my iPhone... I
> can login with mail on my computer, and through round cube for webmail...
> But it gets stuck on "verifying"... I tried addingcram-md5 and digest-md5
> to the auth_mechanisms but that didn't work... Any idea what I'm missing?

did you verified that the connection from the iPhone arrives at Dovecot at 
all? Then: http://wiki2.dovecot.org/Debugging/Authentication and visit the 
log files.

>
> Here is my doveconf -n:
>
> [ec2-user at ip-172-31-28-46 postfix]$ doveconf -n
>
> # 2.2.10: /etc/dovecot/dovecot.conf
>
> # OS: Linux 4.4.5-15.26.amzn1.x86_64 x86_64  ext4
>
> auth_mechanisms = plain login cram-md5 digest-md5
>
> mail_location = maildir:/var/vmail/%d/%n/Maildir
>
> 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
>
> mbox_write_locks = fcntl
>
> namespace inbox {
>
>  inbox = yes
>
>  location =
>
>  prefix =
>
>  separator = .
>
> }
>
> passdb {
>
>  args = /etc/dovecot/dovecot-sql.conf.ext
>
>  driver = sql
>
> }
>
> plugin {
>
>  sieve = ~/.dovecot.sieve
>
>  sieve_dir = ~/sieve
>
> }
>
> service auth {
>
>  unix_listener /var/spool/postfix/private/auth {
>
>    group = postfix
>
>    mode = 0660
>
>    user = postfix
>
>  }
>
>  unix_listener auth-userdb {
>
>    group = vmail
>
>    mode = 0666
>
>    user = vmail
>
>  }
>
> }
>
> service imap-login {
>
>  inet_listener imap {
>
>    port = 143
>
>  }
>
>  inet_listener imaps {
>
>    port = 993
>
>    ssl = yes
>
>  }
>
> }
>
> ssl = required
>
> ssl_cert = </etc/ssl/certs/mailserver.pem
>
> ssl_key = </etc/ssl/private/mailserver.pem
>
> ssl_protocols = !SSLv2 !SSLv3
>
> userdb {
>
>  args = uid=vmail gid=vmail home=/var/vmail/%d/%n
>
>  driver = static
>
> }
>
> protocol lda {
>
>  mail_plugins = " sieve"
>
> }
>
> [ec2-user at ip-172-31-28-46 postfix]$
>
>
> If I try to telnet to port 993 from my local computer it connects, but
> won't let me login... Same on port 143...
>
> Any ideas?
>
> Thanks everyone for your help! I can't wait until I can actually help with
> the questions instead of just asking them!
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVwShXnz1H7kL/d9rAQIBjAgAj3eonk5bthDHFLDh/+VfdpqGMJ4+32Ch
kd5zueur30hMOJH379efDs/bSERRsgrC4T8GPlLYaKYzg1+OPVE11Jaz85LJ7K7r
CtaujA9wIkLdnKm91jKZ5jtvlZ6awVKYI7422LBOB1TkYEYfUvWIaEhrjTZvKiGT
WcbyUS0FqJrAZu/T5wwfBoZbNHukiZEonai77/yQzIPhzKnOTFav/goid9NjfBSC
RkL83yZ7lahDAh0hu8KkH+tfg2nGJhhpZzlwHZAbmypmVjB73Dwa5vnkqc+ah+BJ
YJSEfUI/nd7if9HQIoAyW6f57ljF0Cj91fG9e0bD22C0ZK1lLMK7UQ==
=Zvca
-----END PGP SIGNATURE-----


More information about the dovecot mailing list