I'm facing a strange problem. I'm getting a recipient rejected on a SMTP server only from inside an OpenVZ container, while from the physical server everything works fine.
Here's an example of a telnet test connection while inside a routed Vz container:
telnet mx.adomain.com 25
[...]
rcpt to: username@adomain.com
550 5.1.1 <username@adomain.com> recipient rejected
Connection closed by foreign host.
While the same telnet connection from a physical server works as expected. The problem arises only with the mx.adomain.com server, on other SMTP servers like for example gmail.com everything works fine even inside the virtual container.
I've checked and the IPs of the Vz containers don't belong to any blacklist. More strange is that until 3 days ago everything worked fine.
Any ideas?