Sendmail: external alias not receiving relayed mail under certain circumstances.
- by ben
I have set up an alias in /etc/mail/aliases like this:
user: xxxx@gmail.com
This relay DOES work when I telnet to example.com 25 and send mail to user@example.com (where example.com is my domain); it indeed turns up in xxxx@gmail.com inbox.
Also mail sent from my server at example.com is generally deliverable to this same email address, xxxx@gmail.com.
HOWEVER, the relay DOES NOT work when I send mail from xxxx@gmail.com to user@example.com, expecting it to be relayed back to xxxx@gmail.com.
The mail.log shows it being received and sent just fine, so I guess it is being blocked by gmail for some reason. Why though? As I said, gmail generally does except mail from this server.