On 19.12.2012, at 17.37, Nikolai Tsvetkov <[email protected]> wrote: > I try to use relay-ctrl with dovecot's imap, but with no luck. I think > that the problem is with environment variables. Here are some information: > > dovecot --version > 2.1.12 > > 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 > }
Use the v2.x way of running post-login scripts: http://wiki2.dovecot.org/PostLoginScripting
