1834346 Members
2205 Online
110066 Solutions
New Discussion

Sendmail + Relay

 
SOLVED
Go to solution
Alexei_2
New Member

Sendmail + Relay

HI, ALL :)

I wont to use sendmail as relay-server.
Domain name of this relay-server is relay.abc.com. How can I configure sendmail to relay mails from internet to my internal server mail.abc.com and from my internal mail-servet (mail.abc.com) to internet ?
6 REPLIES 6
U.SivaKumar_2
Honored Contributor
Solution

Re: Sendmail + Relay

Hi,
In sendmail.cf of relay.abc.com
Cwlocalhost relay
Dj$w.abc.com
DSmail.abc.com
DMabc.com

In sendmail.cf of mail.abc.com
Cwlocalhost mail relay
Dj$w.abc.com
DHrelay.abc.com
DMabc.com

In your DNS server
abc.com IN MX 10 relay.abc.com

that's it

regards,
U.SivaKumar

Innovations are made when conventions are broken
Bill Hassell
Honored Contributor

Re: Sendmail + Relay

NOTE: relay servers are the primary method used by spammers to distribute their messages without leaving a trace of where they originated. You might want to upgrade to the latest version of sendmail and add some filtering for spam relays.


Bill Hassell, sysadmin
Ron Brown_2
Frequent Advisor

Re: Sendmail + Relay

Take a look at the following URL for more information regarding configuration of your mail servers to deny spam:

http://ordb.org/faq/#usage

should work...
Geoff Wild
Honored Contributor

Re: Sendmail + Relay

Sorry - by default, HP's sendmail.cf does not include access db.

You will have to create a new sendmail.cf
Easiest way is to download the sendmail source from sendmail.org

Add:

FEATURE(`access_db')dnl

to the sendmail.mc file. (it should be in cf/cf dir of source tree - just copy one of the ones there)

Then you bulid it:

./Build sendmail.cf

Rgds...Geoff



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Karthik S S
Honored Contributor

Re: Sendmail + Relay

Geoff,

You are too late ;-)

-Karthik S S

No Points .. if you insist then 0 points
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Geoff Wild
Honored Contributor

Re: Sendmail + Relay

whoops - posted to the wrong thread! DOH! - no points for me in this thread - sorry about that....
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.