[Dovecot] Postfix and Dovecot Deliver LDA
spammy
spam at rogerp.org
Fri Nov 2 14:00:56 EET 2007
Hi all,
Having problems moving from postfix/dovecot/mysq/maildrop existing
intall to dovecot LDA
dovecot -n
# 1.0.5: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap pop3
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_location: maildir:/vmail/%d/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: passwd
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth-client
mode: 432
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
master.cf (maildrop line commented. -f ${recipient} in maildrop was
working ok)
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
main.cf
dovecot_destination_recipient_limit = 1
# I haven't found any docs about the following must work, but apparently
working.
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_transport = dovecot
dovecot.log
dovecot: 2007-11-02 12:32:40 Info: auth(default): master out: USER
1 vaina at neenux.com uid=5000 gid=5000
deliver(vaina at neenux.com): 2007-11-02 12:32:40 Info: auth input:
vaina at neenux.com
deliver(vaina at neenux.com): 2007-11-02 12:32:40 Info: auth input: uid=5000
deliver(vaina at neenux.com): 2007-11-02 12:32:40 Info: auth input: gid=5000
deliver(vaina at neenux.com): 2007-11-02 12:32:40 Fatal: setuid(5000)
failed: Operation not permitted
I'm using vmail:vmail (5000:5000) for all my virtual users and postfix
chrooted. I have read the wiki but I'm not using diferrent uids and gids
for every user so, I don't understand why deliver is trying to setuid.
sorry for my newbie question but my english is not the best and I'm
totally lost.
any ideas?
roger
More information about the dovecot
mailing list