Skip to main content

Configuração PMG

Regras de Filtro

Criar Regra

# Configuration → Rules → Add
- Name: Meu Filtro
- Priority: 10
- Enable: ✓

Condições

# Conditions
- From: *@spam.com
- To: *@empresa.com
- Header X-Spam-Flag: YES

Ações

# Actions
- Accept
- Reject
- Quarantine
- Mark as Spam

Antivirus

# Habilitar ClamAV
pmgconfig --set avfeedback mode=enable

# Atualizar definições
freshclam

TLS

# Configurar certificado
pmgconfig --setcert /etc/pmg/ssl.pem