Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sendmail and clients smtp email

Posted on 1998-06-12
7
Medium Priority
?
241 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
[X]
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
  • 4
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
dyp earned 200 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
DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

 

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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

722 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