Displaying 6 results from an estimated 6 matches for "dovecot_preserve_envs".
2012 Oct 12
0
dsync ignores ssh-agent
I use IMAP over SSH, in pre-auth. I wanted to use dsync to offline mail to
my laptop.
dsync v2.1.10 would always ask for my SSH key/passphrase, ignoring
ssh-agent. The culprit is the env_clean() in the stack below.
Reading the source, I saw DOVECOT_PRESERVE_ENVS. When used as follows in
my script it enables dsync to find my ssh-agent:
export DOVECOT_PRESERVE_ENVS="SSH_AGENT_PID SSH_AUTH_SOCK"
dsync mirror ssh imap.example.com /home/mark/opt/dovecot/bin/dsync
and it now works without asking for password every time.
I'm posting here so...
2015 Sep 11
2
Need help on checkpassword userdb/passdb
...ark,192.168.0.58,<AkYg1G8f8QDAqAA6>): exit_status=0
Sep 10 22:54:04 auth: Debug: checkpassword(mark,192.168.0.58,<AkYg1G8f8QDAqAA6>): Received input:
Sep 10 22:54:06 auth: Debug: client passdb out: FAIL 1 user=mark temp
ENV variables passed to the checkpassword program:
DOVECOT_PRESERVE_ENVS=TZ CORE_OUTOFMEM CORE_ERROR
DOVECOT_CHILD_PROCESS=1
CONFIG_FILE=/usr/local/var/run/dovecot/config
CLIENT_LIMIT=1000
PROCESS_LIMIT=1
PROCESS_MIN_AVAIL=0
IDLE_KILL=60
GENERATION=2991
DOVECOT_HOSTNAME=mail
DOVECOT_HOSTDOMAIN=mail.hprs.local
DOVECOT_VERSION=2.2.15
LOG_SERVICE=1
SOCKET_COUNT=6
SSL_SOCKE...
2017 Mar 01
0
Preserve environment variables for doveadm
Hello,
I noticed there are ways to instruct various dovecot processes to
preserve particular environment variables.
One way is to use import_environment in dovecot.conf and yet another is
to export DOVECOT_PRESERVE_ENVS variable ? both can contain space
delimited list of variables to preserve.
I found report that this is supposed to work for dsync:
http://www.dovecot.org/list/dovecot/2012-October/138659.html
Unfortunately I can't it to work for "doveadm quota recalc".
Is it supposed to work or a...
2011 Aug 02
1
$IP not getting set?
...ow
(slightly sanitized for public display). Anyone have any ideas? I
have tried both the Wiki-way, and this way:
http://dovecot.org/list/dovecot/2009-December/045139.html with
identical results.
CLIENT_LIMIT='1000'
CONFIG_FILE='/my_path/config'
DOVECOT_CHILD_PROCESS='1'
DOVECOT_PRESERVE_ENVS='TZ'
DOVECOT_VERSION='2.0.13'
GENERATION='7690'
IFS='
'
LOG_SERVICE='1'
OPTIND='1'
PATH='my_path'
PPID='1'
PS1='# '
PS2='> '
PS4='+ '
PWD='my_pwd'
SOCKET_COUNT='1'
SSL_SOCKET_COUNT='0'
2018 Feb 22
2
Auth SEGV on sparc64, alignment problem?
Fancy, while not fun. :-) But thanks, that does work. Doing that, n?ing over calls to strcmp, it failed:
passdbs_init () at passdb.c:313
313 passdb_register_module(&passdb_ldap);
(gdb)
passdb_register_module (iface=0x280120) at passdb.c:33
33 old_iface = passdb_interface_find(iface->name);
(gdb)
passdb_interface_find (name=0x16fe60 "ldap") at passdb.c:20
20
2015 Sep 12
0
Need help on checkpassword userdb/passdb
...ark,192.168.0.58,<AkYg1G8f8QDAqAA6>): exit_status=0
Sep 10 22:54:04 auth: Debug: checkpassword(mark,192.168.0.58,<AkYg1G8f8QDAqAA6>): Received input:
Sep 10 22:54:06 auth: Debug: client passdb out: FAIL 1 user=mark temp
ENV variables passed to the checkpassword program:
DOVECOT_PRESERVE_ENVS=TZ CORE_OUTOFMEM CORE_ERROR
DOVECOT_CHILD_PROCESS=1
CONFIG_FILE=/usr/local/var/run/dovecot/config
CLIENT_LIMIT=1000
PROCESS_LIMIT=1
PROCESS_MIN_AVAIL=0
IDLE_KILL=60
GENERATION=2991
DOVECOT_HOSTNAME=mail
DOVECOT_HOSTDOMAIN=mail.hprs.local
DOVECOT_VERSION=2.2.15
LOG_SERVICE=1
SOCKET_COUNT=6
SSL_SOCKE...