LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2006, 07:54 PM   #1
kidders
LQ Newbie
 
Registered: Jun 2005
Location: Dublin IE
Distribution: Gentoo
Posts: 4

Rep: Reputation: 0
Postfix: Host-specific header_checks


I'm having a little trouble getting to grips with how Postfix's various filters + checks interact with eachother and, unfortunately, I haven't been able to dig up much to help me with my latest experiment ...

I'm trying to cut down on spam by filtering out messages from, say, sender@yahoo.co.uk that haven't passed through a yahoo mail server.

I realise that such a technique might foul up from time to time but, for the short term at least, it would make a big difference to me. For the moment, I'm anxious to avoid going at the problem from the other end, with long blacklists, sender address verification, etc, etc.

Anyhow, I've been playing around with various possibilities, but I'm starting to get the distinct impression that Postfix has been designed to prevent people doing silly things like this.

My question, I suppose, is whether anyone has set up their Postfix to do anything like this, or whether I'd be better trying to persuade Spamassassin to do it, maybe. I'd appreciate any pointers ... hopefully I'm not overlooking something simple.
 
Old 06-22-2006, 06:21 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
On the surface, it seems you have two options: install and configure SpamAssassin and suffer with long blacklists, or configure postfix header_checks and suffer long lists of regular expressions to filter out (see man header_checks and the comments in /etc/postfix/main.cf for more information).
 
  


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
[postfix] header_checks filter problem pixel101 Linux - Software 1 05-24-2005 02:45 PM
mysql drop revoke user from specific host ? RedHat123 Programming 0 04-21-2005 02:54 PM
Specific destination mail host in EXIM merana Linux - Software 0 02-19-2004 10:38 AM
Can't find Postfix documentation for a specific configuration. DesertWolf0132 Linux - Software 0 11-04-2003 12:56 PM
Allowing a specific host to connect using ipchains Gameon Linux - Security 7 01-17-2002 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:07 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