[Dovecot] Dovecot deliver

Julio C. Ortega jortega at onuva.com
Wed May 18 18:41:23 EEST 2011


El 18/05/11 08:38, Gonzalo Rodriguez escribió:
> Hi all,
> 
> I have a problem with my dovecot/postfix configuration:
> 
> here is my dovecot -n
> 
> 
> # 1.2.16: /etc/dovecot.conf
> Warning: fd limit 128 is lower than what Dovecot can use under full
> load (more than 768). Either grow the limit or change
> login_max_processes_count and max_mail_processes settings
> # OS: OpenBSD 4.9 i386  nfs
> base_dir: /var/dovecot/
> log_path: /var/log/dovecot
> protocols: imaps pop3s
> login_dir: /var/dovecot/login
> login_executable(default): /usr/local/libexec/dovecot/imap-login
> login_executable(imap): /usr/local/libexec/dovecot/imap-login
> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
> login_user: _dovecot
> mail_location: maildir:/var/www/datos/correo/foobar.com.ar/%n:LAYOUT=fs
> mail_debug: yes
> mail_nfs_storage: yes
> mail_nfs_index: yes
> mbox_write_locks: fcntl
> mail_executable(default): /usr/local/libexec/dovecot/imap
> mail_executable(imap): /usr/local/libexec/dovecot/imap
> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
> imap_client_workarounds(default): delay-newmail outlook-idle
> netscape-eoh tb-extra-mailbox-sep
> imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh
> tb-extra-mailbox-sep
> imap_client_workarounds(pop3):
> pop3_client_workarounds(default):
> pop3_client_workarounds(imap):
> pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
> lda:
>   mail_plugins: sieve
>   postmaster_address: postmaster at foobar.com.ar
>   log_path: /var/log/dovecot-deliver-errors.log
>   info_log_path: /var/log/dovecot-deliver.log
> auth default:
>   mechanisms: login plain
>   verbose: yes
>   debug: yes
>   debug_passwords: yes
>   passdb:
>     driver: bsdauth
>   userdb:
>     driver: static
>     args: uid=vmail gid=vmail
> home=/var/www/datos/correo/foobar.com.ar/%n, allow_all_users=yes
>   socket:
>     type: listen
>     client:
>       path: /var/spool/postfix/private/auth
>       mode: 432
>       user: _postfix
>       group: _postfix
>     master:
>       path: /var/dovecot/auth-master
>       mode: 384
>       user: vmail
>       group: vmail
> plugin:
>   sieve_global_dir: /var/sieve
>   sieve_global_path: /var/sieve/global-default.sieve
>   sieve: /var/sieve/%n.sieve
> 
> 
> I use bsdauth to system users auth againts Active-Directory, and I use
> dovecot to deliver the mails, in my postfix master.cf I have this:
> 
> 
> ## Deliver con Dovecot en
> ## Mailboxes
> dovecot   unix  -       n       n       -       -       pipe
>   flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver
> -f ${sender} -d ${recipient}
> 
> 
> 
> The problem is I don't any process like this:
> 
> 
> pipe -n dovecot -t unix flags=DRhu user=vmail
> /usr/local/libexec/dovecot/deliver -f ${sender} -d ${recipient}
> 
> 
> And in the dovecot log I don't see anything, but in maillog I have:
> 
> 
> May 18 09:49:35 FOOBAR-0010 postfix/local[16584]: 8808D26125:
> to=<gonzalor at foobar.com.ar>, relay=local, delay=0.92,
> delays=0.91/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
> 
> 
> But the mail it's not in the mailbox, what is wrong? any hint? the
> storage is a NFS with centos.
> 
> cheers

Greetings Gonzalo.

You should configure postfix to use deliver explicitly.

main.cf:
mailbox_command = /usr/lib/dovecot/deliver

Kind regards

-- 
------------------------------------
Julio C. Ortega
ONUVA
http://www.onuva.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20110518/27aa454b/attachment-0001.bin>


More information about the dovecot mailing list