Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4 | Rev 67 | ||
|---|---|---|---|
| Line 145... | Line 145... | ||
| 145 | body modified by SA. This is not very trivial to fix, so if you archive |
145 | body modified by SA. This is not very trivial to fix, so if you archive |
| 146 | anything, you may not want to use SARewriteBody |
146 | anything, you may not want to use SARewriteBody |
| 147 | 147 | ||
| 148 | 148 | ||
| 149 | Important: |
149 | Important: |
| - | 150 | ||
| 150 | You want to run spamd as such: |
151 | You want to run spamd as such (you have to create the spamd user |
| - | 152 | yourself): |
|
| - | 153 | ||
| 151 | /usr/sbin/spamd -d -u nobody -H /var/spool/spamassassin/ |
154 | /usr/sbin/spamd -d -u spamd -H /var/spool/spamassassin/ |
| 152 | 155 | ||
| 153 | It may not work if you run spamd with -c (debian default), |
156 | It may not work if you run spamd with -c (debian default), |
| 154 | (you shouldn't run spamassassin as root for this purpose anyway (there |
157 | (you shouldn't run spamassassin as root for this purpose anyway (there |
| 155 | is no reason to, so why take the risk) |
158 | is no reason to, so why take the risk) |
| 156 | 159 | ||
| 157 | You can edit this in /etc/default/spamassassin (debian) and probably |
160 | You can edit this in /etc/default/spamassassin (debian) and probably |
| 158 | /etc/sysconfig/spamassassin (redhat) |
161 | /etc/sysconfig/spamassassin (redhat) |
| 159 | 162 | ||
| 160 | With SA 3.x is better, the updated syntax would look like this: |
163 | With SA 3.x is better, the updated syntax would look like this: |
| 161 | /usr/sbin/spamd --max-children 50 --daemonize --username=nobody --nouser-config --helper-home-dir=/var/spool/spamassassin/ |
164 | /usr/sbin/spamd --max-children 50 --daemonize --username=spamd --nouser-config --helper-home-dir=/var/spool/spamassassin/ |
| 162 | 165 | ||
| 163 | 166 | ||
| 164 | 167 | ||
| 165 | CONFIGURING EXIM4.CONF |
168 | CONFIGURING EXIM4.CONF |
| 166 | ---------------------- |
169 | ---------------------- |