Solved

sendmail and clients smtp email

Posted on 1998-06-12
7
204 Views
Last Modified: 2013-12-15
I have just installed red hat linux v5.  It is a internet server for www,ftp and email.  Sendmail is working fine, in and out, from the server box.  But the clients (Win95, or WinNT) are having trouble sending mail to the outside.  I am using Microsoft Internet Mail program, and it returns a message 551 <XXXXXXXX>  "we dont relay".  I am not at the office and i cant remember the exact message.  The <XXXXXXXX> are something else i cant remember either.  But the message "we dont relay" or something like that hinted to another coworker that the problem may lie in the /etc/mail/relay_allow file on the linux server.  Neither of us know what the syntax is for this file and i could not find any documentation.
Are we headed in the right direction?
Do you know the Syntax of the /etc/mail/relay_allow file?
Thanks
0
Comment
Question by:j_k
  • 4
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
dyp earned 50 total points
Comment Utility
Yeps, you are right...

Syntax is easy:
------ relay_allow -----
shu.inetlab.com
blues.inetlab.com
--------------

It is simple list of client you wonna relay.

0
 

Author Comment

by:j_k
Comment Utility
It is simple list of client you wonna relay.

I am not sure i understand your answer.  Is this a list of each client in our LAN?  If so, then i guess this is how everyone in our LAN could have and receive email, but only certain workstations to send email to the outside!!   Is this correct?

0
 

Author Comment

by:j_k
Comment Utility
It is simple list of client you wonna relay.

I am not sure i understand your answer.  Is this a list of each client in our LAN?  If so, then i guess this is how everyone in our LAN could have and receive email, but only certain workstations to send email to the outside!!   Is this correct?

0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:j_k
Comment Utility
I have now tried to enter the clients name in the /etc/mail/relay_allow, and i still get the same error.

551 < email@address.net> ... we do not relay

I have tried each of the following at seperate times:
1. the hostname of the client
2. the hostname.domain.com of the client
3. the IP address of the client

After each time i stopped and started the sendmail daemon.
Should this have worked?
Do i need to stop and restart sendmail when changes are made to /etc/mail/relay_allow?
Where would i find documentation on /etc/mail/relay_allow?

Thanks



0
 
LVL 1

Expert Comment

by:dyp
Comment Utility
Try to add username to
/etc/mail/name_allow

0
 
LVL 1

Expert Comment

by:dyp
Comment Utility
I am sorry I did not read documentation carefully...
You should add all ip addresses to
/etc/mail/ip_allow

Here is a part of sendmail.cf
----------------
# file containing IP numbers of machines which can use our relay
F{LocalIP} /etc/mail/ip_allow
----------------

 
0
 

Author Comment

by:j_k
Comment Utility
Thats it, /etc/mail/ip_allow.  It works now
Thank You

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

762 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

11 Experts available now in Live!

Get 1:1 Help Now