Postfix dorucovanie prostrednictvom Dovecot lda

Gabriel gabriel at maxpark.cz
Sun Jan 25 19:33:45 CET 2009


Ahoj,

ja to mam takto a funguje to:


/usr/local/etc/dovecot.conf:
...
   socket listen {
     master {
       path = /var/run/dovecot/auth-master
       mode = 0660
       user = maildrop
       group = maildrop
     }
     client {
       path = /var/spool/postfix/private/auth
       mode = 0660
       user = postfix
       group = postfix
     }
   }
...


/usr/local/etc/postfix/main.cf:
...
mail_owner			= postfix
default_privs                   = nobody
setgid_group			= maildrop
...
local_transport                 = local
virtual_transport               = dovecot
...
mailbox_command                 = /usr/local/libexec/dovecot/deliver -d  
${USER}
...
smtpd_sasl_type                 = dovecot
smtpd_sasl_path                 = private/auth
smtpd_sasl_auth_enable          = yes
smtpd_sasl_security_options     = noanonymous
smtpd_sasl_local_domain         = mail.<tvoja.domena>.<tld>
broken_sasl_auth_clients        = yes
...


/usr/local/etc/postfix/master.cf:
...
dovecot   unix  -       n       n       -       -       pipe
   flags=ODRhu user=maildrop:maildrop  
argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}
...


Skus.
G



More information about the Users-l mailing list