Solved

Sendmail 8.9.0 relay question

Posted on 1998-10-28
2
305 Views
Last Modified: 2013-12-15
Hi,

I have a sendmail configuration question:

I just upgraded to sendmail 8.9.0 and realized that the configuration
has changed from earlier versions. I went to the sendmail faq site
(http://www.sendmail.org/faq/) where they have a very nice tutorial on
sendmail. My particular problem was that the new version of sendmail
turns off relaying for other hosts by *default*, which means that
not only spammers will have a hard time to abuse your host for relaying
spam, but also accountholders on your system who use popmail will have
trouble to get their outbound mail relayed.

Anyway, on that faq there is a section that deals with this issue:
http://www.sendmail.org/tips/relaying.html
and it mentions a /etc/mail/relay-domains file, and "features" that can
be added. How do I optimally configure this
file such that mail works properly for popmail clients, no matter where
they come from (I have a few coming in from outside of our domain using
different ISP's, which may change from time to time)?
They do not show an example of the correct syntax of this relay-domains
file, and was wondering if someone here can tell me how to set this file up
properly.


Right now I have:

FEATURE(promiscuous_relay)
FEATURE(rbl)

I am not even sure if this is the correct syntax.
FEATURE(promiscuous_relay) is supposed to let everyone use my
machine for relay (including spammers) and FEATURE(rbl) is supposed
to deny service to sites listed on the public spamming blacklist at
http://maps.vix.com/ (what a great idea!).  I am not sure about the
syntax and also not sure if I need other configurations to make this
work. Any help with this would be appreciated...
0
Comment
Question by:demeler
[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
2 Comments
 
LVL 1

Accepted Solution

by:
henckens earned 150 total points
ID: 1631271
The relay-domains is the right answer.  The format can be as follows

1.1.1.
(for a whole subnet)
domain.com
(for a whole domain)
1.1.1.1
(for a single ip address)

Just start hit enter after every line, so it's listed vertically.  That's all there is to it.  If you want to give someone relay permissions outside of the domain, you can simply add the dialinlocation.domain.com to it.

Activate it in your sendmail.cf file in the following line
FR-o /path/relay-domains

Much luck,
Andres
0
 

Author Comment

by:demeler
ID: 1631272
Your answer only partially answers my question:

I don't want to manually add each possible domain from which someone may be calling, since this changes all the time for roaming users. I basically want to leave the system open for
all domains, except for those blacklisted on maps.vix.com.
I understand that this can be set up such that sendmail automatically retrieves the latest database from maps.vix.com
and disables relaying for those sites. How do I do it? Also
in /etc/mail/relay-domains? How do I use the FEATURE(xxx) command?

Thanks!!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

636 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