Spamassasin with relay Postfix

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-28-2003
Michael L
 
Posts: n/a
Default Spamassasin with relay Postfix

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 |

Reply With Quote
  #2 (permalink)  
Old 08-28-2003
Jan Alboszta
 
Posts: n/a
Default Re: Spamassasin with relay Postfix

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.
Reply With Quote
  #3 (permalink)  
Old 08-28-2003
Torsten Stauder
 
Posts: n/a
Default Re: Spamassasin with relay Postfix

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 |
>



Reply With Quote
  #4 (permalink)  
Old 09-03-2003
Frank Seidel
 
Posts: n/a
Default Re: Spamassasin with relay Postfix

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
Reply With Quote
  #5 (permalink)  
Old 09-03-2003
Michael L
 
Posts: n/a
Default Re: Spamassasin with relay Postfix


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 |

Reply With Quote
  #6 (permalink)  
Old 09-05-2003
Michael L
 
Posts: n/a
Default Re: Spamassasin with relay Postfix

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 |

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0