Solved

Relaying denied. IP name possibly forged

Posted on 2004-08-19
4
15,972 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Microsoft Outlook is not just an email client but it is full featured Personal Information Manager. But sometimes Outlook gets disconnected and you simply can’t access it. What steps can you perform before calling IT support? In this article we will…
MS outlook is a premier email client that enable you to send and receive the e-mails with various file formats of attachments such as document files, media file, and many others formats. There is some scenario occurs when a receiver of an e-mail mes…
In this video we show how to create a mailbox database 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 >> Data…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now