I try install Mail server on Ubuntu, I've installed dovecot server.
- telnet localhost 110 - correct
- telnet mail.example.com 110 - correct
When I send email:
echo "Testicek" | mail -s "Dovecot test" firstname.lastname@example.org
And connect to the box email@example.com, I found it, so it's correct.
But when I send email from outside (forexample Gmail), to firstname.lastname@example.org is returned:
The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answer.py?answer=7720 [example.com (1): Connection refused]
In log isn't something error, so I don't know where I can find problem, but I think so, it can be in setting of domain:
1800 A 31.31.73.*** * 1800 A 31.31.73.***
Subdomains is correctly serving on apache (LAMP stack) and send email via Squirrelmail was resulted correct domain too.