Hi folks,


Postfix
Dovecot-imap 1.0


port 143 not working.


$ telnet localhost 143
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
* OK Dovecot ready.
1 login satimis mypassword
1 NO Authentication failed.
* BYE Disconnected for inactivity.
Connection closed by foreign host.

# tail /var/log/mail.log
Code:
Password:
Oct  6 01:05:02 xen5 dovecot: imap-login: Disconnected: user=<satimis>, method=P LAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Oct  6 01:17:09 xen5 postfix/smtpd[1820]: connect from 201-43-209-60.dsl.telesp. net.br[201.43.209.60]
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: NOQUEUE: reject: RCPT from 201-43-209- 60.dsl.telesp.net.br[201.43.209.60]: 554 5.7.1 Service unavailable; Client host [201.43.209.60] blocked using bl.spamcop.net; Blocked - see http://www.spamcop.n et/bl.shtml?201.43.209.60; from=<criticastry@frontier-cnc.com> to=<mail@satimis. com> proto=SMTP helo=<gvaeprbc>
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: lost connection after RCPT from 201-43 -209-60.dsl.telesp.net.br[201.43.209.60]
Oct  6 01:17:11 xen5 postfix/smtpd[1820]: disconnect from 201-43-209-60.dsl.tele sp.net.br[201.43.209.60]
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max connection rate 1/60s for (smtp:201.43.209.60) at Oct  6 01:17:09
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max connection count 1 for  (smtp:201.43.209.60) at Oct  6 01:17:09
Oct  6 01:20:31 xen5 postfix/anvil[1823]: statistics: max cache size 1 at Oct  6  01:17:09
Oct  6 01:24:32 xen5 dovecot: auth-worker(default): mysql: Connected to 127.0.0. 1 (mailserver)
Oct  6 01:26:06 xen5 dovecot: imap-login: Disconnected: Inactivity: user=<satimi s>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

I suppose it uses "MySQL authorization". But I can't find /etc/dovecot/dovecot-mysql.conf


# cat /etc/dovecot/dovecot.conf
Code:
protocols = imap imaps
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
ssl_cert_file = /etc/ssl/certs/xen5.pem
ssl_key_file = /etc/ssl/private/xen5.pem
mail_privileged_group = mail

##
## IMAP specific settings
##

protocol imap {
}
  
##
## POP3 specific settings
##

protocol pop3 {
  pop3_uidl_format = %08Xu%08Xv
}

##
## LDA specific settings
##

  protocol lda {
    log_path = /var/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@satimis.com

  # Enabling Sieve plugin for server-side mail filtering
    mail_plugins = cmusieve
    global_script_path = /var/vmail/globalsieverc
  }

##
## Authentication processes
##

auth default {
  # Space separated list of wanted authentication mechanisms:
  #   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi
  mechanisms = plain login

  passdb sql {
    # Path for SQL configuration file, see /etc/dovecot/dovecot-sql.conf for example
    args = /etc/dovecot/dovecot-sql.conf 
  }

  userdb passwd {
  }

  user = root

  socket listen {
     master {
       path = /var/run/dovecot/auth-master
       mode = 0600
      # Default user/group is the one who started dovecot-auth (root)
       user = vmail
      #group = 
     }
     client {
      # The client socket is generally safe to export to everyone. Typical use
      # is to export it to your SMTP server so it can do SMTP AUTH lookups
      # using it.
        path = /var/spool/postfix/private/auth
        mode = 0660
	user = postfix
	group = postfix
     }
   }

}

dict {
  #quota = mysql:/etc/dovecot-dict-quota.conf 
}

##
## Plugin settings
##

plugin {
}

Please help. Where can I find samples of dovecot.conf and dovecot-mysql.conf for my use. TIA


B.R.
satimis