i tried mail=user no help... below is a dovecot - n output so take a look please
# 2.0.1 (c5111fb65b0b): /etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.5 auth_debug = yes auth_default_realm = xnet.hr auth_verbose = yes base_dir = /var/run/dovecot/ default_client_limit = 2000 default_process_limit = 200 default_vsz_limit = 536870912 disable_plaintext_auth = no hostname = cartman.example.com lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes log_path = login_greeting = MihaMail 0.0.1 mail_debug = yes mail_gid = 10030 mail_location = maildir:~/Maildir:INDEX=~/index mail_plugins = expire quota zlib autocreate virtual fts fts_squat zlib acl imap_acl mail_privileged_group = vmail mail_uid = 10030 managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date spamtest spamtestplus virustest passdb { args = /etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { auth_socket_path = /var/run/dovecot/auth-master autocreate = Drafts autocreate2 = Sent Items autocreate3 = Trash autocreate4 = Spam autosubscribe = Drafts autosubscribe2 = Sent Items autosubscribe3 = Trash autosubscribe4 = Spam expire = Trash 7 Trash/* 7 Spam 30 expire_altmove = * 10 expire_dict = proxy::expire mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename mail_log_fields = uid box msgid size quota = maildir:User quota quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=85%% quota-warning 85 %u quota_warning3 = messages=95%% quota-warning 95 %u quota_warning4 = messages=85%% quota-warning 85 %u sieve = ~/dovecot.sieve sieve_dir = ~/sieve sieve_global_path = /etc/dovecot/sieve/default.sieve zlib_save = bz2 zlib_save_level = 9 } postmaster_address = postmaster@example.com protocols = imap pop3 lmtp sieve sendmail_path = /usr/lib/sendmail service auth { unix_listener auth-userdb { group = vmail mode = 0600 user = vmail } user = $default_internal_user } service dict { unix_listener dict { group = vmail mode = 0600 user = vmail } } service imap-login { inet_listener imap { port = 143 } process_min_avail = 2 service_count = 1 vsz_limit = 134217728 } service imap { process_limit = 1024 vsz_limit = 536870912 } service lmtp { unix_listener /var/spool/postfix-virus/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } } service pop3 { process_limit = 1024 } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { mode = 0666 user = vmail } user = dovecot } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } verbose_proctitle = yes protocol lmtp { mail_plugins = $mail_plugins sieve zlib } protocol lda { mail_plugins = $mail_plugins } protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep imap_logout_format = bytes=%i/%o imap_max_line_length = 65536 login_greeting = MihaMail IMAP miha@example.com mail_max_userip_connections = 10 mail_plugins = $mail_plugins imap_quota zlib imap_zlib }
Timo Sirainen wrote:
On Tue, 2010-08-31 at 01:09 -0700, Tomislav Mihalicek wrote:
iterate_attrs = mail=%u
This isn't right. You probably want mail=user
Aug 31 10:03:35 cartman2 dovecot: auth: Fatal: net_connect_unix(auth-worker) failed: Permission denied
I guess you've changed some default permission settings related to auth processes. doveconf -n output would help giving the right answer, but you should look into auth-worker service's unix_listener.
-- View this message in context: http://old.nabble.com/doveadm-expunge--A-mailbox-Trash-savedbefore-30d-itera... Sent from the Dovecot mailing list archive at Nabble.com.