search for: settcpremoteip

Displaying 3 results from an estimated 3 matches for "settcpremoteip".

2012 Dec 19
2
environment variables not set
...id_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. TCPREMOTEIP="${IP}"; export TCPREMOTEIP exec "$@"
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.conf line 126: Expecting '=' Fatal: Invalid configuration in /usr/local/etc/d...
2007 Feb 28
1
relay-ctrl works
...guments 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.