Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Linux Rh9 As An Email Server. Admin's?, Can send mail but can't receive mail
bgump_69
post Sep 24 2003, 10:05 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 24-September 03
Member No.: 1,517



No one seems to be able to help me resolve this problem.
I have setup my linux 9 as an email server. I have opened all ports that are needed on my router. I have registared my domain name and allowed the place where I registered my domain name to host my DNS. (One less thing that I have to worry about. I have configured postfix. I am actually able to connect to the email server and can ping the email server with the following.

host emailservername.domainname.com
host domainname.com

Both of these resolve my ipaddress no problem.

But, when I send an email to an account on my machine I get the following.

"Failed to deliver to 'accountname@domainname.com'
SMTP module (domain domainname.com) reports
host emailservername.domainname.com says:
554 <accountname@domainname.com>:Recipient address rejected: Relay access denied"

Can anyone help me out with this? I am pretty sure it is a problem on my machine. BUT WHAT??

Thanks in advance...
Go to the top of the page
 
+Quote Post
Joey
post Sep 25 2003, 07:03 AM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



By "Linux 9" I assume you mean Red Hat Linux 9?

Make sure that you have your domain name listed in /etc/mail/local-host-names.

Red Hat by default ships sendmail so it can only receive mail for the local lan. If you want to receive email from the net you have to edit your /etc/mail/sendmail.mc file.

Change this line:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

to this:

dnlDAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

Then run:

make -C /etc/mail

and then restart sendmail.

As well you can also look in /var/log/maillog to see if theres any additional errors etc.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 05:20 PM