[Dovecot] relay-ctrl works
Matthias Andree
matthias.andree at gmx.de
Wed Feb 28 15:36:06 UTC 2007
Amitai Schlair schrieb:
> In case anyone still cares, relay-ctrl works with Dovecot. Dovecot's end
> of 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.
Thou shalt not use POP/IMAP-before-SMTP.
More information about the dovecot
mailing list