Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm having problems with configuring pop and sendmail. My mission is to create everything needed to be able to use this mail address: info@zwar.com. First at all i have a dns server pointing to the correct IP. Then i configured sendmail, according to these manual: http://www.linuxselfhelp.com/quick/sendmail.html. Then i've istalled vm-pop3. Now i'm able to connect to pop server as info user. But i don't recieve anything. I did two tests: first i send a mail message with sendmail localy on the server to user info. Then i logged to pop with mail client an tried to get the messages. The mail client displayed: recieving message 1 of 1, but nothing happes. If i send a mail message to info@zwar.com i don't get no bounce back, but sendmail also does not recieve it (it never appears in spool directory).
Here i'm out of ideas. I don't know why this is happening. Please help me if you can!!
domain name zwar.com is fictional, since i don't wat to post the real one.
I think a little snap shot of /var/log/maillog will help...are you sure emails are hitting your sendmail server ..if yes then check /var/log/maillog for errors...check if dns is causing any problem...you can check dns for your domain by executing "dig MX yourdomain.com"
I solved the pop problem. I successfully installed dovecot and pop is now working properly. But mails send to the domain still don't hit my server. I checked my domain with nslookup and with dig (as you suggested) and IP's are correct. On the sendmail machine there's no DNS running, but even if it was, there would be no need to change MX records, since there is a third party DNS covering this issue, am i right?
I added my domain name also to /etc/mail/access and to /etc/mail/local-host-names. I even tried to modify sendmail.cf Cw directive by hand, changing it from Cwlocalhost to Cwmydomain. Nothing seems to work, /var/log/maillog is not reporting anything about mails which were send to the server. I'm getting really confused here.
Why is there no sendmail log entry in /var/log/maillog for mails which i tried to send from e.g. my gmail address? Does this mean this mails don't even hit my sendmail server? And if so, would this be because of an DNS configure issue?
Pete M thank you!!! I think i found out (with the test on the URL you posted) what's the problem. There are no reverse DNS entries on my sendmail! I'll take a look at that, hope it is the solution!
Just to inform all other with simillar dificulties: The cause of my problem was missing reverse DNS entry (PTR record). According to directions given at www.dnsstuff.com and www.dnsreport.com i sent a mail to my ISP and they updated their DNS servers with valid PTR record. As i read somwhere on dnsstuff.com, it is your ISP, which must enter the valid PTR record on their DNS servres, because doing it only on your local DNS's would work only localy in your local network. I hope this will help someone, somewhen .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.