---
title: 'Webmail Policy'
url: 'https://docs.danami.com/juggernaut/settings/web-server/webmail-policy'
markdown: 'https://docs.danami.com/juggernaut/settings/web-server/webmail-policy.md'
date: '2026-09-22'
description: '• Currently webmail policies only work with Roundcube. • You must sign up for the free MaxMind license key in order to download the Geo city and Geo ASN databases. • Adding webmail policy entries will enable the Apache mod_maxminddb geolocation module server wide. •…'
taxonomy:
  category:
    - docs
  tag:
    - maxmind
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Settings Reference ](https://docs.danami.com/juggernaut/settings)     [ Web Server ](https://docs.danami.com/juggernaut/settings/web-server)      Webmail Policy    

# Webmail Policy

> > > > > &bullet; Currently webmail policies only work with Roundcube.
> > > > > &bullet; You must sign up for the free [MaxMind license key](https://docs.danami.com/juggernaut/settings/panel-application/geolocation-settings#how-to-get-a-maxmind-license-key) in order to download the Geo city and Geo ASN databases.
> > > > > &bullet; Adding webmail policy entries will enable the Apache mod\_maxminddb geolocation module server wide.
> > > > > &bullet; If a location has both a deny and allow policy then BOTH policies will have to be satisfied to allow access.

## Deny

Allow from all but deny the following entities.

**Deny countries** - `deny_countries`
A list of countries that will be denied access to the webmail.
Default: None

**Deny continents** - `deny_continents`
A list of continents that will be denied access to the webmail.
Default: None

**Deny ASNs** - `deny_continents`
A list of ASNs (Autonomous System Numbers) that will be denied access to the webmail.
Default: None

## Allow

Deny from all but allow the following entities.

**Allow countries** - `allow_countries`
A list of countries that will be allowed access to the webmail.
Default: None

**Allow continents** - `allow_continents`
A list of continents that will be allowed access to the webmail.
Default: None

**Allow ASNs** - `allow_continents`
A list of ASNs (Autonomous System Numbers) that will be allowed access to the webmail.
Default: None

## Related Pages

- [Policy Migrator](https://docs.danami.com/juggernaut/settings/web-server/policy-migrator "Policy Migrator")
- [Policy Settings](https://docs.danami.com/juggernaut/settings/web-server/policy-settings "Policy Settings")

 [ ](https://docs.danami.com/juggernaut/settings/web-server/policy-settings) [](https://docs.danami.com/juggernaut/settings/web-server/policy-migrator)

---

## Navigation

- Parent: [Web-server](https://docs.danami.com/juggernaut/settings/web-server.md)
- Previous: [Policy Settings](https://docs.danami.com/juggernaut/settings/web-server/policy-settings.md)
- Next: [Policy Migrator](https://docs.danami.com/juggernaut/settings/web-server/policy-migrator.md)
