LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2014, 08:32 AM   #1
marcusone
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Post Sendmail restrict by domain and ip address


I have a Sendmail server with about 15 domains that it accepts email for. call it: server1.mail

One of the domains (call it: protected.mail), I now have setup a spam server in front of it (so changed the MX record), call it spamserver.mail

How do I setup so that for email that comes into server1.mail (the main email server), will only accept mail for protected.mail domain if it came from the spamserver.mail IP address?

Thanks,
 
Old 07-31-2014, 07:48 PM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
I can't seem to find it but I would look towards the access_db method, I don't know of you can do it on a per hosted domain basis.
 
  


Reply



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
how to restrict a user to a single domain in sendmail with multiple domains muralee29477 Linux - Server 2 04-30-2007 01:16 AM
Sendmail. Can I use IP address instead of domain name? vs_optimist Linux - Newbie 2 04-26-2006 07:19 AM
sendmail relay same domain address alphanumeric Linux - Software 0 03-30-2004 08:39 PM
Sendmail: Domain of sender address does not exist 360 Linux - Networking 1 02-02-2003 08:40 PM
Sendmail Domain of sender address does not exist mantiev Linux - Networking 0 05-08-2001 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:22 PM.

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
Open Source Consulting | Domain Registration