LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2005, 06:00 AM   #1
bit128_linux
Member
 
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Rep: Reputation: 15
Mail server problem


Hi! I've installed the Courier mail server. Well, I compiled it, satisfying the dependencies on the way. I made it start. I even made the authdaemon start. But, when I try to send an email, I get these errors: "Address family not supported by protocol" and "DNS lookup failure". My host is perfectly visible from the inside AND from the outside by using DNS lookups. Do you have any ideas about my problem? Thanks. By the way: my GNU/Linux is Slackware 10.1
 
Old 12-22-2005, 02:48 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Did you check out /etc/resolv.conf?
This file dictates how hostnames are looked up (eg via DNS, LDAP, etc).

Edit: on the machine itself, you may want to try a few DNS lookups (eg via
the deprecated "nslookup" command or via "dig"). Just to make sure DNS is correctly
set up on the machine itself.
 
Old 12-22-2005, 03:19 AM   #3
bit128_linux
Member
 
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Original Poster
Rep: Reputation: 15
Yes. I did that. I checked both of them. Everything just works. nslookup gives me the correct address, so does dig. /etc/resolv.conf just looks fine. I tried lots of configurations of it and it works. Have no idea what is going on... Maybe a socket error...
 
Old 12-22-2005, 03:48 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Have you tried to do:
telnet <your_mail_server> <SMTP port>
(I think the SMTP port's number is 25, but I'm not sure).

If that works, the sockets/connections should be OK (ie no firewall in the way).

As for "Address family not supported by protocol", have you verified:
-The protocols that your mail server supports/is configured for?
On the Courier Mail server website, it sais that ESMTP, IMAP and POP are supported. Are you
sure you're using the right protocol?
-The e-mail address you're using? Start for instance by sending a mail from your mailserver to a local user.
Perhaps, you could have a look at the maillog to know what went wrong.
Try multiple forms of the e-mail address: eg just "user", "user@your_domain", "user@localhost.your_domain",
etc.
-Are the mail aliases and stuff correctly set up?

Last edited by timmeke; 12-23-2005 at 03:37 AM.
 
Old 12-23-2005, 02:49 AM   #5
bit128_linux
Member
 
Registered: Dec 2005
Location: Brasov, Romania
Distribution: Slackware, Bluewhite64
Posts: 49

Original Poster
Rep: Reputation: 15
Thanx for suggestions . I found the problem: the mandatory thing was the IPv6 support. I don't know why, they didn't write in the README that was a mandatory thing... Well, I'm glad it works . Thanx again for your help
 
Old 12-23-2005, 03:38 AM   #6
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
No problem. That's why you used this forum in the first place, no?
You might want to close this thread now.
 
  


Reply



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
Mail server problem jerrymei Linux - Software 1 11-13-2005 11:34 PM
mail server problem irvken Linux - General 2 08-14-2005 02:12 PM
Mail Server Problem Yomaoni Red Hat 1 07-21-2005 09:00 PM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
problem with mail server netpraveen Linux - Networking 4 02-20-2002 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration