Solved

sendmail setup

Posted on 1998-07-24
4
220 Views
Last Modified: 2013-12-15
I just installed ipop3d server.  Sendmail was working, but now when I try to send to anywhere but my local host, I get Server Response:551 <'email addree'>...we do not relay
what's going on?
0
Comment
Question by:dzimmer
  • 3
4 Comments
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628537
I think pop server and sendmail problem are not related... If you can still sendmail logged in Linux, look in /etc/sendmail.cf for lines starting with "F". They are well commented:

# file containing IP numbers of machines which can use our relay
F{LocalIP} /etc/mail/ip_allow

If you can't send mail from the Linux box, edit /etc/sendmail.cw and add things like your full domain name, localhost, and try again...

Good Luck
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628538
Sorry I didn't explain: RedHat has it's sendmail configures for not to relay mail because of the commercial spam out there...
0
 

Author Comment

by:dzimmer
ID: 1628539
How do I make it relay?
0
 
LVL 3

Accepted Solution

by:
marcelofr earned 100 total points
ID: 1628540
I don't think it's a Good Thing... You can enable relay by domain or by ip (just put one domain/ip per line in the files referenced to by F{LocalNames}, F{LocalIP} in your /etc/sendmail.cf)

But if you still want to make it relay to everybody, MAKE A BACKUP COPY of /etc/sendmail.cf and then remove all lines begginig with "F" and look for "Ruleset 98", go ahead and remove from "Special rules when relay control is active" to the next ruleset... Again I think it does no good...
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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 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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

832 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