LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-11-2006, 01:52 AM   #1
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 64

Rep: Reputation: 15
Postfix Email Address Filtering...


Hello,

I am currently running Postfix v2.1.1 on Suse Enterprise 9.0. I have looked over the highly complicated Postfix.org site and there are so many solutions. Is there not an easy email filtering system I can implement to either filter or reject email from domains I choose? Atleast steer me into the right direction.

Thanks
 
Old 04-11-2006, 04:25 AM   #2
saini_mw
Member
 
Registered: Jun 2005
Location: On the top of the World
Posts: 114

Rep: Reputation: 15
Did you tried spamassassin yet,if not then try it...

http://spamassassin.apache.org/


Harinder Singh.
 
Old 04-11-2006, 11:58 AM   #3
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks saini... I suppose Postfix is for sending mail so probably does not have much to do with mail filters such as Spamassassin? How do I know what is being used to receive mail? Is it Procmail?
 
Old 04-12-2006, 04:47 PM   #4
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 64

Original Poster
Rep: Reputation: 15
Ok, no replies... Can anybody steer me in the right direction to better understand my mail system? Postfix is used for sending mail, but what is used for receiving mail? I'm a fast learner, just need a jump start.

Help me please! heh
 
Old 04-13-2006, 04:45 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
If you want the opportunity to reject mail, then you need an MTA, such
as postfix or sendmail. If your ISP accepts mail for you and offers it
to you by IMAP or POP3, then it is too late for you to reject anything
(since the mail has already been accepted). The most you can do is
bounce what you don't like, but that is highly undesirable due to the
backscatter is causes; hence the need to run your own MTA. When you run
your own MTA, mail is delivered directly to a machine under your control.

Configuring an MTA requires some reading and understanding, especially if
you want to filter your mail. Between postfix and sendmail, postfix is the
simpler to configure and maintain. Disallowing mail based on envelope
headers (MAIL TO: and MAIL FROM: ) as well as the IP address of the
connecting client is best done at the MTA level, so that content-filters
such as SpamAssassin aren't necessary. SpamAssassin is useful for a deep
analysis of mail content (spam or links pointing to spammers' sites)
and routing history -- but this is best done after mail has been accepted.
 
Old 04-13-2006, 05:19 PM   #6
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks Berhanie... What's MTA stand for? We host our mail server, not our ISP. We have a T1 coming in and we do everything.

Postfix is used to send mail (our mail). What is used to receive it? Would it also be Postfix?
 
Old 04-13-2006, 05:28 PM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
What's MTA stand for?
Mail Transfer Agent.

Quote:
Postfix is used to send mail (our mail). What is used to receive it? Would it also be Postfix?
Yes, postfix is also used to receive it.
 
Old 04-14-2006, 01:40 AM   #8
CRCool75
Member
 
Registered: Jul 2004
Location: Alabama, USA
Distribution: OpenSuse 12.1
Posts: 64

Original Poster
Rep: Reputation: 15
Ok, thanks Berhanie. I believe Spamassassin is working. After doing some reading there was a line I needed to add to main.cf for Postfix to use Spamassassin.

The reason I wanted Spamassassin was due to the ability of blocking domains & email addresses. I know how to configure Postfix to do body checks and header checks, but couldn't figure out email address blocks.

Thanks for all your help.
 
Old 04-14-2006, 09:08 AM   #9
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
I know how to configure Postfix to do body checks and header checks, but couldn't figure out email address blocks.
You might want to take a look at smtpd_sender_restrictions to see if that's what you want:
Code:
man 5 postconf
 
  


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
external filtering function in postfix simon_qwl Linux - Software 0 10-11-2005 08:04 AM
How to Stop AOL From Filtering my eMail? / eMail Relays Available? VorlonInfoTech Linux - Networking 1 09-29-2004 06:40 PM
Postfix mail filtering pembo13 Linux - Networking 0 09-02-2004 12:11 PM
Mail filtering with Postfix bentman78 Linux - Software 1 07-19-2004 08:12 PM
Postfix : update email address with ISP VincentB Linux - General 0 03-18-2004 12:04 PM


All times are GMT -5. The time now is 11:18 PM.

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