Re: [Dovecot] getenv() in plugin not working

2011-11-15 Thread Timo Sirainen
On Tue, 2011-11-15 at 03:58 +, Trutwin, Joshua wrote: > Appears this is the problem - I found this for dovecot v2 and it seems to be > working fine: > > http://sourceforge.jp/projects/dovecot2-drac/ > > Might wanna make a note on the wiki page that the DRAC setup is only for > dovecot 1.x?

Re: [Dovecot] getenv() in plugin not working

2011-11-15 Thread Charles Marcus
On 2011-11-14 10:58 PM, Trutwin, Joshua wrote: Might wanna make a note on the wiki page that the DRAC setup is only for dovecot 1.x? Why? You were on the wiki for v1, so obviously it is (or may be) only meant for v1. -- Best regards, Charles

Re: [Dovecot] getenv() in plugin not working

2011-11-14 Thread Trutwin, Joshua
> I'm trying to setup the dovecot DRAC plugin as described here: > Is there anything special that needs to be done for getenv("IP") to report the > login IP? I tried to put getenv("RIP") for remote ip and even getenv("USER") > as well but always get NULL. Is this API only for dovecot 1.x? If

[Dovecot] getenv() in plugin not working

2011-11-14 Thread Trutwin, Joshua
Hi - new to the list, can't find much on this using google. I'm trying to setup the dovecot DRAC plugin as described here: http://wiki.dovecot.org/HowTo/PopBSMTPAndDovecot#DRAC DRAC is installed and running using this startup command: /usr/local/sbin/rpc.dracd -i -e 5 /etc/postfix/dracd.db I d