LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 05-06-2005, 11:07 AM   #1
raymond117
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 xxx@abc.com

so I write in /etc/mail/access:

To: abc.com RELAY
Connect: abc.com RELAY



according here--> anti_spam.html#access_db_fine
in sendmail.org

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
benjithegreat98
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 "abc.com" in the relay-domains file and ".abc.com smtp:10.1.2.3" in the mailertable file. Of course change 10.1.2.3 to the appropriate IP.
 
Old 05-11-2005, 10:25 AM   #3
raymond117
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Problems solved:

To:abc.com RELAY

in /etc/mail/access

No space behind ":" is allowed.


Thanks~
 
  


Reply


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 08:31 PM.

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