[Dovecot] Pop-before-smtp and MySQL?

Timo Sirainen tss at iki.fi
Fri Dec 2 12:20:58 EET 2005


On 28.11.2005, at 13:40, Matteo Garofano wrote:

> I would use the script popbsmtp.sh and not a perl pig. (I'm using 
> qpopper patched to store the relay IP in mysql and it works)
> I set .my.cnf in /root
> What happen is that the $3 don't contain the IP that should be written 
> to the DB. Is there something I miss ?

I don't know why that script had $3 there, Dovecot has never given any 
parameters to imap/pop3 processes. But the IP address exists in IP 
environment, so you can just remove the "IP=.." line from the script 
and it should work. I updated the wiki already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051202/7113519a/PGP.pgp


More information about the dovecot mailing list