Gentoo Archives: gentoo-user

From: Jason Carson <jason@×××××××××××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trying to get Spamassassin Working
Date: Sat, 24 Jan 2009 22:03:18
Message-Id: 08d1551e022e21994704dc025784fe5f.squirrel@jasoncarson.ca
In Reply to: [gentoo-user] Trying to get Spamassassin Working by Jason Carson
1 > Greetings,
2 >
3 > I am trying to get Spamassassin working. I am following this guide...
4 > http://www.hurring.com/scott/howto/postfix_spamd/
5 >
6 > The configuration on that page is very minimalist and that's how I want to
7 > start off. I can get progressively more complex as I learn more but I want
8 > to keep it as simple as possible for now.
9 >
10 > According to that guide I only need to add 5 lines to my
11 > /etc/postfix/master.cf file
12
13 ok, got it working, these two lines below need to be all one line...
14
15 > smtp inet n - - - - smtpd
16 > -o content_filter=spamassassin
17
18 These 3 lines below need to be all one line.
19
20 > spamassassin unix - n n - - pipe
21 > user=nobody argv=/usr/bin/spamc -f -e
22 > /usr/sbin/sendmail -oi -f ${sender} ${recipient}
23
24 > okay, I will break it down one line at a time and state the problem with
25 > that line.
26 > ---------------------------------------
27 > 1)This doesn't work...
28 > smtp inet n - - - - smtpd
29 >
30 > I need to use the default setting in the file...
31 > smtp inet n - n - - smtpd
32 > ---------------------------------------
33 > 2)This doesn't work...
34 > -o content_filter=spamassassin
35 >
36 > My log says...
37 > Jan 24 12:18:09 penguin postfix/master[11431]: fatal:
38 > /etc/postfix/master.cf: line 24: bad transport type:
39 > content_filter=spamassassin
40 > ---------------------------------------
41 > 3)I see no problems with this line...
42 > spamassassin unix - n n - - pipe
43 > ---------------------------------------
44 > 4)This doesn't work...
45 > user=nobody argv=/usr/bin/spamc -f -e
46 >
47 > My log says...
48 > Jan 24 12:21:41 penguin postfix/master[11770]: fatal:
49 > /etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc
50 > ---------------------------------------
51 > 5)This doesn't work...
52 > /usr/sbin/sendmail -oi -f ${sender} ${recipient}
53 >
54 > My log says....
55 > Jan 24 12:23:31 penguin postfix/master[11919]: fatal:
56 > /etc/postfix/master.cf: line 108: bad transport type: -oi
57 > ---------------------------------------
58 >
59 > Anyone know what to do?
60 >
61 >
62 >
63 >