[Dovecot] Dovecot deliver
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@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@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
On Wed, 18 May 2011 10:08:37 -0300 Gonzalo Rodriguez gonzalo@sepp0.com.ar articulated:
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@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@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.
If I am reading this correctly, the mail is never being delivered to Dovecot. You need to do the following:
- Read the documentation at: http://www.postfix.com/DEBUG_README.html
Pay particular attention to the "Reporting problems to postfix-users@postfix.org at the end of the document. specifically:
<quote> When reporting a problem, be sure to include the following information.
A summary of the problem. Please do not just send some logging without explanation of what YOU believe is wrong.
Complete error messages. Please use cut-and-paste, or use attachments, instead of reciting information from memory.
Postfix logging. See the text at the top of the DEBUG_README document to find out where logging is stored. Please do not frustrate the helpers by word wrapping the logging. If the logging is more than a few kbytes of text, consider posting an URL on a web or ftp site.
Output from "postconf -n". Please do not send your main.cf file, or 500+ lines of postconf output.
Better, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. </quote>
The use of the "postfinger" tool is always the best procedure.
Then, post the above on the Postfix forum.
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
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@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@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
sorry first my postconf
alias_database = hash:/etc/postfix/aliases command_directory = /usr/local/sbin config_directory = /etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/postfix debug_peer_level = 2 disable_vrfy_command = yes mail_owner = _postfix mailbox_command = /usr/local/libexec/dovecot/deliver mydestination = $myhostname mydomain = foobar.com.ar myhostname = foobar.com.ar mynetworks = 127.0.0.0/8 10.65.3.120 myorigin = $mydomain parent_domain_matches_subdomains = queue_directory = /var/spool/postfix relay_domains = $mydestination setgid_group = _postdrop smtp_starttls_timeout = 300s smtp_tls_cert_file = /etc/ssl/foobar.crt smtp_tls_key_file = /etc/ssl/private/foobar.key smtp_tls_loglevel = 1 smtp_tls_note_starttls_offer = yes smtp_tls_session_cache_timeout = 3600s smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_etrn_restrictions = reject smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_tls_cert_file = /etc/ssl/foobar.crt smtpd_tls_key_file = /etc/ssl/private/foobar.key smtpd_tls_loglevel = 1 smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom virtual_alias_maps = hash:/var/www/datos/correo/virtual/aliases/foobar.com.ar virtual_gid_maps = static:5001 virtual_mailbox_base = /var/www/datos/correo virtual_mailbox_domains = hash:/var/www/datos/correo/virtual/mailbox/domains virtual_mailbox_maps = hash:/var/www/datos/correo/virtual/mailbox/mailboxes virtual_minimum_uid = 5000 virtual_transport = dovecot virtual_uid_maps = static:5001
I add the line:
mailbox_command = /usr/lib/dovecot/deliver
Like Julio says, and works, but now I have this in my dovecot-deliver-error.log:
May 18 13:39:32 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/tmp/1305736772.M157290P19363.FOOBAR-0010) failed: Permission denied May 18 13:42:04 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/dovecot.index.log) failed: Permission denied (euid=1003(gonzalor) egid=10(users) missing +w perm: /var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/dovecot.index.log) May 18 13:42:04 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/tmp/1305736924.M208261P12143.FOOBAR-0010) failed: Permission denied
any hint?
regards
2011/5/18 Julio C. Ortega jortega@onuva.com:
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@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@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
I forgot:
$ ls -al total 136 drwxr-xr-x 6 vmail vmail 4096 May 16 16:48 . drwxr-xr-x 8 vmail vmail 4096 May 17 15:47 .. drwx------ 5 vmail vmail 4096 May 18 09:47 Drafts drwxr-xr-x 5 vmail vmail 4096 May 18 13:10 INBOX drwx------ 5 vmail vmail 4096 May 17 17:24 Sent drwx------ 5 vmail vmail 4096 May 18 12:39 Trash -rw------- 1 vmail vmail 8 May 16 16:48 dovecot-uidvalidity -rw------- 1 vmail vmail 0 May 11 2001 dovecot-uidvalidity.4dce94ed -rw------- 1 vmail vmail 18 May 16 16:48 subscriptions
2011/5/18 Gonzalo Rodriguez gonzalo@sepp0.com.ar:
sorry first my postconf
alias_database = hash:/etc/postfix/aliases command_directory = /usr/local/sbin config_directory = /etc/postfix daemon_directory = /usr/local/libexec/postfix data_directory = /var/postfix debug_peer_level = 2 disable_vrfy_command = yes mail_owner = _postfix mailbox_command = /usr/local/libexec/dovecot/deliver mydestination = $myhostname mydomain = foobar.com.ar myhostname = foobar.com.ar mynetworks = 127.0.0.0/8 10.65.3.120 myorigin = $mydomain parent_domain_matches_subdomains = queue_directory = /var/spool/postfix relay_domains = $mydestination setgid_group = _postdrop smtp_starttls_timeout = 300s smtp_tls_cert_file = /etc/ssl/foobar.crt smtp_tls_key_file = /etc/ssl/private/foobar.key smtp_tls_loglevel = 1 smtp_tls_note_starttls_offer = yes smtp_tls_session_cache_timeout = 3600s smtp_use_tls = yes smtpd_banner = $myhostname ESMTP smtpd_etrn_restrictions = reject smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_sender_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spamcop.net smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_tls_cert_file = /etc/ssl/foobar.crt smtpd_tls_key_file = /etc/ssl/private/foobar.key smtpd_tls_loglevel = 1 smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom virtual_alias_maps = hash:/var/www/datos/correo/virtual/aliases/foobar.com.ar virtual_gid_maps = static:5001 virtual_mailbox_base = /var/www/datos/correo virtual_mailbox_domains = hash:/var/www/datos/correo/virtual/mailbox/domains virtual_mailbox_maps = hash:/var/www/datos/correo/virtual/mailbox/mailboxes virtual_minimum_uid = 5000 virtual_transport = dovecot virtual_uid_maps = static:5001
I add the line:
mailbox_command = /usr/lib/dovecot/deliver
Like Julio says, and works, but now I have this in my dovecot-deliver-error.log:
May 18 13:39:32 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/tmp/1305736772.M157290P19363.FOOBAR-0010) failed: Permission denied May 18 13:42:04 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/dovecot.index.log) failed: Permission denied (euid=1003(gonzalor) egid=10(users) missing +w perm: /var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/dovecot.index.log) May 18 13:42:04 deliver(gonzalor): Error: open(/var/www/datos/correo/foobar.com.ar/gonzalor/INBOX/tmp/1305736924.M208261P12143.FOOBAR-0010) failed: Permission denied
any hint?
regards
2011/5/18 Julio C. Ortega jortega@onuva.com:
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@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@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
On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonzalo@sepp0.com.ar articulated:
I add the line:
mailbox_command = /usr/lib/dovecot/deliver
Why? You are using virtual delivery. You don't need that.
The following is from my master.cf file. It works perfectly. This is on a FreeBSD-8.2 system.
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${recipient}
Your problem is with your Postfix configuration. You are asking on the wrong list.
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
2011/5/18 Jerry dovecot.user@seibercom.net:
On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonzalo@sepp0.com.ar articulated:
I add the line:
mailbox_command = /usr/lib/dovecot/deliver
Why? You are using virtual delivery. You don't need that.
in my main.cf have virtual_transport = dovecot
The following is from my master.cf file. It works perfectly. This is on a FreeBSD-8.2 system.
dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${recipient}
Your problem is with your Postfix configuration. You are asking on the wrong list.
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
On Wed, 18 May 2011 15:14:11 -0300 Gonzalo Rodriguez gonzalo@sepp0.com.ar articulated:
2011/5/18 Jerry dovecot.user@seibercom.net:
On Wed, 18 May 2011 13:47:19 -0300 Gonzalo Rodriguez gonzalo@sepp0.com.ar articulated:
I add the line:
mailbox_command = /usr/lib/dovecot/deliver
Why? You are using virtual delivery. You don't need that.
in my main.cf have virtual_transport = dovecot
Which is why you do not need the "mailbox_command" line.
What is the output of: pw user show 5001
Again, this really belongs on the Postfix forum.
-- Jerry ✌ Dovecot.user@seibercom.net
Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header.
participants (3)
-
Gonzalo Rodriguez
-
Jerry
-
Julio C. Ortega