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?