LinuxQuestions.org
Visit Jeremy's Blog.
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 11-07-2005, 02:30 PM   #1
RonMan
LQ Newbie
 
Registered: Nov 2005
Distribution: Gentoo, Red Hat, Slackware
Posts: 2

Rep: Reputation: 0
POSTFIX Gurus... Help!


I've set up a SPAM/Virus filter gateway INTO my network. The SPAM/Virus filtering works great.

The only issue I'm having is with Postfix.

Ok, here is what I want this mail gateway to do:

* Take mail sent from ANYWHERE in the world (regardless of domain), filter it and then RELAY it INTO my network ONLY.

* Reject Relay for domains that are NOT in my transport_map

I have 1500 domains, so this is not a single domain gateway, is not relaying to a single server, the accounts I'm relaying to are VIRTUAL, and there are NO local mail accounts - just pure Filter & Relay. Thats it.

The only way I've been able to make this work is by putting 0.0.0.0/0 in $mynetworks - essencially making it an open relay... to EVERYWHERE, not just my network.

I have $relay_domains set to $transport_map, but I still see in my log files people ?successfully? relaying to other domains. I have only one domain in my transport_map for testing purposes.

I've done a few open relay tests and they said that the machine ISN'T an open relay - but I see my spam filters catching those tests - and actual spammers.

Let me give you a layout of what I'm trying to do (The customer's MX records point to this gateway):

* Anonymous Internet Client sends an E-mail to my customers
* The gateway accepts the mail for Relay (if in $transport_map), and REJECTS RELAY if not
* The gateway keeps the accepted mail in queue while it is being Virus/SPAM filtered
* Once the message passes the tests, it is relayed to my mail servers

It's just a ONE-WAY (IN) Filter box.

If I remove 0.0.0.0/0 from $mynetworks, every external client is rejected. Period.

This machine is meant to be a SPAM/Virus filter for Incoming E-mail to those 1500 domains, and thus rejecting anonymous mail addressed to those domains instead of relaying it inside is unacceptable.

I'm not trying to make an open relay - just an anonymous filtering gateway into my network ONLY. But as I said above, making it an open relay has been the only way it's worked.

Thanks in advance,
RonMan
 
Old 11-08-2005, 03:03 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
i don't use it but as you posted twice you may want to check out
http://www.freesoftwaremagazine.com/..._spam_postfix/
and
http://www.postfix.org/
 
  


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 send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
POSTFIX Gurus... Help! RonMan Linux - Software 0 11-06-2005 03:59 PM
any k3b gurus?? wrat Linux - Newbie 3 06-18-2005 04:14 PM
Gurus, about that kernel... NonSumPisces Linux - General 9 06-18-2004 12:35 PM
Need gurus' help... fxlee Linux - Networking 1 01-28-2002 09:47 AM

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

All times are GMT -5. The time now is 08:53 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
Open Source Consulting | Domain Registration