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 |
smtp inet n - - - - smtpd |
14 |
-o content_filter=spamassassin |
15 |
|
16 |
spamassassin unix - n n - - pipe |
17 |
user=nobody argv=/usr/bin/spamc -f -e |
18 |
/usr/sbin/sendmail -oi -f ${sender} ${recipient} |
19 |
|
20 |
okay, I will break it down one line at a time and state the problem with |
21 |
that line. |
22 |
--------------------------------------- |
23 |
1)This doesn't work... |
24 |
smtp inet n - - - - smtpd |
25 |
|
26 |
I need to use the default setting in the file... |
27 |
smtp inet n - n - - smtpd |
28 |
--------------------------------------- |
29 |
2)This doesn't work... |
30 |
-o content_filter=spamassassin |
31 |
|
32 |
My log says... |
33 |
Jan 24 12:18:09 penguin postfix/master[11431]: fatal: |
34 |
/etc/postfix/master.cf: line 24: bad transport type: |
35 |
content_filter=spamassassin |
36 |
--------------------------------------- |
37 |
3)I see no problems with this line... |
38 |
spamassassin unix - n n - - pipe |
39 |
--------------------------------------- |
40 |
4)This doesn't work... |
41 |
user=nobody argv=/usr/bin/spamc -f -e |
42 |
|
43 |
My log says... |
44 |
Jan 24 12:21:41 penguin postfix/master[11770]: fatal: |
45 |
/etc/postfix/master.cf: line 107: bad transport type: argv=/usr/bin/spamc |
46 |
--------------------------------------- |
47 |
5)This doesn't work... |
48 |
/usr/sbin/sendmail -oi -f ${sender} ${recipient} |
49 |
|
50 |
My log says.... |
51 |
Jan 24 12:23:31 penguin postfix/master[11919]: fatal: |
52 |
/etc/postfix/master.cf: line 108: bad transport type: -oi |
53 |
--------------------------------------- |
54 |
|
55 |
Anyone know what to do? |