Re: spamassassin user_prefs getting ignore

2021-03-23 Thread Matus UHLAR - fantomas
On 21 Mar 2021, at 11:51, Steve Dondley wrote: user=debian-spamd argv=/usr/bin/spamc -u ${user} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} On 23.03.21 05:31, @lbutlr wrote: As Bill Cole said, the -f is obsolete, is not needed, and does literally nothing. If you check the man p

Re: spamassassin user_prefs getting ignore

2021-03-23 Thread @lbutlr
On 21 Mar 2021, at 11:51, Steve Dondley wrote: > user=debian-spamd argv=/usr/bin/spamc -u ${user} -f -e /usr/sbin/sendmail > -oi -f ${sender} ${recipient} As Bill Cole said, the -f is obsolete, is not needed, and does literally nothing. If you check the man page for spamc, you will see that t

Re: spamassassin user_prefs getting ignore

2021-03-21 Thread Steve Dondley
OK, I found the solution. So the command needed for me was: user=debian-spamd argv=/usr/bin/spamc -u ${user} -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} ${recipient} returns the full email address whereas I just wanted the bit before the @ sign (the user name). user=d

Re: spamassassin user_prefs getting ignore

2021-03-21 Thread Bill Cole
On 21 Mar 2021, at 12:54, Steve Dondley wrote: I'd like to configure postfix so the configuration settings in the per-user configuration file at ~/.spamassassin/user_prefs get applied. This user_prefs config file is used with the spamassassin command as evidenced with spamassassin -D < spam.t

Re: spamassassin user_prefs getting ignore

2021-03-21 Thread Steve Dondley
spamassassin unix - n n - - pipe user=debian-spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} I modified the above to: user=debian-spamd argv=/usr/bin/spamc -u ${recipient} -f -e /usr/sbin/sendmail -oi -f ${sender} ${rec

spamassassin user_prefs getting ignore

2021-03-21 Thread Steve Dondley
I'd like to configure postfix so the configuration settings in the per-user configuration file at ~/.spamassassin/user_prefs get applied. This user_prefs config file is used with the spamassassin command as evidenced with spamassassin -D < spam.txt. But as far as I can tell, the user_prefs fil