Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Relaying denied. IP name possibly forged

Posted on 2004-08-19
4
Medium Priority
?
16,181 Views
Last Modified: 2013-12-17
Hi...

i'm so tired trying to set up bind server, i can send and receive mail from server and receive mails from internet but when i tried to send mails from external all mails are rejected

 550 5.7.1 <alelopez00@hotmail.com>. Relaying denied. IP name possibly forged  [201.129.204.xx]


I just looked at documentation and saw sendmail by default does not support it but i changed 127.0.0.0 to 0.0.0.0 in smtp, but i did not work..
 
As far now i just chequed lunix firewall and opened aaaalllllll !

by the way i have linux 9

Thanks
0
Comment
Question by:Alejandro_Lopez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11844354
I'm going to guess that by "linux 9" you mean RedHat 9.

The first step in making your email server work is to comment out the line in /etc/mail/sendmail.mc that reads:

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

which means that the result should look like:

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

then restart sendmail (/sbin/service sendmail restart).

At that point Sendmail will listen for SMTP connections from anywhere, firewall rules permitting.

The next problem, which you have right now, is that Sendmail (as an anti-spam protection) will only relay mail from the local host, or hosts/networks explicitly listed in the access map with RELAY permission, or if SMTP AUTH is enabled those hosts that have authenticated to Sendmail. For clients with fixed IP addresses or those on a local network the access map solution works fine. However, if the clients aren't on a local network and have dynamic IP addresses SMTP AUTH is the only practical and safe solution.
0
 

Author Comment

by:Alejandro_Lopez
ID: 11844826
I just commented the line... but still does not work!!!

My case i can't define any ip or domain or network, it has to work with any... i don't understand SMPT AUTH ... anyway if you have other better option for email it's well received...

Thanks
0
 
LVL 40

Accepted Solution

by:
jlevie earned 1500 total points
ID: 11845681
If you can't use IP/network rules in the access map your only sane choice will be to use SMTP AUTH to allow external clients that authenticate to relay mail through the server. That's covered fairly well in http://www.sendmail.org/~ca/email/auth.html. Since RedHat 9 is shipped with a Sendmail built to use SASL it is mostly a matter of configuring sendmail.mc to support SMTP AUTH and picking a method for authentication.

The authentication method depends mostly on how secure you need this server to be and whether the admin burden of creating SASL auth info for each user is more than the increased security that non-plaintext passwords affords. Using methods other than PLAIN & LOGIN requires the use of sasldb, which means that each mail system user has to have auth info created just for Sendmail's use.
0
 

Author Comment

by:Alejandro_Lopez
ID: 11852721
Ok it works fine...

Jus for the record I also had problems but they was becuse of outlook configuration SMTP advanced...

But now it's solved

Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question