This is a discussion on Spamassasin with relay Postfix within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi ! I use Postfix for relaying mail to another server. It is possible to use Spamassin the filter spam on ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi !
I use Postfix for relaying mail to another server. It is possible to use Spamassin the filter spam on a Postfix Relay ? IF yes, how ? thanks -- (O__ Michael Lessard | //\ Running Debian Sid | // ) Linux Kernel 2.4.21 | V__/_ http://www.cegonhatech.com | |
|
|||
|
Dnia Thu, 28 Aug 2003 07:32:05 -0400
Michael L <nospam@seebottomformail.com> Napisal: > I use Postfix for relaying mail to another server. It is possible to > use Spamassin the filter spam on a Postfix Relay ? IF yes, how ? via amavisd-new. It's simple but at quite high memory cost. pozdr. Janek -- Q:Czym się różni lew z wykształceniem matematycznym od zwykłego lwa? A:Lew z wykształceniem matematycznym ekstra poluje. |
|
|||
|
Hi!
Absolutely no problem. Just define mailbox_command = /usr/bin/procmail in your main.cf. After then just use that sample-.procmailrc-file, that is included in the spamassassin-package. It's gonna be something like that: # SpamAssassin sample procmailrc # $Id: procmailrc.example,v 1.3.2.4 2002/09/03 16:11:38 jmason Exp $ # # Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc' # if you use the spamc/spamd combination) # The condition line ensures that only messages smaller than 250 kB # (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam # isn't bigger than a few k and working with big messages can bring # SpamAssassin to its knees. :0fw * < 256000 | /usr/bin/spamassassin # Mails with a score of 15 or higher are almost certainly spam (with 0.05% # false positives according to rules/STATISTICS.txt). Let's put them in a # different mbox. (This one is optional.) :0: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* almost-certainly-spam # All mail tagged as spam (eg. with a score higher than the set threshold) # is moved to "probably-spam". :0: * ^X-Spam-Status: Yes probably-spam :0 That's all. "Michael L" <nospam@seebottomformail.com> schrieb im Newsbeitrag news:uKl3b.10$421.8826@weber.videotron.net... > Hi ! > > I use Postfix for relaying mail to another server. It is possible to > use Spamassin the filter spam on a Postfix Relay ? IF yes, how ? > > thanks > -- > > (O__ Michael Lessard | > //\ Running Debian Sid | > // ) Linux Kernel 2.4.21 | > V__/_ http://www.cegonhatech.com | > |
|
|||
|
Michael L <nospam@seebottomformail.com> wrote:
> Hi ! > > I have setup the .procmail file on home directory. Now when i receive > spam, spamassasin put im header of the spam email : > > X-New-Subject: [***SPAM***] [Fwd: [Fwd: [Fwd: SPAM KILLER PENIS > ENLARGEMENT]]] > X-Spam-Flag: YES > > But when i read this email, in the subject i don't see [***SPAM***]. > Are ther a special configuration for Postfix to make working the new > subject change by spamassasin? Perhaps in the file '/etc/mail/spamassassin/local.cf' (Gentoo-Linux). Also 'perldoc Mail::SpamAssassin::Conf' may help you. Frank |
|
|||
|
I have tried to use spamassasin on Postfix Relay ( i use transport map to relay incoming email to another server) without success. I haved tried to copy .procmailrc on /root/ but incoming email still only relaying witou process on spamassassin .. If someone have idea who to use spamassasin with relay, tell it to me how ! Thanks -- (O__ Michael Lessard | //\ Running Slackware 8.1 | // ) Linux Kernel 2.4.19 | V__/_ http://www.cegonhatech.com | |
|
|||
|
I have found how :
http://www.geocities.com/scottlhende...pamfilter.html It working perfectly ! -- (O__ Michael Lessard | //\ Running Slackware 8.1 | // ) Linux Kernel 2.4.19 | V__/_ http://www.cegonhatech.com | |
![]() |
| Thread Tools | |
| Display Modes | |
|
|