Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.