Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-06-2005, 11:07 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Mail Relay Server by using Sendmail

I set up a mail relay server (red hat9 , sendmail 8.12.10)

I would like to allow relay only for email sending to

so I write in /etc/mail/access:

Connect: RELAY

according here--> anti_spam.html#access_db_fine

But it seems don't work as I get "Relay Denied error".

Anyone knows how ??

Thanks a lot !!!!
Old 05-06-2005, 01:02 PM   #2
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I think the way you would do that wouldn't be in the access file. It would be to put "" in the relay-domains file and " smtp:" in the mailertable file. Of course change to the appropriate IP.
Old 05-11-2005, 10:25 AM   #3
LQ Newbie
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Problems solved: RELAY

in /etc/mail/access

No space behind ":" is allowed.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
Using Sendmail to relay all mail to my Exchange Server TimothyBoggess Linux - Newbie 7 05-01-2007 03:32 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
mail relay problem with sendmail ilovebytes Linux - Networking 5 11-16-2003 07:56 AM
Sendmail relay mail problem Swift&Smart Linux - Software 15 10-30-2003 09:14 PM

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration