Store and forward while email server off-line

Dear All,

Question: can PMG can Store and forward email, if our mail server is off-line?

Reason I ask is that our email server will be off-line for a day, while our core network switches are being replaced.

Our PMG virtual machine is in a DMZ directly connected to our firewall, so it will still be able to receive incoming emails.

The PMG system has 9.3G free disk space, which is easily sufficient to store the incoming mail.

However, we use the Recipient verification built into postfix to prevent backscatter, thus PMG contacts our email server to confirm email addresses.
Does PMG cache these email addresses, if so how long is the cache valid for?

Are there any other PMG settings that would break store / forward?

Would it be safer to disable incoming email to PMG while our email server is off-line?

many thanks

Jake
 
Question: can PMG can Store and forward email, if our mail server is off-line?
put shortly - yes - but that's a general functionality of SMTP - if a destination server is not reachable any good SMTP server will queue the mail and try resending it at a later point.
Postfix (the MTA used by PMG) by default queues mails for up to 5 days - see https://www.postfix.org/postconf.5.html#maximal_queue_lifetime

The PMG system has 9.3G free disk space, which is easily sufficient to store the incoming mail.
even if it runs full - postfix would reply with a temporary error (4XX), and the sending server should then try to resend the mail later (also for a while)

Does PMG cache these email addresses, if so how long is the cache valid for?
yes - caching happens - for postive results the cache-time is 31 days - for more details see:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html#caching
and http://www.postfix.org/verify.8.html (for the parameters you can tweak regarding caches)

if you want to adapt the postfix config in PMG use the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine


I hope this helps!
 

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!