Displaying 20 results from an estimated 100 matches similar to: "PATCH allow_zero_gid option"
2003 Sep 10
1
Patch for auto-creating home directories
I've created a patch that adds a feature that is helpful to my setup. If
'parent_dir_umask' is set in the configuration file, any missing
directories in the home directory path are created.
The home directory itself is created according to the 'umask' setting,
'parent_dir_umask' is only used for intermediate directories that might
need creating.
This is useful to me,
2008 Nov 08
1
dovecot Digest, Vol 67, Issue 19
Thanks Buddy,
I got it working. It was giving error when running make 'undefined
reference to `request_init' etc' then I ran it with gmake LDFLAGS+=-lwrap
and it worked and everything is working fine. Thanks again for your help
Thankyou
Tahir Riaz
Assistant Director (Systems)
COMSATS Internet Services
COMSATS Headquarters Building
9, Shahrah-e-Jamhuriat, G-5/2
Islamabad.
2004 Aug 06
0
[PATCH] Configurable privileges and chroot jail
Hi,
This patch (against the current CVS tree) is intended to add secure
configuration to icecast 'out of the box'. It adds two configuration
directives, 'icecast_user' and 'chroot_dir'. These are intended to be
used together to reduce the privileges icecast runs under to the
minimum necessary. When this is enabled and run as root icecast will
enter the specified chroot
2018 May 30
0
use instance-name for syslog?
Hi!
On Thu, 31 May 2018 00:44:58 +0900,
A. Schulze wrote:
> When running multiple instances of dovecot on the same host (or running multiple docker container),
> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
> It is hardcoded here:
>
2004 Aug 06
0
No subject
This patch (against the current CVS tree) is intended to add secure
configuration to icecast 'out of the box'. It adds two configuration
directives, 'icecast_user' and 'chroot_dir'. These are intended to be
used together to reduce the privileges icecast runs under to the
minimum necessary. When this is enabled and run as root icecast will
enter the specified chroot
2007 Jul 25
2
Allowing tilde at start of mailbox names
In lib-storage/index/maildir/maildir-storage.c
maildir_is_valid_create_name() and maildir_is_valid_existing_name() the
following sequence of tests appear but I don't really understand why
if ((storage->flags & MAIL_STORAGE_FLAG_FULL_FS_ACCESS) != 0)
return TRUE;
if (*name == '~' || strchr(name, '/') != NULL)
return FALSE;
If MAIL_STORAGE_FLAG_FULL_FS_ACCESS is
2005 Jul 20
3
Another minor IMAP LIST issue
I've just noticed that Dovecot 1.0-stable and 1.0-test78 don't include
mbox folders with names beginning with "." in the IMAP LIST output.
These are often used to store "hidden" folders for storing things like
IMAP client configuration (e.g. Pine 4.x, IMHO, Prayer). Usually the
user shouldn't be able to see these, but there are occassions when they
might. It seems
2003 Apr 15
0
Group ID validation and FreeBSD
Hey,
I've been working on making the Dovecot FreeBSD port resemble something
which actually works this weekend, it's now much improved - one thing
that I did notice is that Dovecot validates a users GID and will not
accept a group id of 0. In FreeBSD the group wheel has a the id 0 and
only members of the wheel group are allowed to use su and become root.
Consequently there are non-root
2018 May 31
3
use instance-name for syslog?
> On 30 May 2018, at 19.08, SATOH Fumiyasu <fumiyas at osstech.co.jp> wrote:
>
> Hi!
>
> On Thu, 31 May 2018 00:44:58 +0900,
> A. Schulze wrote:
>> When running multiple instances of dovecot on the same host (or running multiple docker container),
>> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same
2009 Sep 03
2
mail_uid and mail_gid are not set in environment (for expire-tool and so)
Hello,
I've just subscribed to the list, as a recent user of Dovecot (1.2.4 by
now).
I eventually missed a point, so I tried to find other doc or comments about
my issue, but failed to. If the following has already been discussed, please
simply reply with a URL to the corresponding thread or doc ;-)
Now that I have covered my ass, here is the problem I meet.
In dovecot.conf, I have the
2008 Nov 07
6
Cannot get the libwrap patch work
Hello there,
I have been trying to make the patch work for libwrap(TCP
Wrappers) posted on http://dovecot.org/patches
<http://dovecot.org/patches%20Patch%20of%201.1> Patch of 1.1 but could not
get it work. Any help will be highly appreciated. After compiling and
running it I get error "Error: login_tcp_wrappers can't be used because
Dovecot wasn't built with
2002 Aug 08
0
Probable bug in Chroot patch (v3.4p1)
While I was trying to get the patch to work on one of my AIX hosts (4.3.3),
I discovered what is probably a bug in the section of code in session.c.
for (i = 0; i < options.num_chroot_users; i++) {
if (match_user(pw->pw_name, hostname, ipaddr,
options.chroot_users[i])) {
dir = chroot_dir(pw);
/* 'dir' now points to memory block holding pathname */
2004 Jun 14
1
vpopmail and open smtp relay
I'm using vpopmail's POP-before-SMTP auth, but dovecot don't support it,
so I'm wrote this patch
==============================================================
diff -Naur dovecot-0.99.10.5/src/auth/auth-login-interface.h
dovecot-0.99.10.5-patched/src/auth/auth-login-interface.h
--- dovecot-0.99.10.5/src/auth/auth-login-interface.h Sun May 18
16:26:28 2003
+++
2008 Jun 20
1
ForceCommand internal-sftp causes sftp logging to fail (openssh-5.0p1)
Hi guys,
I have a server setup with openssh-5.0p1 and use some users as
sftp-only chroot accounts.
The following configuration yields exactly the result I want:
user is chrooted, logs to syslog, all is good.
#================================================#
Subsystem sftp internal-sftp -f AUTHPRIV -l VERBOSE
Match User fredwww
ChrootDirectory %h
#ForceCommand internal-sftp
2008 Sep 25
1
patch for passdb-vpopmail in v1.1.3
I need pop-before-smtp to work with vpopmail (yes, yes, I know, don't
ask). Enabling the code to update the relays file brings a small bug
to light, fixable with the following patch:
--- passdb-vpopmail.c~ 2008-09-25 15:06:47.000000000 +0100
+++ passdb-vpopmail.c 2008-09-25 15:07:14.000000000 +0100
@@ -31,9 +31,9 @@
}
if (((vpw->pw_gid & NO_IMAP) != 0 &&
-
2018 Jun 01
0
use instance-name for syslog?
On Fri, 01 Jun 2018 03:40:07 +0900,
Timo Sirainen wrote:
> >> When running multiple instances of dovecot on the same host (or running multiple docker container),
> >> it is hard to distinguish logs from different processes: the syslog entries are all prefixed with the same identifier "dovecot"
> >> It is hardcoded here:
> >>
2013 Sep 21
1
Passing info from mail process to mail_filter plugin script?
Hi, all,
The mail_filter plugin allows you to pass messages through an external
script/command on the way into and out of the Maildir/mbox/etc mail store.
With the recent/new version of the plugin, this seems to work correctly.
However, my mail-filter script (for filtering messages on the way from the
mail store through the IMAP process to a remote client) needs some extra info
from the IMAP
2016 Dec 20
1
Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
I was unable to produce an IMAP core but have been successful with LMTP. Basically it crashes right upon login or delivery:
Dec 20 08:55:23 nihlus dovecot: master: Dovecot v2.2.devel (9bc8d9b) starting up for imap, lmtp
Dec 20 08:56:15 nihlus dovecot: imap(tlx at leuxner.net): Fatal: master: service(imap): child 5710 killed with signal 11 (core not dumped)
Dec 20 08:57:23 nihlus dovecot:
2019 Jan 06
3
IMAP preauth and stats-writer
On 06/01/2019 11:37, Stephan Bosch wrote:
>
> Op 06/01/2019 om 03:35 schreef John Fawcett:
>> On 06/01/2019 02:26, John Fawcett wrote:
>>
>>> Can't see anything in the Dovecot 2.3.4 code that would give this
>>> problem, setting
>>>
>>> stats_writer_socket_path =
>>>
>>> will overwrite the default value and dovecot does
2002 Jul 04
4
Chroot patch (v3.4p1)
The following is a patch I've been working on to support a "ChrootUser"
option in the sshd_config file.
I was looking for a way to offer sftp access and at the same time restict
interactive shell access. This patch is a necessary first step (IMO).
It applies clean with 'patch -l'.
Also attached is a shell script that helps to build a chrooted home dir on
a RedHat 7.2