On 26 Nov 2018, at 9:17, @lbutlr wrote:

[...]
I have spamass-milter setup and running, and it is tagging mail, but I am seeing various readme and setup guides that set various things in rc.conf:spamass_milter_localflags. Trouble is, these settings seem to vary wildly.

Yes, local details of mail systems do in fact vary wildly. :)

A "setup guide" cannot tell you how you want to operate your system.

(From a list of local IPS in some examples to -u spamd in others, and many in between.)

Spamd does run as the spamd user, but despite the milter having no flags set currently and running as root, it is successfully tagging spam.

There is a spamass-milter man page that may help.

Unlike some other milters that use SA (e.g. MIMEDefang, Amavis) spamass-milter actually runs spamc and so it can use all of the features of spamc by simply putting the arguments you would otherwise give spamc in the spamass_milter_localflags after '--' and any spamass-milter args.

Oh, and I do get this when the miller starts:

spamass-milter[27557]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results

(I am not using sendmail, other than postfix’s sendmail replacement)

See the documentation of the milter_*_macros in 'man 5 postconf' and MILTER_README.


Reply via email to