Scoring questions

Matus UHLAR - fantomas uhlar at fantomas.sk
Sat Feb 3 10:50:26 CET 2018


On 01.02.18 14:19, Computer Bob wrote:
>Nothing installed non-ubuntu regarding mail or mail routines.
>All done via apt-get install.

well, you can su to amavis user to find out why running "spamassassin"
results in "Permission denied". 

>I did find:
>
>/etc/postfix/master.cf contains:
>
>spamassassin unix -     n       n       -       -       pipe
>        user=spamd argv=/usr/bin/spamc -f -e
>        /usr/sbin/sendmail -oi -f ${sender} ${recipient}
>
>amavis     unix  -       -       y       -       2       smtp
>    -o smtp_data_done_timeout=1200
>    -o smtp_send_xforward_command=yes
>127.0.0.1:10025 inet n   -       y       -       -       smtpd
>    -o content_filter=
>    -o local_recipient_maps=
>    -o relay_recipient_maps=
>    -o smtpd_restriction_classes=
>    -o smtpd_client_restrictions=
>    -o smtpd_helo_restrictions=
>    -o smtpd_sender_restrictions=
>    -o smtpd_recipient_restrictions=permit_mynetworks,reject
>    -o mynetworks=127.0.0.0/8
>    -o strict_rfc821_envelopes=yes
>    -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>
>/etc/postfix/main.cf contains:
>
>postscreen_dnsbl_threshold = 2
>postscreen_dnsbl_sites = zen.spamhaus.org*2 bl.spamcop.net*1 
>b.barracudacentral.org*1

>Why am I not suprised ?

I am not noe either.

>Your thoughts on all these ?

Now I can guess that you call spamassassin two times. Once from postfix as a
spamassassin filter, which calls spamc under "spamd" user.  That talks to
running spamd daemon, which uses "spamd" users' settings (and bayes
database).

Second time you use amavis, that uses spamassassin routines under "amavis"
user (and database).

neither of those has to be true. It's important to know whether you call
either "spamassassin" or "amavis" from main.cf or master.cf using
"content_filter" or "smtpd_proxy_filter".

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler


More information about the amavis-users mailing list