From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G3e00-0002T6-T3 for garchives@archives.gentoo.org; Thu, 20 Jul 2006 19:15:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6KJEZqT022859; Thu, 20 Jul 2006 19:14:35 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6KJ88Yk025133 for ; Thu, 20 Jul 2006 19:08:09 GMT Received: by py-out-1112.google.com with SMTP id m51so918557pye for ; Thu, 20 Jul 2006 12:08:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=poH3tClL/vt4OmMsGSQmUnT2/pPcQISqCY6DqOAnLotZzbn9B+avmpkzG3FJFuPQX1ONzBSxOGrzS/yX84Mj1KBAWOYYJhvcljjyLuTNjHybgD72JuwWkLx/nt/l96uBbuCa5PRGKH+bAiGTS/DAWON/nUqKQC9JEXXel48935M= Received: by 10.35.19.6 with SMTP id w6mr1570551pyi; Thu, 20 Jul 2006 12:08:08 -0700 (PDT) Received: by 10.35.65.3 with HTTP; Thu, 20 Jul 2006 12:08:08 -0700 (PDT) Message-ID: <8f5897560607201208t54e63592mb776a8a3082e028a@mail.gmail.com> Date: Thu, 20 Jul 2006 14:08:08 -0500 From: "Preston Hagar" To: gentoo-user@lists.gentoo.org, emailgrant@gmail.com Subject: Re: [gentoo-user] Filtering spam for a business address In-Reply-To: <49bf44f10607181704kb335c6bu41dfd3d604d58c7c@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10084_25972543.1153422488311" References: <49bf44f10607180910ya318a57jd6bc144fbddbaaa3@mail.gmail.com> <44BD1CFF.2070306@badapple.net> <44BD3CC2.2000501@mid.email-server.info> <8f5897560607181442g1e586618tdaf507e25ed5f58d@mail.gmail.com> <49bf44f10607181704kb335c6bu41dfd3d604d58c7c@mail.gmail.com> X-Archives-Salt: cf3e418b-9f48-46f3-a6a1-28cb29cb124a X-Archives-Hash: 9b3621d0c99904750cd890371bd06936 ------=_Part_10084_25972543.1153422488311 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline > > > http://www.freesoftwaremagazine.com/articles/focus_spam_postfix/ > > > > That's a great article. Where do you implement the changes he > suggests on the first page? I searched /etc/postfix/main.cf for the > configuration options but they aren't there. > > - Grant > - Just add them to main.cf and do a /etc/init.d/postfix reload (make sure not to include the line numbers in his examples) For the lines that reference external files, you will have to create the files and the content and the issue the command: postmap The guide puts all of the files in /usr/local/etc/postifx, but I just put the files in /etc/postfix (If you put the files in /etc/postfix instead of /usr/local/etc/postfix, make sure to change the path main.cf). I left off the spf filter since it seems that many people still have not adopted spf. Postgrey is great and I use it on my person email server, but I left that off of the business system I manage. I work for a real estate company and postgrey can delay email by 4 hours or more depending on the sending server configuration. Although no one should depend on email for speedy delivery, it is my experience that most users expect it. All of the other options have really helped a lot and cut down on spam. A couple of things to remember, each time you change main.cf or any other postfix configuration file, you need to issue the command: /etc/init.d/postfix reload to get postfix to take the new configuration changes. Also, if you change any of the external files that main.cf refrences, you need to do a : postmap and then /etc/init.d/postfix reload It is probably a good idea to tail your mail logs for a while after you make the changes just to make sure you are not blocking anything you didn't intend to. tail -f /var/log/mail/current or tail -f /var/log/mail.info depending on your logger. Also, I would recommend sending email to an account on your new system from any and all external email accounts you may have such as yahoo or gmail just for extra testing. Good Luck, Preston ------=_Part_10084_25972543.1153422488311 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

>
> http://www.freesoftwaremagazine.com/articles/focus_spam_postfix/
>

That's a great article.  Where do you implement the changes he
suggests on the first page?  I searched /etc/postfix/main.cf for the
configuration options but they aren't there.

- Grant
-

Just add them to main.cf and do a /etc/init.d/postfix reload  (make sure not to include the line numbers in his examples)

For the lines that reference external files, you will have to create the files and the content and the issue the command:

postmap <filename>

The guide puts all of the files in /usr/local/etc/postifx, but I just put the files in /etc/postfix  (If you put the files in /etc/postfix instead of /usr/local/etc/postfix, make sure to change the path main.cf).  I left off the spf filter since it seems that many people still have not adopted spf.  Postgrey is great and I use it on my person email server, but I left that off of the business system I manage.  I work for a real estate company and postgrey can delay email by 4 hours or more depending on the sending server configuration.  Although no one should depend on email for speedy delivery, it is my experience that most users expect it.  All of the other options have really helped a lot and cut down on spam.

A couple of things to remember, each time you change main.cf or any other postfix configuration file, you need to issue the command:

/etc/init.d/postfix reload

to get postfix to take the new configuration changes.

Also, if you change any of the external files that main.cf refrences, you need to  do a :

postmap <filename>

and then
/etc/init.d/postfix reload

It is probably a good idea to tail your mail logs for a while after you make the changes just to make sure you are not blocking anything you didn't intend
to. 

tail -f /var/log/mail/current

or

tail -f /var/log/mail.info

depending on your logger.
Also, I would recommend sending email to an account on your new system from any and all external email accounts you may have such as yahoo or gmail just for extra testing.

Good Luck,

Preston
------=_Part_10084_25972543.1153422488311-- -- gentoo-user@gentoo.org mailing list