nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

blocking a domain partially

This is a discussion on blocking a domain partially within the Mail Servers forums, part of the Mastering Servers category; Hi all, we are struggling with an issue.. the issues is as follows.. sender domain and receiver domain are same.. ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Mastering Servers > Mail Servers

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 27th November 2009, 05:48 PM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 643
Thanks: 32
Thanked 45 Times in 40 Posts
Rep Power: 8
kumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of light
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default blocking a domain partially

Hi all,

we are struggling with an issue.. the issues is as follows..

sender domain and receiver domain are same.. so
the sender should not send any kind of mail to same sender domain..
the sender can send mails to other domains.
The send can receive mails from any domain even from senders domain..


so in short a sender should not send any mail to its own domain but should receive mails from it.
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #2 (permalink)  
Old 27th November 2009, 10:37 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,299
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

It is called spoofing and used to send spam. Try all of the following with your MTA

  • Reject all email if they do not have a valid hostname or proper email address.
  • Setup spamassassin
  • Set SPF to avoid from: and to: domain based spam.
  • Configure blacklist & whitelist
  • Configure RBL
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
  #3 (permalink)  
Old 28th November 2009, 01:14 PM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 643
Thanks: 32
Thanked 45 Times in 40 Posts
Rep Power: 8
kumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of light
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default

can spam-assassin block out going mails?
can you proved any links to configure spam-assassin on sendmail..
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #4 (permalink)  
Old 30th November 2009, 05:35 PM
kumarat9pm's Avatar
Senior Member
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL(4/5),UBUNTU..
Scripting language: Bash,PHP,Perl(noob)
Posts: 643
Thanks: 32
Thanked 45 Times in 40 Posts
Rep Power: 8
kumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of lightkumarat9pm is a glorious beacon of light
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default any updates on this?

Any inputs are appreciated..
__________________
Thanks,
Surendra Kumar Anne
Linux: Fast, friendly, flexible and .... free!
Support Open source.
http://www.linuxnix.com
Reply With Quote
  #5 (permalink)  
Old 30th November 2009, 09:59 PM
nixcraft's Avatar
Never say die
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash, Perl, Python
Posts: 3,299
Thanks: 13
Thanked 413 Times in 306 Posts
Rep Power: 10
nixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond reputenixcraft has a reputation beyond repute
Default

Postfix blacklist or reject an email address
__________________
Vivek Gite
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Do you run a Linux? Let's face it, you need help!
Cricket & IPL News Blog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
sed blocking a pipe igorlord Shell scripting 4 9th August 2009 05:58 AM
ssh blocking knvpavan CentOS / RHEL / Fedora 2 21st February 2009 01:25 PM
Lighttpd URL Redirection domain.com/dir1/index.html to domain.com/dir1 mumuri Web servers 2 6th June 2008 12:53 PM
blocking streaming zafar466 CentOS / RHEL / Fedora 0 12th April 2008 03:37 AM
Blocking ports in linux raj Linux software 1 10th July 2006 07:31 PM


All times are GMT +5.5. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40