Retry bounced emails from different IP

ishan

New Member
Nov 12, 2018
13
1
3
36
Hello,
We are using Proxmox Mail Gateway as a SmartHost / filtering gateway. Currently we have 2 IPs assigned for outbound email and we manually switch to 2nd IP if 1st gets blacklisted ( spam filtering didn't catch some outbound spam) .

We want to automate this by retrying bounced emails automatically through the 2nd or more IPs.

So ideally -

1. Outbound emails are going through.
2. One email bounces
3. We run a script to replace outbound IP in Postfix configuration and reload Postfix
4. Retry bounced email and continue all future emails through the new IP till we receive next bounce.
5. Repeat
 
@Stoiko Ivanov: Interesting idea, need to be something similar like fail2ban, which scans logs and then adds an IP to the blacklist.

I would welcome, if PMG outgoing spam filtering would work like United Internet set it up, based on the spam check decide, which IP to use:

ham - send it with strong reputation IP
spam - block or better reject it
maybe spam - send it with less reputation IP

Last one may be listed or not.

I'm unsure, if that would be a great feature request?
 

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!