[Dovecot] Probs authenticating to Dovecot
Noel Butler
noel.butler at ausics.net
Tue Apr 16 09:16:27 EEST 2013
On Mon, 2013-04-15 at 21:43 -0700, Kris Magnusson wrote:
> Hi folks. I have set up a Ubuntu 12.04 VM with Dovecot, Postfix, MySQL, amavisd, and ISPConfig 3.
> tatic IP. I followed the instructions at howtoforge.com to set up and configure this
Somebody else recently used some howto from there and had no end of
troubles.
> But if I run alpine on mail, I can send and receive mail all day long. Here's a log entry that demonstrates this:
>
> Apr 15 01:20:01 mail postfix/smtpd[4284]: connect from localhost[127.0.0.1]
> Apr 15 01:20:01 mail postfix/smtpd[4284]: lost connection after CONNECT from localhost[127.0.0.1]
> Apr 15 01:20:01 mail postfix/smtpd[4284]: disconnect from localhost[127.0.0.1]
> Apr 15 01:20:01 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<FGhS62HaIwB/AAAB>
eh? that says you did not log in pop3, and postfix by default will
relay for localhost, well, with most configs in mynetworks having
localhost it will.
telnet mail 110
user username
pass password
list
quit
... does that work? I bet it doesn't.
> root at mail:/etc/dovecot# more dovecot.conf
dovecot -n output is best
> listen = *,[::]
> protocols = imap pop3
you use sieve below, but now in proto?
> auth_mechanisms = plain login
> disable_plaintext_auth = no
> log_timestamp = "%Y-%m-%d %H:%M:%S "
> mail_privileged_group = vmail
> ssl_cert = </etc/postfix/smtpd.cert
> ssl_key = </etc/postfix/smtpd.key
> passdb {
> args = /etc/dovecot/dovecot-sql.conf
> driver = sql
> }
verify your sql is valid by using mysql shell
> userdb {
> args = /etc/dovecot/dovecot-sql.conf
> driver = sql
> }
> plugin {
> quota = dict:user::file:/var/vmail/%d/%n/.quotausage
> sieve=/var/vmail/%d/%n/.sieve
> }
> service auth {
> unix_listener /var/spool/postfix/private/auth {
> group = postfix
> mode = 0660
> user = postfix
> }
> unix_listener auth-userdb {
> group = vmail
> mode = 0600
> user = vmail
> }
> user = root
> }
> protocol imap {
> mail_plugins = quota imap_quota
> }
> protocol pop3 {
> pop3_uidl_format = %08Xu%08Xv
> mail_plugins = quota
> }
> protocol lda {
> mail_plugins = sieve quota
> }
>
You need to check your postconf -n output as well to make sure it
knows dovecot.
postconf -a should show dovecot (maybe cyrus as well, but it needs to
know dovecot)
> Any thoughts or recommendations?
If you followed whatever guide it was in full, and have triple checked
that, ummm, find another guide?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130416/25c3c9e0/attachment.bin>
More information about the dovecot
mailing list