public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Trying to get Spamassassin Working
@ 2009-01-24 21:05 Jason Carson
  2009-01-24 22:02 ` Jason Carson
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Carson @ 2009-01-24 21:05 UTC (permalink / raw
  To: gentoo-user

Greetings,

I am trying to get Spamassassin working. I am following this guide...
http://www.hurring.com/scott/howto/postfix_spamd/

The configuration on that page is very minimalist and that's how I want to
start off. I can get progressively more complex as I learn more but I want
to keep it as simple as possible for now.

According to that guide I only need to add 5 lines to my
/etc/postfix/master.cf file

smtp inet n - - - - smtpd
-o content_filter=spamassassin

spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

okay, I will break it down one line at a time and state the problem with
that line.
---------------------------------------
1)This doesn't work...
smtp inet n - - - - smtpd

I need to use the default setting in the file...
smtp inet n - n - - smtpd
---------------------------------------
2)This doesn't work...
-o content_filter=spamassassin

My log says...
Jan 24 12:18:09 penguin postfix/master[11431]: fatal:
/etc/postfix/master.cf: line 24: bad transport type:
content_filter=spamassassin
---------------------------------------
3)I see no problems with this line...
spamassassin unix -     n       n       -       -       pipe
---------------------------------------
4)This doesn't work...
user=nobody argv=/usr/bin/spamc -f -e

My log says...
Jan 24 12:21:41 penguin postfix/master[11770]: fatal:
/etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc
---------------------------------------
5)This doesn't work...
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

My log says....
Jan 24 12:23:31 penguin postfix/master[11919]: fatal:
/etc/postfix/master.cf: line 108: bad transport type: -oi
---------------------------------------

Anyone know what to do?





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Trying to get Spamassassin Working
  2009-01-24 21:05 [gentoo-user] Trying to get Spamassassin Working Jason Carson
@ 2009-01-24 22:02 ` Jason Carson
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Carson @ 2009-01-24 22:02 UTC (permalink / raw
  To: gentoo-user

> Greetings,
>
> I am trying to get Spamassassin working. I am following this guide...
> http://www.hurring.com/scott/howto/postfix_spamd/
>
> The configuration on that page is very minimalist and that's how I want to
> start off. I can get progressively more complex as I learn more but I want
> to keep it as simple as possible for now.
>
> According to that guide I only need to add 5 lines to my
> /etc/postfix/master.cf file

ok, got it working, these two lines below need to be all one line...

> smtp inet n - - - - smtpd
> -o content_filter=spamassassin

These 3 lines below need to be all one line.

> spamassassin unix - n n - - pipe
> user=nobody argv=/usr/bin/spamc -f -e
> /usr/sbin/sendmail -oi -f ${sender} ${recipient}

> okay, I will break it down one line at a time and state the problem with
> that line.
> ---------------------------------------
> 1)This doesn't work...
> smtp inet n - - - - smtpd
>
> I need to use the default setting in the file...
> smtp inet n - n - - smtpd
> ---------------------------------------
> 2)This doesn't work...
> -o content_filter=spamassassin
>
> My log says...
> Jan 24 12:18:09 penguin postfix/master[11431]: fatal:
> /etc/postfix/master.cf: line 24: bad transport type:
> content_filter=spamassassin
> ---------------------------------------
> 3)I see no problems with this line...
> spamassassin unix -     n       n       -       -       pipe
> ---------------------------------------
> 4)This doesn't work...
> user=nobody argv=/usr/bin/spamc -f -e
>
> My log says...
> Jan 24 12:21:41 penguin postfix/master[11770]: fatal:
> /etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc
> ---------------------------------------
> 5)This doesn't work...
> /usr/sbin/sendmail -oi -f ${sender} ${recipient}
>
> My log says....
> Jan 24 12:23:31 penguin postfix/master[11919]: fatal:
> /etc/postfix/master.cf: line 108: bad transport type: -oi
> ---------------------------------------
>
> Anyone know what to do?
>
>
>
>





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-24 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24 21:05 [gentoo-user] Trying to get Spamassassin Working Jason Carson
2009-01-24 22:02 ` Jason Carson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox