Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-15-2004, 07:14 PM
|
#1
|
Member
Registered: Oct 2004
Posts: 42
Rep:
|
Sendmail - problem receiving external mail
Hi all,
I have setup a mail server that is currently capable of sending and receiving mails within the localhost, and also able to send mails to any external account such as gmail or yahoomail...
My main problem is that I am simply not able to receive any mails outside my domain like gmail... (I am a student in a university and use the university DNS as my primary DNS)
I already have a mail server (set up by someone else and is working fine...) and I wanted to add a new mail server similar to the existing one. I have the MX record setup in our DNS....
I compared most configurations with both these systems and found most of them same.
Can anyone please tell me what might be the problem?
Thanks a lot,
Manudath
|
|
|
12-15-2004, 10:08 PM
|
#2
|
Member
Registered: Nov 2004
Posts: 56
Rep:
|
My money is on the fact that they are filtering the SMTP and IMAP/POP ports out.
|
|
|
12-15-2004, 10:42 PM
|
#3
|
Member
Registered: Oct 2004
Posts: 42
Original Poster
Rep:
|
Hi,
I dont know whether they are filtering smtp or other ports because the server that is currently running works fine...
Anyway, I did an "iptables -L" on the new machine and this is the line I got for smtp... Can you please let me know whether this is of any help?
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
I wasnt able to figure out what the -- are for.... Also the last part "state NEW ..." was a little cryptic...
|
|
|
12-15-2004, 10:48 PM
|
#4
|
Member
Registered: Oct 2004
Posts: 42
Original Poster
Rep:
|
Hi,
This is the error when I tried to send from my gmail account...
Technical details of failure:
PERM_FAILURE: SMTP Error (state 10): 550 root@xxx.xx.xx ...Relaying denied
What can I do to solve this?
Thanks a lot....
|
|
|
12-16-2004, 06:00 AM
|
#5
|
Member
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273
Rep:
|
Your mailserver probably doesn't recognise xxx.xx.xx as its local hostname. You have to tell it that mail sent to xxx.xx.xx should be treated local.
What mailserver are you using anyway? And what tools to configure it?
Groetjes,
Kees-Jan
|
|
|
12-16-2004, 12:52 PM
|
#6
|
Member
Registered: Oct 2004
Posts: 42
Original Poster
Rep:
|
I am using Sendmail 8.12 on Redhat Enterprise WS...
I used the standard procedure -> download tar, compile, build and install sendmail... and tweak the sendmail.mc to configure.... (basically there was hardly any changes that I made... everything looked ok)
|
|
|
12-17-2004, 02:56 AM
|
#7
|
Member
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273
Rep:
|
According to the documentation, sendmail calls "gethostname" followed by "gethostbyname" to establish its identity. So the result of this (whatever that is for your system) should be the same as the stuff behind the @ sign in your e-mail addresses, and the same as the hostname in your DNS entries.
If this is not (like I said before), then you need to rename your host or define alternate identities, which is described here
Groetjes,
Kees-Jan
|
|
|
12-21-2004, 02:14 PM
|
#8
|
Member
Registered: Oct 2004
Posts: 42
Original Poster
Rep:
|
Hmm... After some testing, I found that nothing was wrong in the configurations.... It was just that my DNS was not allowing this particular hostname...
I changes the hostname to the one that is working now, and restarted the system, I was easily able to make it work...
Anyways, Thanks a lot for the replies...
|
|
|
All times are GMT -5. The time now is 09:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|