[Dovecot] migrating from specialized qpopper

Timo Sirainen tss at iki.fi
Thu Aug 28 10:28:50 EEST 2008


A bit late reply, but:

On Wed, 2008-08-13 at 16:13 -0700, Cruzio Research wrote:
> With qpopper, we run it from inetd and use hosts.allow to call each 
> instance with special information about the password file location, etc, 
> like this:
> 
> popper: ALL : twist (/pathto/bin/popper -d -s -T 300 -h %H -p 
> /pathto/www.%H/passwd -x /pathto/www.%H/spool)
> 
> This allows us to insert the domain (%H) based on what hostname the user 
> is connecting to and change parameters based on that.
> 
> Would their be any easy way to do this with dovecot?

I'd suggest a checkpassword script. Or I guess the only problem is that
Dovecot doesn't do a reverse lookup to the local IP address. You could
already use:

passdb passwd-file {
  args = /pathto/www.%L/passwd
}

But %L expands to IP address, not the host name. Wouldn't be too
difficult to create a new variable for that though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080828/950e4020/attachment.bin 


More information about the dovecot mailing list