LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2010, 12:58 PM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
authorised email address - Sendmail Server


Hi All

I am having many mails transferred through my Sendmail server,but I want to configure only authorised email address through our server. please help me to optimize my mail server's configuration.

Thanks in advance!!!


Shibu
 
Old 05-05-2010, 10:07 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Which version of sendmail and which OS ?

relaying is denied by default after sendmail v8.9
 
Old 05-05-2010, 09:48 PM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Lightbulb

If I got your question right, You need to modify this file for this --> /etc/mail/access
See these examples.

Code:
Connect:mail.yahoo.com        REJECT         # Allow yahoo.com domain
To:a1@server.vikas.com        REJECT            # Reject a1 user from recieving mails
From:b1@server.vikas.com    REJECT            # Reject b1 user from sending mails
A restart of sendmail is required after making changes.
 
Old 05-06-2010, 10:22 AM   #4
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by vikas027 View Post
If I got your question right, You need to modify this file for this --> /etc/mail/access
See these examples.

Code:
Connect:mail.yahoo.com        REJECT         # Allow yahoo.com domain
To:a1@server.vikas.com        REJECT            # Reject a1 user from recieving mails
From:b1@server.vikas.com    REJECT            # Reject b1 user from sending mails
A restart of sendmail is required after making changes.
Hi

Thanks for your valuable replay.

But I want to only authorised email address through our server(smtp)

Thanks in advance

Shibu
 
  


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
Configuring sendmail to allow SMTP traffic from my IP, domain, or email address hlslaughter Linux - Software 0 03-29-2007 03:19 PM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 11:31 PM
sendmail email address includes localhost name? kevindv10 Linux - Software 0 04-13-2004 02:22 PM
Sending Email to an SMTP address from sendmail guilmetrp Linux - Newbie 6 03-01-2004 09:51 PM
Sending email to a smtp address through sendmail guilmetrp Linux - General 0 02-27-2004 09:02 PM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration