How to tell what domains are rejected

kopenland

Member
May 20, 2020
7
0
21
67
We have a situation where an old barracuda box gave up the ghost and we are routing all traffic destined for the barracuda through our PMG box. Most of the domains handled by the barracuda have been configured as relay domains and have transports setup. We would like to be able to see what mail coming into PMG is rejected due to no domain configuration in PMG. Is there an easy way to filter on rejected mail for unknown domains?
 
We would like to be able to see what mail coming into PMG is rejected due to no domain configuration in PMG.
from your description - each of those mails (for an address in a domain, which has not been added as relay domain), if they come in through the external port of your PMG, should get logged with:
`Relay access denied` in the reject line
just look through the systems journal or /var/log/syslog for such occurences

I hope this helps!
 
I was looking for a solution in the gui, in the tracking center I can enter a single @ in the Receiver box and get a list of all emails to the point where "aborted by limit (too many hits)" , but if I try to filter by using rejected in the filter box - I get no results. In fact, I cannot find any term that works in the filter box.
 
I'd still suggest to run this on the command-line (there will be some things which are not made available on the GUI)

in this case - try 'Relay' as Filter term in the Tracking Center - it should catch the relevant mails
 

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!