[Dovecot] Limit access to dovecot by domains?

Jobst Schmalenbach jobst at barrett.com.au
Wed Oct 13 10:08:33 EEST 2010


Hi.

Is there any way to limit access to dovecot by domains.

I only need to give access to a well known set of domains, all from 
Australia and all networks are known and used either from people
at home or mobile access (phones, laptops etc).

iptables is not possible as e.g. OPTUS does not give away all of the 
networks mobile phones are connected to. I know some, but not all.

It would be much nicer and easier to allow 

  optusnet.com.au
  bigpond.com.au
  tpg.com.au

and I have given 100% of our users access.


I know there is an extra field called "allow_nets", I tried this
and failed. I did a search and found that this only works with SQL?


Maybe I could include a script that would check the reverse DNS record
of a connected IP and then I could filter?????


Jobst





-- 
Why is the man who invests all your money called a broker?

  | |0| |   Jobst Schmalenbach, jobst at barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia


More information about the dovecot mailing list