Displaying 7 results from an estimated 7 matches for "envdir".
2008 Nov 30
1
Relay-Ctrl, error message
Hi all,
I'm trying to get Relay-Ctrl to work (as explained on
http://wiki.dovecot.org/HowTo/PopBSMTPAndDovecot), however when i add:
mail_executable: /usr/local/bin/envdir /etc/relay-ctrl
/usr/local/bin/relay-ctrl-chdir /usr/local/bin/dovecot-settcpremoteip
/usr/local/bin/relay-ctrl-allow /usr/local/libexec/dovecot/imap
to /usr/local/etc/dovecot.conf I get the following error message when doing
dovecot -n
Error: Error in configuration file /usr/local/etc/dovecot...
2007 Feb 28
1
relay-ctrl works
...the bargain requires a dirty little script to set TCPREMOTEIP
based on the arguments passed from imap-login:
#!/bin/sh
TCPREMOTEIP=`echo "$@" | sed -e 's|.* ||' -e 's|]$||'`
export TCPREMOTEIP
exec "$@"
And this (long) line in dovecot.conf:
mail_executable: envdir /etc/relay-ctrl /usr/local/bin/relay-ctrl-
chdir /usr/local/bin/dovecot-settcpremoteip /usr/local/bin/relay-ctrl-
allow /usr/local/libexec/dovecot/imap
For the SMTP end of the bargain, relay-ctrl has docs for qmail-smtpd
and mailfront.
2003 Jun 17
2
starting with daemontools
Hi all,
I want to start dovecot through DJBs Daemontools-supervise, is there a
configuration option that lets dovecot stay in foreground?
best regards,
Jens
2012 Dec 19
2
environment variables not set
...ug_log_path = /var/log/dovecot-debug.log
disable_plaintext_auth = no
first_valid_uid = 89
info_log_path = /var/log/dovecot-info.log
listen = *
log_path = /var/log/dovecot.log
mail_location = maildir:~/Maildir
passdb {
driver = shadow
}
protocols = imap
service imap {
executable = /usr/local/bin/envdir /etc/relay-ctrl
/usr/local/bin/relay-ctrl-chdir /usr/local/bin/dovecot-settcpremoteip
/usr/local/bin/relay-ctrl-allow /usr/local/libexec/dovecot/imap
}
ssl = no
userdb {
driver = passwd
}
/usr/local/bin/dovecot-settcpremoteip:
#!/bin/sh
#
# Wrapper for relay-ctrl-allow that sets TCPREMOTEIP.
TC...
2008 May 25
4
inetd & corrupt environment
Hello. I'm having the following problem with dovecot 1.0.12 and above,
on a FreeBSD 7.0 system - I'm trying to run pop3-login from inetd and I
keep getting this error after authentication:
May 25 09:46:19 charlie dovecot: POP3(gelu): /libexec/ld-elf.so.1:
environment corrupt; missing value for no-nuls oe-ns-eoh
The problem persists if I uncomment the lines with no-nuls oe-ns-eoh in
2008 Oct 01
8
Mongrel_Cluster unable to access OCI8 library
Hi,
I''m able to run a ROR application in a Red Hat Enterprise Linux 4.4
environment, as long as I start my mongrel_cluster via the command line:
[chris at localhost ~]$ mongrel_cluster_ctl start
I take a look at the two mongrel_rails processes that were just created:
[chris at localhost log]$ ps -ef | grep mongrel
chris 4781 1 5 05:55 ? 00:00:02 /usr/local/bin/ruby
2013 May 09
1
equivalent way to iterate through a hash
...GRAPHITE_STORAGE_DIR
SOMETHING_ELSE
FOO
with the *contents* of those files the *values* of the keys above, then I
was hoping I could do something like this:
--------------------------------------------------
class daemontools_service {
define envdir_file ($name, $value){
file { "/var/lib/supervise/${service_name}/env/${key}" :
mode => 644,
content => "$value",
}
}
define setup(
$service_name,
$extra_envs={},
){...