Link to home
Start Free TrialLog in
Avatar of Yemisi
Yemisi

asked on

SMTP protocol returned a permanent error 554 relay rejected for policy reasons.

Hi,
Need your assistance urgently

We have two internal domino server eg server1,server2
Server1 is the only mail server that can send internet SMTP mail to the internet.it is running fine

I need the internet bound mail on server 2 to be sent through server 1.Internal mail routes fine but when i try to send internet mail the mail bounces back with the following error:

"Error transfering to server1:SMTP protocol returned a permanent error 554 relay rejected for policy reasons

i have the SMTP inbound controls on server1 configuration document as follows:
Allow messages from external internet domains to be sent only to the following internet domains: ,<domain name>

Deny messages from external internet domains to be sent to the following internet domains:

Allow messages only from the following external internet hosts to be sent to external internet domains:<ip address of server 2>

Deny messages from the following external internet hosts to be sent to external internet domains:

On server 2,i have the configuration setup as follows

SMTP used when sending messages outside of the local internet domain:Enabled

SMTP allowed within the local internet domain:Disabled

Relay host for messages leaving the local internet domain:Server 1 ip address.

I have gotten a lot of solution suggesting what i did was right but i still get the same error.

Will appreciate your help,the users on server2 are screaming

Rgds

Yemoseh
Avatar of Sjef Bosman
Sjef Bosman
Flag of France image

Does Server2 use SMTP to send mail to Server1, or does it use the Notes protocol? Do these servers have different domains?
Avatar of Yemisi
Yemisi

ASKER

No,below is the configuration for server 2.

SMTP allowed within the local internet domain:      Disabled

They have the same domain name.

Thanks
In the configuration on server 1...I would add the IP address of server 2 to the field "Exclude these connecting hosts from anti-relay checks"
Avatar of Yemisi

ASKER

this is no field like that in domino 5.0.9

Thanks
Some links for you to read:
    http:Q_21081783.html "Spam Relaying on a Domino SMTP Gateway"
    http:Q_21341328.html "554 Mail from username@domain.com rejected for policy reasons"
If you're on R5, I would setup the old fashioned routing by creating an SMTP connection document for server 1 and have server 2 use native notes routing to server 1 then out to the internet.
Also, do you have an Internet DOmain document set up properly ?

Avatar of Yemisi

ASKER

Thanks guys,

Sjef,ive seen the links but the situation is different,we use nrpc between server 1 and server2 and what brwwiggins suggested is what i have done.

Sys expert,can u please explain further ur comment?

Notes admin says create a foreign smtp domain document and a smtp connection document to associate the 2?
is that it??

Please your urgent assistance is required?

Thanks all,appreciate it.
Somehow I think that your system is different from what you tell. AFAIK, an error 554 is returned on incoming SMTP mail. Not on NRPC mail. Could you please check the error log of Server1, to see whether the message is returned by Server1 itself or by the destination server at the other end? Who generates the 554?
Avatar of Yemisi

ASKER

server 1,i included it in my error message:see below

Error transfering to server1:SMTP protocol returned a permanent error 554 relay rejected for policy reasons
But then you send your mail through SMTP, and NOT through NRPC!

Or am I completely mistaken??
Avatar of Yemisi

ASKER

thank u all guys,i got the answer.

The problem was that i needed to setup a foreign domain document and link to an smtp connection document.Since server 2 connects to server via nrpc.
Refer to notes admin help 6 on ''Sample mail routing configurations".

Thanks a lot.
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial