Good day Folks,
I am trying to setup a mail server based on dovecot(with imap and pop3) and postfix as a smtp on debian jessie/sid.
The login its system user.
After I have tried to configure the client (Icedove), this last can find the imap, pop3 and smtp servers; but the can't be verified.
Please see below my dovecot, postfix configurations and log details.
erickom@ajk:/etc/postfix$ doveconf -n # 2.2.5 (c4f754d6967e): /etc/dovecot/dovecot.conf # OS: Linux 3.10-2-486 i686 Debian jessie/sid ext4 auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login base_dir = /var/run/dovecot/ disable_plaintext_auth = no login_greeting = Great Kom, ready. mail_debug = yes mail_location = maildir:/var/mail/%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 namespace inbox { 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 = } passdb { driver = pam } plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/sieve } protocols = " imap sieve pop3" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0666 user = postfix } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert =
erickom@ajk:/etc/postfix$ sudo postconf -n [sudo] password for erickom: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix debug_peer_list = problem.domain home_mailbox = Maildir/ inet_interfaces = all inet_protocols = all mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = metropolitanbuntu.co.za, ajk.metropolitanbuntu.co.za, localhost.metropolitanbuntu.co.za, localhost, metropolitan.org.za myhostname = ajk.metropolitanbuntu.co.za mynetworks = 127.0.0.0/8 10.0.0.0/24 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + smtp_tls_cert_file = /etc/ssl/certs/smtpd.crt smtp_tls_key_file = /etc/ssl/private/smtpd.hey smtp_tls_loglevel = 1 smtp_tls_note_starttls_offer = yes smtp_tls_security_level = may smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = Great Kom Networks (Pty) LTD, Ready. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key smtpd_tls_received_header = yes smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtpd_use_tls = yes
Aug 20 09:02:36 ajk postfix/smtpd[16966]: connect from unknown[10.0.0.103]
Aug 20 09:02:36 ajk postfix/smtpd[16966]: improper command pipelining
after EHLO from unknown[10.0.0.103]: QUIT\r\n
Aug 20 09:02:36 ajk postfix/smtpd[16966]: disconnect from
unknown[10.0.0.103]
Aug 20 09:02:36 ajk dovecot: auth: Debug: auth client connected (pid=17032)
Aug 20 09:02:36 ajk dovecot: imap-login: Aborted login (no auth attempts
in 0 secs): user=<>, rip=10.0.0.103, lip=10.0.0.244,
session=<xjZOpFvkSAAKAABn>
Aug 20 09:02:57 ajk postfix/smtpd[16966]: connect from unknown[10.0.0.103]
Aug 20 09:02:57 ajk postfix/smtpd[16966]: improper command pipelining
after EHLO from unknown[10.0.0.103]: QUIT\r\n
Aug 20 09:02:57 ajk postfix/smtpd[16966]: disconnect from
unknown[10.0.0.103]
Aug 20 09:02:57 ajk dovecot: auth: Debug: auth client connected (pid=17037)
Aug 20 09:02:57 ajk dovecot: imap-login: Aborted login (no auth attempts
in 0 secs): user=<>, rip=10.0.0.103, lip=10.0.0.244,
session=<Vz6IpVvkSgAKAABn>
Aug 20 09:03:03 ajk dovecot: auth: Debug: auth client connected (pid=17040)
Aug 20 09:03:03 ajk dovecot: auth: Debug: client in:
AUTH#0111#011PLAIN#011service=imap#011session=okfspVvkTAAKAABn#011lip=10.0.0.244#011rip=10.0.0.103#011lport=143#011rport=57164
Aug 20 09:03:03 ajk dovecot: auth: Debug: client passdb out: CONT#0111#011
Aug 20 09:03:03 ajk dovecot: auth: Debug: client in:
CONT#0111#011AGVyaWNrb21AbWV0cm9wb2xpdGFuLm9yZy56YQBuaW5hMDEwMTgzYw==
(previous base64 data may contain sensitive data)
Aug 20 09:03:03 ajk dovecot: auth-worker(17041): Debug: Loading modules
from directory: /usr/lib/dovecot/modules/auth
Aug 20 09:03:03 ajk dovecot: auth-worker(17041): Debug: Module loaded:
/usr/lib/dovecot/modules/auth/libdriver_mysql.so
Aug 20 09:03:03 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): lookup service=dovecot
Aug 20 09:03:03 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): #1/1 style=1 msg=Password:
Aug 20 09:03:06 ajk dovecot: auth-worker(17041):
pam(erickom@metropolitan.org.za,10.0.0.103): pam_authenticate() failed:
Authentication failure (password mismatch?) (given password: ni$
Aug 20 09:03:08 ajk dovecot: auth: Debug: client passdb out:
FAIL#0111#011user=erickom@metropolitan.org.za
Aug 20 09:03:08 ajk dovecot: auth: Debug: client in:
AUTH#0112#011LOGIN#011service=imap#011session=okfspVvkTAAKAABn#011lip=10.0.0.244#011rip=10.0.0.103#011lport=143#011rport=57164
Aug 20 09:03:12 ajk dovecot: auth: Debug: client passdb out:
CONT#0112#011VXNlcm5hbWU6
Aug 20 09:03:12 ajk dovecot: auth: Debug: client in:
CONT#0112#011ZXJpY2tvbUBtZXRyb3BvbGl0YW4ub3JnLnph (previous base64 data
may contain sensitive data)
Aug 20 09:03:12 ajk dovecot: auth: Debug: client passdb out:
CONT#0112#011UGFzc3dvcmQ6
Aug 20 09:03:12 ajk dovecot: auth: Debug: client in:
CONT#0112#011bmluYTAxMDE4M2M= (previous base64 data may contain
sensitive data)
Aug 20 09:03:12 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): lookup service=dovecot
Aug 20 09:03:12 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): #1/1 style=1 msg=Password:
Aug 20 09:03:14 ajk dovecot: auth-worker(17041):
pam(erickom@metropolitan.org.za,10.0.0.103): pam_authenticate() failed:
Authentication failure (password mismatch?) (given password: ni$
Aug 20 09:03:16 ajk dovecot: auth: Debug: client passdb out:
FAIL#0112#011user=erickom@metropolitan.org.za
Aug 20 09:03:16 ajk dovecot: auth: Debug: client in:
AUTH#0113#011PLAIN#011service=imap#011session=okfspVvkTAAKAABn#011lip=10.0.0.244#011rip=10.0.0.103#011lport=143#011rport=57164#011r$
Aug 20 09:03:20 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): lookup service=dovecot
Aug 20 09:03:20 ajk dovecot: auth-worker(17041): Debug:
pam(erickom@metropolitan.org.za,10.0.0.103): #1/1 style=1 msg=Password:
Aug 20 09:03:22 ajk dovecot: auth-worker(17041):
pam(erickom@metropolitan.org.za,10.0.0.103): pam_authenticate() failed:
Authentication failure (password mismatch?) (given password: ni$
Aug 20 09:03:24 ajk dovecot: auth: Debug: client passdb out:
FAIL#0113#011user=erickom@metropolitan.org.za
Aug 20 09:03:24 ajk dovecot: imap-login: Disconnected (auth failed, 3
attempts in 21 secs): user=erickom@metropolitan.org.za, method=PLAIN,
rip=10.0.0.103, lip=10.0.0.244, session= Thanks for you assistance. --
Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College 2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
erickom@kom.za.net | erickom@metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5
/ You are scrupulously honest, frank, and
| straightforward. Therefore you have few |
\ friends. /\
\
.--.
|o_o |
|:_/ |
// \ \
(| Kom | )
/'\_ _/`\
\___)=(___/