Solved

Relaying denied. IP name possibly forged

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
as logs exchange 2010 7 54
Distribution groups exchange 2013 6 58
Email Headers 5 86
Splitting email mailboxes on same domain between 2 servers - Any options 4 45
Resolve DNS query failed errors for Exchange
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

733 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