[SOLVED] Valide interne domaine and ACL for server

twconcept

Member
Jan 26, 2020
5
0
6
51
Hello,

How to configure the sending of an email only from the domain hosted on proxmox (relay domain)

This gateway is used internally only.

  1. relay domaine = test.com
mail from : xxx@test.com is accepted
mail from: xxx@test123.com is refused
mail from: all other domaine is refused.

*************************************************
how to configure acl to allow only selected computers to send mail

*************************************************


Thanks.
 
How to configure the sending of an email only from the domain hosted on proxmox (relay domain)

create a Who Object in the Rule System https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmg_mailfilter_who matching the domain
create a rule which has that object as who and action accept
create a second rule (with slightly lower priority) which has as action block

(same goes for the selected computers - the who object needs to contain the ip of that host)

I hope that helps!
 
Glad that helped - please mark the thread as 'SOLVED' - it could help others in a similar situation

Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!