LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-08-2006, 08:25 AM   #1
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Rep: Reputation: 35
Problems with sendmail and pop


Hello!

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.
 
Old 07-09-2006, 03:25 AM   #2
nitinb
LQ Newbie
 
Registered: Jul 2006
Posts: 11

Rep: Reputation: 0
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"
 
Old 07-09-2006, 12:30 PM   #3
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
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?
 
Old 07-09-2006, 01:35 PM   #4
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
Hi zWaR

You don't appear to have an MX record for your domain, I'm assuming 'zwar.com' is a genuine domain

Go here a check for yourself

http://www.dnsreport.com/

Pete
 
Old 07-09-2006, 03:57 PM   #5
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
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!
 
Old 07-13-2006, 05:42 AM   #6
zWaR
Member
 
Registered: Dec 2003
Distribution: Slackware, Alpine Linux, Ubuntu, Debian
Posts: 219

Original Poster
Rep: Reputation: 35
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 .
 
  


Reply

Tags
pop, pop3, ptr, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - PoP soo Slow to connect mac_casey Linux - Newbie 2 01-31-2005 08:11 AM
Can't pop from sendmail Nytehawk Linux - Newbie 15 04-02-2004 12:44 PM
RH9 which pop server to install w/sendmail cgchris99 Linux - Newbie 1 05-08-2003 11:59 AM
pop before smtp with sendmail markus1982 Linux - Networking 0 08-31-2002 04:40 AM
Sendmail - POP connection refused 360 Linux - Networking 5 04-02-2002 04:53 PM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration