[SOLVED] Valide interne domaine and ACL for server

twconcept

Member
Jan 26, 2020
5
0
6
52
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!