[PLUG] Postfix SPAM filtering?

Rob Hudson rob at euglug.net
Thu May 16 23:51:04 UTC 2002


To reply to my own problem, I figured out that the spamassassin binary
was trying to create a directory "/.spamassassin".  Maybe this
happened b/c I added the user with no home directory.

I found the above out by su-ing to the user, and executing the shell
script.  I ended changing line 151 of spamassassin (v 2.20) and adding
the line (configuration option):     
  'dont_copy_prefs' => 1,

Now things are looking good.

-Rob

> On 20020516.1531, Rob Hudson said ...
>
> I resolved one problem -- the transport unavailable problem... typo in
> my master.cf file.
> 
> Now, when a mail comes in, it relays to the filter like it should.
> I've got the filter directory like the webpage mentions.  I
> temporarily commented out the deletion of the in and out files for
> testing.
> 
> When I run the shell script from the command line, it works good.
> However, when I turn on the filtering in postfix and send a test
> message, the message shows up as being from "Postfix Filter" (the
> user) and has an empty body and empty subject.
> 
> When I look at the /var/spool/filter directory, the in.xxx file is
> fine, but the matching out.xxx file is empty.  But my tests from the
> command line are OK.
> 
> -Rob
> 
> > On 20020516.1502, Russ Johnson said ...
> >
> > Did you start the spamassassin daemon? (spamd)
> > 
> > At 02:32 PM 5/16/2002 -0700, you wrote:
> > >I found that and just tried the rest of what I hadn't done already.
> > >Note that I'm not doing the Anomy Sanitizer, and found another
> > >filter.sh script with spamassassin only.
> > >
> > >When I ran postfix reload and send myself an email, I get this in my
> > >logs:
> > >
> > >May 16 14:29:26 saaz postfix/qmgr[21506]: 7B0E51A1DF: 
> > >from=<rhudson at NoOrScPaAsMinc.com>, size=806, nrcpt=1 (queue active)
> > >May 16 14:29:26 saaz postfix/qmgr[21506]: 7B0E51A1DF: 
> > >to=<rob at NeOuSgPlAuMg.net>, relay=none, delay=1834, status=deferred 
> > >(transport is unavailable)
> > >
> > >Any ideas?
> > >
> > >Thanks,
> > >Rob
> > >
> > > > On 20020516.1422, Chuck Mize said ...
> > > >
> > > > ----- Original Message -----
> > > > From: "Rob Hudson" <rob at euglug.net>
> > > > To: <plug at lists.pdxlinux.org>
> > > > Sent: Thursday, May 16, 2002 2:19 PM
> > > > Subject: Re: [PLUG] Postfix SPAM filtering?
> > > >
> > > >
> > > > > Has anyone tried postfix + spamassassin?  I've got spamassassin
> > > > > installed, but haven't yet tackled editing the master.cf file to tell
> > > > > Postfix about it.
> > > >
> > > > I used the instructions at http://advosys.ca/papers/postfix-filtering.html
> > > > and it was a piece of cake.
> > > >
> > > >
> > > > _______________________________________________
> > > > PLUG mailing list
> > > > PLUG at lists.pdxlinux.org
> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
> > >
> > >_______________________________________________
> > >PLUG mailing list
> > >PLUG at lists.pdxlinux.org
> > >http://lists.pdxlinux.org/mailman/listinfo/plug
> > 
> > Russ Johnson
> > http://www.dimstar.net
> > 
> > 
> > Any sufficiently advanced technology is indistinguishable from magic.
> > Arthur C. Clarke
> > 
> > 
> > 
> > _______________________________________________
> > PLUG mailing list
> > PLUG at lists.pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug




More information about the PLUG mailing list