Matus UHLAR - fantomas <uh...@fantomas.sk> writes:

> On 17.10.15 15:22, Eric Abrahamsen wrote:
>>OPTIONS="-u spamass-milter -i 127.0.0.1 -m -I --
>>--socket /var/spool/postfix/spamassassin/spamd.sock"
>
>>I don't know how to do that, though! It seems like milter macros should
>>be involved. In /etc/postfix/main.cf I've got:
>>
>>milter_connect_macros = j {daemon_name} v {if_name} {mail_addr} _
>>
>>I would think that {mail_addr} is probably the right value to be using
>>with "-u". But no matter how I edit the OPTIONS line in
>>/etc/default/spamass-milter, no matter what I put in there, I just get
>>the error about using an unrecognized sendmail macro "{i}".
>
> sendmail macrop $i means the queue id. But how does the message look like?

Google indicates that that error is what you get as a sort of catchall
"something went wrong" error message, so I don't think that was the real
source of the problem.

Actually, just this afternoon I think I figured out that passing the
"-e" option in the spamass-milter OPTIONS line does what I want (getting
spamc to send the recipient to spamd). Unfortunately by then I'd somehow
screwed up the milter in other mysterious and apparently unfixable ways,
and finally dropped it altogether in favor of putting spamc in the
postfix's dovecot service line. That seems to be what most other people
do, and it's working fine for me.

Thanks,
Eric

Reply via email to