On Mon, 2008-04-07 at 12:20 -0400, Dave McGuire wrote:
> Hey folks.  One feature I'd really like to see in dovecot is the  
> ability to point it at a database (with a configurable query) and  
> have it allow or deny a connection based on looking up the source IP  
> address in that database.

passdb sql {
  args = dovecot-sql-deny.conf
  deny = yes
}

Where the dovecot-sql-deny.conf has something like:

password_query = select 1 from deny_ips where ip = '%r'

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to