Displaying 8 results from an estimated 8 matches for "create_mail_process".
2009 Mar 29
1
cannot login with plain authentication - missing UID
..._user
Function "auth_process_input_user" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break master_login_process
Function "master_login_process" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n
(gdb) break create_mail_process
Breakpoint 1 at 0x804fc64: file mail-process.c, line 542.
(gdb) cont
Continuing.
Detaching after fork from child process 31212.
Breakpoint 1, create_mail_process (process_type=PROCESS_TYPE_IMAP,
set=0x8070330, socket_fd=21, local_ip=0x8077468,
remote_ip=0x807747c, user=0x806c322 "test at...
2006 Aug 10
2
Seeing dovecot crash under rc6, seems to go almost exactly every 2.5 hours...
...: /opt/local/sbin/dovecot
Parent: dovecot [10099]
Version: ??? (???)
PID: 13818
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000020
Thread 0 Crashed:
0 dovecot 0x0000482c log_set_prefix + 36 (log.c:190)
1 dovecot 0x000070b0 create_mail_process + 1576 (mail-process.c:535)
2 dovecot 0x00005150 auth_master_callback + 96 (login-process.c:92)
3 dovecot 0x00002d9c auth_process_input + 460 (auth-process.c:121)
4 dovecot 0x00017d58 io_loop_handler_run + 388 (ioloop-select.c:140)
5 dovecot 0x0001006c io_loop_run + 48 (iolo...
2007 Feb 27
1
Fwd: RE: pid stamp on log entries?
On Feb 26 2007, Bill Boebel wrote:
>On Mon, February 26, 2007 2:40 pm, bhayden at umn.edu said:
>
>> Hi folks. Is there a way to modify the log stamp to include pid as well
>> as time?
>
>Take a look at http://wiki.dovecot.org/Variables
>
>%p = pid
>
>I use: mail_log_prefix = "%Us(%u)(%p): "
>
>Syslog adds the timestamp though.
Thanks for
2003 Sep 10
1
Patch for auto-creating home directories
...nk) {
+
+ *slash = '\0';
+ result = mkdir(path, 0777);
+ *slash = '/';
+
+ if (result != 0 && errno != EEXIST) {
+ umask(oldmask);
+ return FALSE;
+ }
+ }
+ }
+
+ umask(oldmask);
+
+ return (mkdir(path, 0777) == 0 || errno == EEXIST);
+ }
+
int create_mail_process(int socket, struct ip_addr *ip,
const char *executable, const char *module_dir,
unsigned int process_size, int process_type,
***************
*** 156,164 ****
--- 192,205 ----
restrict_process_size(process_size, (unsigned int)-1);
+ (void)umask(set->umask);
+
if (*home_dir != &...
2009 Jun 26
2
ACLs, imap and launchd
I was going to experiment with ACLs when I faced a small problem.
It is just sufficient to enable the acl plugin for getting the
behavior described hereafter.
When launching dovecot from the command line, one gets:
sh-3.2# /usr/local/dovecot/sbin/dovecot -F
ILoading modules from directory: /usr/local/dovecot-1.2.rc6/lib/
dovecot/imap
IModule loaded:
2003 Apr 15
1
PATCH allow_zero_gid option
...id < (gid_t)set->first_valid_gid ||
+ (set->last_valid_gid != 0 && gid > (gid_t)set->last_valid_gid))) {
i_error("mail process isn't allowed to use "
"GID %s (UID is %s)", dec2str(gid), dec2str(uid));
return FALSE;
@@ -150,7 +151,8 @@ int create_mail_process(int socket, stru
(paranoia about filling up environment without noticing) */
restrict_access_set_env(data + reply->system_user_idx,
reply->uid, reply->gid,
- reply->chroot ? data + reply->home_idx : NULL);
+ reply->chroot ? data + reply->home_idx : NULL,
+...
2007 Aug 03
2
Userdb and home directories
Greetings -
I've just discovered an oddity I didn't know I had...
We have two NetApp filers: one serves people's home directories; the
other their message store and control files filestores.
At the moment the first of the two filers is not accessible to my
Dovecot system and I assumed all would be well because, as far as I
knew, I wasn't using it at all.
However in
2009 Jan 06
2
Apple patch 10
...ptions do change, for instance global state
variables like last_partial and quota_set are forbidden, and must be
stored per-client or per-user. Also it's no longer OK just to exit or
panic on error, for that disconnects multiple users not just one.
Some key entry points in the patch are create_mail_process() in mail-
process.c and io_env_switch() in ioloop.c.
Notes about this patch:
- The base for this patch is dovecot-1.1.7 + Apple patch 9, not
because this patch needs Open Directory but simply because it adds one
line to the Apple attributions in COPYING.
- This patch depends on Apple patch...