настраиваю связку сендмейл+прокмейл+довекот
#cat /etc/dovecot/dovecot.conf|grep -v "#"
auth_verbose = yes
info_log_path = /var/log/dovecot.log
log_path = /var/log/dovecot.log
passdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
}
protocols = imap pop3
service imap-login {
inet_listener imap {
address = *
port = 143
}
inet_listener imaps {
address = *
port = 993
}
}
service pop3-login {
inet_listener pop3 {
address = *
port = 110
}
inet_listener pop3s {
address = *
port = 995
}
}
ssl_cert = </etc/dovecot/ssl/dovecot.pem
ssl_key = </etc/dovecot/ssl/dovecot-key.pem
userdb {
args = /etc/dovecot/dovecot-mysql.conf
driver = sql
}
protocol lda {
info_log_path = /var/log/deliver.log
log_path = /var/log/deliver.log
}
ssl = yes
mail_location = maildir:~/Maildir
mail_debug = yes
auth_debug = yes
auth_debug_passwords = yes
#cat /etc/procmailrc
LOGFILE=/var/log/procmail.log
DELIVER=/usr/libexec/dovecot/dovecot-lda
DROPPRIVS=yes
UMASK=007
DEFAULT=$HOME/Maildir
MAILDIR=$DEFAULT
:0
| $DELIVER
#cat /var/log/procmail.log
From root@xxx.xxx.xx Thu Mar 1 08:18:15 2012
Subject: test
Folder: /usr/libexec/dovecot/dovecot-lda 718
/bin/sh: /usr/libexec/dovecot/dovecot-lda: Permission denied