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