I use a relay server to deliver external mails. I use relay server's IP in SPF record. But I'm not sure about blacklist monitoring/checking. Should I check main server's IP or relay's IP?
I use a relay server to deliver external mails. I use relay server's IP in SPF record. But I'm not sure about blacklist monitoring/checking. Should I check main server's IP or relay's IP?
Unless I misunderstand your design, your relay server will be the one making a direct connection to remote mail servers. Therefore whichever public ip your relay uses should be the one seen (and checked and possibly reported) by the remote server(s).
You should monitor the relay's IP - if this is the MTA doing the actual delivery, then delivery will fail if it gets into RBL/PBL