LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-16-2010, 02:54 AM   #1
orko
Member
 
Registered: Nov 2003
Location: Chittagong, Bangladesh
Distribution: RHEL 5
Posts: 63

Rep: Reputation: 19
how to do outgoing mail only to a specific domain


i m using sendmail-8.13.8-2.el5 along with MailScanner-4.79.11-1

i want to set a rule so that user1@mydomain.com can send only to anotherdomain.com domain. sending mail to any other domain will be rejected. can it be done by sendmail or MailScanner ??
 
Old 07-17-2010, 01:49 PM   #2
rjcooks
Member
 
Registered: Jan 2008
Location: NE AR USA
Distribution: Fedora & openSUSE ...Mandriva-2010.1.
Posts: 81

Rep: Reputation: 20
Quote:
Originally Posted by orko View Post
i m using sendmail-8.13.8-2.el5 along with MailScanner-4.79.11-1

i want to set a rule so that user1@mydomain.com can send only to anotherdomain.com domain. sending mail to any other domain will be rejected. can it be done by sendmail or MailScanner ??
I believe the answer is yes sendmail can be conf'd to do that.

Now I suppose you want to know how ... .
Can't do that but this might help:
http://www.sendmail.org/~ca/email/restrict.html
Also, Google is our friend:
http://www.google.com/#hl=en&source=...d9c86769d1bf04
 
  


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
postfix filter outgoing mail by sender domain dmfelix Linux - Server 2 06-18-2010 03:32 AM
Postfix emails send outgoing mail with wrong domain name michael.smith Ubuntu 2 01-30-2010 12:23 AM
exim redirect outgoing mail for one domain to another server RKris Linux - Server 4 10-02-2009 06:00 AM
Blocking mail to specific domain from specific user orko Linux - Server 0 03-26-2009 02:18 PM
Send outgoing mail to a specific IP address and port starkhorn Linux - Software 1 01-31-2008 05:20 PM


All times are GMT -5. The time now is 12:21 AM.

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