pmg hold queue issue

willielaramie

New Member
Oct 18, 2024
2
0
1
hello community,
i'v PMG configured to as a MailGateway for my domain "lab.com"
i need to configure it to hold all incomming emails from my domain "lab.com" in queue ....
so i'v added 'check_sender_access hash:/etc/postfix/time_based_access' line under "smtpd_sender_restrictions" directive, the content of "/etc/postfix/time_based_access" file is "@lab.com HOLD" .... but isn't working ... any advise to solve this issue
thanks.
 
Hey! It sounds like you’re on the right track, but there might be a couple of things to check. First, make sure you’ve run postmap /etc/postfix/time_based_access after editing that file to create the hash database. Also, double-check your Postfix main configuration file for any typos or syntax issues. Lastly, ensure that your queue settings allow for holding emails. Restart Postfix after making changes to see if that helps.
 
Hey! It sounds like you’re on the right track, but there might be a couple of things to check. First, make sure you’ve run postmap /etc/postfix/time_based_access after editing that file to create the hash database. Also, double-check your Postfix main configuration file for any typos or syntax issues. Lastly, ensure that your queue settings allow for holding emails. Restart Postfix after making changes to see if that helps.
hey Ahanae,

thanks for your replay

/etc/postfix/time_based_access.db file has already been created, but i didn't get your point of this "ensure that your queue settings allow for holding emails" !! how i can check it ?
 
hello community,
i'v PMG configured to as a MailGateway for my domain "lab.com"
i need to configure it to hold all incomming emails from my domain "lab.com" in queue ....
depending on the timeframe you need the mails queued - it can be simply achieved by adding a firewall policy that prevents PMG from connecting to your downstream mailserver on port 25

Why do you want to keep the mails queued on your PMG and for how long?
 

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!