Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

sendmail and clients smtp email

Posted on 1998-06-12
7
219 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
ID: 1627771
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
ID: 1627772
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
ID: 1627773
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:j_k
ID: 1627774
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
ID: 1627775
Try to add username to
/etc/mail/name_allow

0
 
LVL 1

Expert Comment

by:dyp
ID: 1627776
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
ID: 1627777
Thats it, /etc/mail/ip_allow.  It works now
Thank You

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

856 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