[vPostMaster] Can't authenticate w/ IMAP

Scott Kleihege scott-dpkg at tummy.com
Mon Jun 23 14:01:07 MDT 2008


On Thu, Jun 19, 2008 at 01:08:35PM -0700, Sherman Boyd wrote:
>At this point I can't authenticate with IMAP, and the logs aren't
>showing me much, I get a line showing the disconnect:
>
>Jun 19 12:25:40 fileserve dovecot: imap-login: Disconnected:
>rip=192.168.10.199, lip=192.168.10.1
>
>and that's about it.  I can connect via IMAP SSL though ... strange.
>I can connect with telnet so the port is open and dovecot is
>listening.  Outlook gives me: "General Authentication failed.  None of
>the authentication methods supported by your IMAP server (if any) are
>supported by this computer."

In Outlook, if you look at the properties of the mail account, on the
"Servers" tab, is the "Log on using Secure Password Authentication" box
checked?  If so, try with it unchecked.

>If I had a valid cert I'd be done, but I don't want them to click the
>cert warning every time.  If there is a workaround to the cert warning
>I'd like to hear about that too.

I believe you can setup a self-signed certificate, and then have it always
accept the certificate.

As root, you could do something like

cd /etc/ssl
openssl genrsa 1024 > private/server.key
openssl req -new -key private/server.key -out server.csr
openssl x509 -req -days 1461 -in server.csr -signkey private/server.key -out certs/server.crt
echo "ssl_cert_file = /etc/ssl/certs/server.crt" >> /etc/dovecot/dovecot.conf
echo "ssl_key_file = /etc/ssl/private/server.key" >> /etc/dovecot/dovecot.conf
/etc/init.d/dovecot restart

See
https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html
for more details on openssl certificates.

-- 
Regards,                    tummy.com, ltd
Scott Kleihege              Linux Consulting since 1995
                            http://www.tummy.com/


More information about the vPostMaster mailing list