Using dovecot 2.0.13. I went to implement relay-ctrl per directions
on the Wiki, and failed. After running it down, as best as I can determine, the problem is that the $IP variable is not getting set (and thus not re-set in the script wrapper). I plunked a "set >> debug" into the script, and the only env var's that are set are as listed below (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'