Default Relay

CaseyJones62

Active Member
Jun 14, 2020
5
0
41
63
I have just installed PMG 9.1.4 and can't seem to get the default relay working for my needs.

If I set the Default Relay to my main mail server, then it works fine. I'm using telnet to test the connection.

If I set the Default Relay to another MX entry (or an internal IP with no MX record) then I get a failure.

RCPT TO:<email@address.com>
550 5.5.1 Protocol error

I have Disable MX lookup (SMTP) Yes

I'm looking to route email through a VPS over wireguard to my home server, as my provider has stopped providing fixed IP.

The system is obviously doing other checks on the Default Relay IP besides the MX lookup. I assume it isn't a live check as disabling my main email PMG still works on the main IP. I areckon I have missed some settings that is causing it to abort the connection.
 
Please share the logs from when you got the Protocol error - also consider testing with tools like swaks (or actually sending a mail) - we had a few tools that don't follow SMTP standards on the wire and got similar results, and, speaking from personal experience, sometimes I do mistype a SMTP verb or don't wait long enough for the correct response from postscreen/postfix...

I hope this helps