[Dovecot] Pop-before-smtp and MySQL?

Timo Sirainen
Fri, 02 Dec 2005 10:20:58 -0000

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/attachment.bin>