-1
I'm trying to set up sendmail on my server. But so far I encountered one problem: I can't receive messages from public email services. /var/log/mail.log
shows nothing, like post doesn't reach my server at all.
Local users can send messages to each other with no problem. Outgoing mail is also works almost fine (being blocked as spam yet, but at least servers are responding)
DNS server records was set to (server IP and domain was replaced):
@|MX|post.mydomain.com
post|A|111.222.222.111
In sendmail.mc replaced DAEMON_OPTIONS('Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
with DAEMON_OPTIONS('Family=inet, Name=MTA-v4, Port=smtp')dnl
according to given comment:
dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
dnl # Remove `, Addr=' clauses to receive from any interface
Searched everywhere and now I'm out of options. Can you help me, please?
Thanks in advance!
I'm almost willing to downvote this because you have anonymized away the one piece of information that might actually be relevant. Check that your DNS MX record actually points to where it's supposed to. The fact that your server doesn't see any traffic is highly indicative of that other servers can't find yours. – a CVn – 2015-10-17T21:33:22.820
@MichaelKjörling, Sorry for being paranoid, but yet I have no proper security (or just too newbie yet) to show of all the information. But how can I check it?
host -t mx mydomain.com
showsmydomain.com mail is handled by 10 post.mydomain.com
. Post.mydomain.com record points to the same IP as mydomain.com. Both are accessible from web browser (from Internet). – MadBrozzeR – 2015-10-17T21:56:46.913