Solved

Relaying denied. IP name possibly forged

Posted on 2004-08-19
4
16,053 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
  • 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
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…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

809 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