search for: mail_drop_priv_before_exec

Displaying 20 results from an estimated 158 matches for "mail_drop_priv_before_exec".

2011 May 09
1
Post-login scripting with mail_drop_priv_before_exec in dovecot2
Hi, I'm in the process of upgrading from dovecot v1.1 to dovecot 2. We fetch uid/gid user information from a database and also use post-login scripting with mail_drop_priv_before_exec = yes which means the postlogin script is executed with the permissions of the user we have found in the database. According to the dovecot2 wiki page, to get this behaviour in version 2 we have to set the post-login script to run as root and then su to the user. This seems a bit of a strange...
2003 Sep 10
1
Patch for auto-creating home directories
...ed Sep 10 12:13:45 2003 --- ./src/master/master-settings.h Wed Sep 10 12:13:47 2003 *************** *** 51,56 **** --- 51,57 ---- int mbox_read_dotlock; unsigned int mbox_lock_timeout; unsigned int mbox_dotlock_change_timeout; + unsigned int parent_dir_umask; unsigned int umask; int mail_drop_priv_before_exec; *** ./src/master/master-settings.c.orig Wed Sep 10 12:13:59 2003 --- ./src/master/master-settings.c Wed Sep 10 12:14:40 2003 *************** *** 67,72 **** --- 67,73 ---- DEF(SET_BOOL, mbox_read_dotlock), DEF(SET_INT, mbox_lock_timeout), DEF(SET_INT, mbox_dotlock_change_timeout), + DEF(...
2006 Nov 12
2
assertion failed: (need_space == (uoff_t)-mails[idx].space)
...#39;s contents refer to a PID that, by the time I see the lockfile, doesn't exist. It appears that dovecot is leaving behind the lock files, after exiting with a signal 6 (sometimes 11) and leaving behind messages in /var/log/maillog (and the end of this message). In dovecot.conf I have mail_drop_priv_before_exec = no, but I can't find the core file that I would expect it to dump, so I can't give you a backtrace. Hopefully the assertion in /var/log/maillog is enough. With ~/.mail/Cron perpetually locked, I'm not able to receive mail in this folder, and with any IMAP client that tries to a...
2013 Dec 10
0
Panic: file acl-cache.c
..._auth(pop3): yes login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_max_processes_count: 2048 max_mail_processes: 2048 first_valid_uid: 200 mail_drop_priv_before_exec(default): yes mail_drop_priv_before_exec(imap): yes mail_drop_priv_before_exec(pop3): no mail_executable(default): /afs/hoh/common/etc/mail/bin/acl-groups mail_executable(imap): /afs/hoh/common/etc/mail/bin/acl-groups mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_process_size: 1024 mail_plu...
2011 Jul 08
1
need help with metadata plugin
..._auth(pop3): yes login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_max_processes_count: 2048 max_mail_processes: 2048 first_valid_uid: 200 mail_drop_priv_before_exec(default): yes mail_drop_priv_before_exec(imap): yes mail_drop_priv_before_exec(pop3): no mail_executable(default): /etc/mail/bin/acl-groups mail_executable(imap): /etc/mail/bin/acl-groups mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_process_size: 1024 mail_plugins(default): acl imap_acl la...
2005 Aug 18
1
Still crashing with test-80
Here is the log over a 12 hour period: pid 91923 (pop3), uid 25039: exited on signal 6 pid 98265 (pop3), uid 25039: exited on signal 6 pid 95547 (pop3), uid 25039: exited on signal 6 pid 235 (pop3), uid 25039: exited on signal 6 pid 239 (pop3), uid 25039: exited on signal 6 pid 318 (pop3), uid 25039: exited on signal 6 pid 386 (pop3), uid 25039: exited on signal 6 pid 415 (pop3), uid 25039:
2008 Jun 25
0
Migrate courierimapsubscribed to subscriptions
Hi here's a little trick to migrate from courierimapsubscribed to subscriptions: create a file /usr/local/bin/courier-dovecot-subscribe-migrate like this: #!/bin/sh # WARNING: Be sure to use mail_drop_priv_before_exec=yes, # otherwise the files are created as root! if [ -e ~/Maildir/courierimapsubscribed ] then cat ~/Maildir/courierimapsubscribed | sed -e 's/INBOX\.//' > ~/Maildir/subscriptions mv ~/Maildir/courierimapsubscribed ~/Maildir/courierimapsubscribed-VIA fi # This is for imap, create a s...
2003 May 28
1
still has error
hi, after download the current cvs recompile, start I still has these errors: ------------------------------------- imap-login: May 28 13:49:02 Info: Login: jcsinalos [192.168.0.106] imap(jcsinalos): May 28 13:49:02 Panic: unreached dovecot: May 28 13:49:02 Error: child 31683 (imap) killed with signal 6 imap-login: May 28 13:49:03 Info: Login: jcsinalos [192.168.0.106] imap-login: May 28 13:49:03
2006 Jan 22
1
core files
Hey all: Was playing around with kill -11 on dovecot processes to see which ones would dump core and which ones wouldn't. If ulimit is correct dovecot and dovecot-auth will dump. If you perform the recommended (Set mail_drop_priv_before_exec = yes in config file) step, imap will also dump core. But I'm unable to force imap-login to dump core. I'm curious if this is possible without the linux kernel patch that's recommended on http://dovecot.org/bugreport.html. (BTW tried the patch on my 2.4.18 kernel but the patch ha...
2010 Apr 02
2
convert old configuration file with doveconf : Unknown setting
...esses_count: 20 login_max_processes_count: 196 max_mail_processes: 10024 mail_max_userip_connections: 10000 verbose_proctitle: yes first_valid_uid: 89 mail_location: maildir:~/:INDEX=/var/mail/dovecot_indexes/%1d/%d/%n fsync_disable: yes maildir_very_dirty_syncs: yes mbox_write_locks: fcntl dotlock mail_drop_priv_before_exec: yes mail_plugins: quota imap_quota imap_client_workarounds: outlook-idle delay-newmail namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: INBOX/ hidden: yes list: no subscriptions: yes lda:...
2010 May 04
3
Access filesystem (NFS) as some user
Manao ahoana, Hello, Bonjour, My Dovecot server has to access the users Maildirs. Maildirs are on a NFS mount that only a user (vmail/500) may read and write. No one else. How to configure Dovecot so that at least disk read-write are performed as a "vmail" user (that I have created with the right attributes)? Is the workaround of changing dovecot's system UID/GID a not-so-bad one?
2011 Aug 16
1
signal 11 crash, sometimes, during mbox bz2 decompression
...imes, then work once, then not work again and again. When it works, sometimes only some of the messages get transmitted. Most of the failures are accompanied by this pair of messages in my log: Aug 16 00:25:33 myhost dovecot: dovecot: child 943 (imap) killed with signal 11 (core not dumped - set mail_drop_priv_before_exec=yes) Aug 16 00:25:33 myhost kernel: pid 943 (imap), uid 1001: exited on signal 11 Some of the failures have only the "exited on signal 11" message. The very first failure had this: Aug 16 00:22:47 myhost dovecot: IMAP(mike): Next message unexpectedly lost from mbox file (read-only mbox...
2009 Jun 11
1
Problem with Courier POP3 Migration to dovecot POP3
...ssl_disable = yes login_process_per_connection = no login_processes_count = 10 login_max_processes_count = 128 login_max_connections = 256 login_greeting = Dovecot ready. mail_location = maildir:~/ mail_debug = yes mmap_disable = yes dotlock_use_excl = yes mail_nfs_index = yes lock_method = dotlock mail_drop_priv_before_exec = yes first_valid_uid = 195 max_mail_processes = 512 mail_process_size = 256 mailbox_idle_check_interval = 20 protocol imap { } protocol pop3 { *mail_executable = /usr/libexec/dovecot/postpop3.sh* mail_max_userip_connections = 10 pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } auth_ver...
2010 Jun 23
4
Dovecot-2.0 conf misc questions
Hello, I'm setting up a dovecot-2.0.beta6 install and I'm experiencing the following issues/questions : 1. Converting the config file # /usr/local/dovecot-2/bin/doveconf -n -c /usr/local/dovecot-1.2.12/etc/dovecot.conf : [...] doveconf: Fatal: Error in configuration file /usr/local/dovecot-1.2.12/etc/dovecot.conf line 176: Unknown setting: process_limit but # grep -i
2009 Dec 15
4
Why dovecot does not want to read my acl file?
...le Scenario: Shared namespace and a specific UNIX group should have access to it. System is Debian lenny (stable). # cat /etc/dovecot/dovecot.conf [...] namespace public { separator = . prefix = Shared. location = maildir:/var/mail/shared } mail_executable = /usr/local/sbin/dovecot-imap-fix.sh mail_drop_priv_before_exec = no #just to make sure [...] # dpkg -l | grep dovecot ii dovecot-common 1:1.0.15-2.3+lenny1 secure mail server that ii dovecot-imapd 1:1.0.15-2.3+lenny1 secure IMAP server that # cat /usr/local/sbin/dovecot-imap-fix.sh #!/bin/sh cat /var/mail/shared/.Office/dovecot-acl > /tmp/do...
2006 Jun 23
2
dovecot-1.0_beta9 : (auth) killed with signal 11
...from gentoo portage. I have followed the steps to try to get a core dump but it doesn't seem to be working. My config file is as follows:- =============================================================== protocols = imap imaps protocol imap { listen = 127.0.0.1:143 ssl_listen = *:993 } mail_drop_priv_before_exec = yes auth_debug = yes #mail_debug = yes default_mail_env = maildir:/var/spool/mail/virtual/users/%u auth default { mechanisms = plain digest-md5 cram-md5 userdb passwd-file { args = /etc/imap.passwd } passdb passwd-file { args = /etc/imap.passwd } } namespace private { separ...
2007 Aug 29
3
too many files opened
...cot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_greeting: ASIAA Dovecot ready. login_processes_count: 4 mail_location: mbox:/asiaa/home/%u/:/asiaa/home/%u/mail/:INBOX=/var/mail/%u:INDEX=/asiaa/home/%u/mail/dovecot_indexes mail_debug: yes mail_full_filesystem_access: yes mail_drop_priv_before_exec: yes mail_executable(default): /etc/dovecot_postlogin_beforeimap.sh mail_executable(imap): /etc/dovecot_postlogin_beforeimap.sh mail_executable(pop3): /etc/dovecot_postlogin_beforepop3.sh mail_process_size: 512 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/...
2009 Feb 22
2
1.2.beta1: expire-tool and 'mail_location' setting
...ntext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(managesieve): /usr/lib/dovecot/managesieve-login mail_privileged_group: mail mail_location: maildir:~/.maildir mail_debug: yes mail_drop_priv_before_exec: yes mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(managesieve): /usr/lib/dovecot/managesieve mail_plugins(default): quota imap_quota expire fts fts_squat mail_plugins(imap): quota imap_quota expire fts fts_squat mail_plugins(managesiev...
2012 Nov 08
3
Mails don't get deleted after POP3
...aildir_very_dirty_syncs: no mbox_read_locks: fcntl mbox_write_locks: fcntl dotlock mbox_lock_timeout: 300 mbox_dotlock_change_timeout: 120 mbox_min_index_size: 0 mbox_dirty_syncs: yes mbox_very_dirty_syncs: no mbox_lazy_writes: yes dbox_rotate_size: 2048 dbox_rotate_min_size: 16 dbox_rotate_days: 1 mail_drop_priv_before_exec: no mail_executable: /usr/lib/dovecot/pop3 mail_process_size: 256 mail_plugins: mail_plugin_dir: /usr/lib/dovecot/modules/pop3 mail_log_prefix: %Us(%u): mail_log_max_lines_per_sec: 10 imap_max_line_length: 65536 imap_capability: imap_client_workarounds: imap_logout_format: bytes=%i/%o imap_id_send:...
2008 Feb 06
2
(message_parse_header_next): assertion failed:, +(IS_LWSP(line->value[0])) 1.1beta14
...x_userip_connections: 25 verbose_proctitle: yes first_valid_uid: 1000 first_valid_gid: 1000 mail_extra_groups: postlocal mail_location: maildir:%h/Maildir:CONTROL=%h/Maildir/dovecot/private/control:INDEX=%h/Maildir/dovecot/private/indexes mmap_disable: yes mail_nfs_storage: yes mail_nfs_index: yes mail_drop_priv_before_exec: yes mail_plugins: acl fts fts_squat mail_log_max_lines_per_sec: 0 imap_client_workarounds: delay-newmail netscape-eoh tb-extra-mailbox-sep namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: mail/ hidden: yes...