[FUG-BR] Postfix + Dovecot LDA (deliver)

Paulo Henrique paulo.rddck em bsd.com.br
Quarta Fevereiro 3 10:05:14 BRST 2010


No meu aqui no user eu user root segue meu arquivo de configuração do dovecot.

[parthernon] /usr/local/etc#cat dovecot.conf
protocols = imap pop3 imaps pop3s

   protocol imap {
     listen = *:143
     ssl_listen = *:993
   }
   protocol pop3 {
     listen = *:110
     ssl_listen = *:995
   }

# Modo de autentication
disable_plaintext_auth = no

# desconectar os cliente ativo na realization de manutention on server
#shutdown_clients = yes

### Configuration dos logs
log_path = /var/log/dovecot/dovecot.log
info_log_path = /var/log/dovecot/debbuger.log
log_timestamp = "%b %d %H:%M:%S "
syslog_facility = mail

### Configuration de SSL/TLS
ssl = yes
#ssl_parameters_regenerate = 0
ssl_cert_file = /etc/ssl/dovecot/cert.pem
ssl_key_file = /etc/ssl/dovecot/key.pem
#ssl_cipher_list = ALL:!LOW:!SSLv2
verbose_ssl = yes

#### Tratamento do processo de login

login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c

login_log_format = %$: %s@%r

##### Configuration do MailBox/MailDir

mail_location = maildir:/home/MAIL/postfix/%u/
mail_uid = 1001
mail_gid = 1002
mail_privileged_group = vmail
mail_access_groups = vmail
mail_log_prefix = "%Us(%u):
mail_log_max_lines_per_sec = 10
mail_debug=yes
#maildir_copy_with_hardlinks = yes

verbose_proctitle = yes
first_valid_uid = 1001
first_valid_gid = 1002

#### Configuration of the protocols especifiques
protocol imap {
  login_executable = /usr/local/libexec/dovecot/imap-login
  mail_executable = /usr/local/libexec/dovecot/imap
  imap_client_workarounds = delay-newmail netscape-eoh
tb-extra-mailbox-sep outlook-idle
}

protocol pop3 {
  login_executable = /usr/local/libexec/dovecot/pop3-login
  mail_executable = /usr/local/libexec/dovecot/pop3
  pop3_uidl_format = %08Xu%08Xv
  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

protocol lda {
  debug = yes
  mail_plugins = sieve
  mail_plugin_dir = /usr/local/lib/dovecot/lda  hostname =
parthernon.izitelecom.com.br
  log_path = /var/log/dovecot/dovecot-lda.log	
  mail_plugin_dir = /usr/local/lib/dovecot/lda
  info_log_path = /var/log/dovecot/dovecot-lda.log
  global_script_path = /usr/local/etc/dovecot/dovecot.sieve
  sieve_global_path = /usr/local/etc/dovecot/dovecot.sieve
  postmaster_address = postmaster em izimail.com.br
  deliver_log_format = msgid=%m: %$
  sendmail_path = /usr/sbin/sendmail
}

#### Autentication of the user

auth_username_chars =
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
auth_username_format = %u
auth_verbose = yes

auth default {
  mechanisms = plain login digest-md5 cram-md5

  passdb sql {
    args = /usr/local/etc/dovecot-sql.conf
  }

  userdb sql {
    args = /usr/local/etc/dovecot-sql.conf
  }

  user = root

  socket listen {
    master {
      path = /var/run/dovecot/auth-master
      mode = 0660
      user = postfix
      group = vmail
    }

    client {
      path = /home/MAIL/private/auth-client
      mode = 0660
      user = postfix
      group = postfix
    }
  }
}

dict {
}

plugin {
	sieve  = /usr/local/etc/dovecot/dovecot.sieve
}

dict_db_config = /usr/local/etc/dovecot-db.conf

-- 
:=)>Paulo Henrique (JSRD)<(=:

Alone,  locked, a survivor, unfortunately not know who I am


Mais detalhes sobre a lista de discussão freebsd