missing something in new SA config
Migrating a mailserver with SA and I see this in my log when testing: spamd[30912]: razor2: razor2 check failed: No such file or directory razor2: Can't read: /var/lib/razor/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331. My local.cf has the following: use_razor2 1 razor_config /etc/mail/spamassassin/.razor/razor-agent.conf In the config: razorhome = /etc/mail/spamassassin/.razor So I can't for the life of me understand what is looking in /var/lib/razor and for what? Must be something stupid I missed? Thanks for any pointers. -AJ
Re: missing something in new SA config
AJ Weber skrev den 2023-12-27 16:30: Migrating a mailserver with SA and I see this in my log when testing: spamd[30912]: razor2: razor2 check failed: No such file or directory razor2: Can't read: /var/lib/razor/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331. My local.cf has the following: use_razor2 1 razor_config /etc/mail/spamassassin/.razor/razor-agent.conf In the config: razorhome = /etc/mail/spamassassin/.razor So I can't for the life of me understand what is looking in /var/lib/razor and for what? Must be something stupid I missed? Thanks for any pointers. is razor installed ? is razor plugin enabled without razor plugin enabled in pre files ? razor_config is incorrect btw to help me and you :) spamassassin -D --lint 2>&1 | less what is the logs there ?
Re: missing something in new SA config
Thanks for the reply. SA v3.4.6 razor is installed: optional module installed: Razor2::Client::Agent, version 2.84 razor plugin is enabled in v310.pre: loadplugin Mail::SpamAssassin::Plugin::Razor2 I don't see any "logs" in the first page of the lint output. Would you be so kind as to describe how my "razor_config" is incorrect? That might be helpful. Thanks again.
Beginner Setting up Spam Assassin
Hi, I want to setup Spam Assassin so that any email that Spam Assassin flags as spam gets placed into a folder for a specific SMTP or IMAP email account. Then if Spam Assassin flags emails that are not spam I can tell it which of those emails to not place into the spam folder for the specific email client. Until it gradually learns which emails are spam and which are not. I've done a little research and I have access with my distribution to a mail directory as well as the local.cf file for which configurations are for Spam Assassin but I don't know how to setup what I mentioned above ? Thank You Christopher
Re: missing something in new SA config
On 27.12.23 10:30, AJ Weber wrote: Migrating a mailserver with SA and I see this in my log when testing: spamd[30912]: razor2: razor2 check failed: No such file or directory razor2: Can't read: /var/lib/razor/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331. My local.cf has the following: use_razor2 1 razor_config /etc/mail/spamassassin/.razor/razor-agent.conf In the config: razorhome = /etc/mail/spamassassin/.razor So I can't for the life of me understand what is looking in /var/lib/razor and for what? On 27.12.23 11:10, AJ Weber wrote: razor is installed: optional module installed: Razor2::Client::Agent, version 2.84 razor plugin is enabled in v310.pre: loadplugin Mail::SpamAssassin::Plugin::Razor2 I don't see any "logs" in the first page of the lint output. Would you be so kind as to describe how my "razor_config" is incorrect? That might be helpful. what is in the /etc/mail/spamassassin/.razor/razor-agent.conf ? -- Matus UHLAR - fantomas, uh...@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. You have the right to remain silent. Anything you say will be misquoted, then used against you.
Re: Beginner Setting up Spam Assassin
On 27.12.23 16:53, FalconChristopher wrote: Hi, I want to setup Spam Assassin so that any email that Spam Assassin flags as spam this is spamassassin's job gets placed into a folder for a specific SMTP or IMAP email account. this is not spamassassin's job. It's job of mail delivery agent - procmail, maildrop, sieve Then if Spam Assassin flags emails that are not spam I can tell it which of those emails to not place into the spam folder for the specific email client. Until it gradually learns which emails are spam and which are not. dovecot (imap/pop3 server) has plugins that support training of spam/ham, if you move the mail from/to spam folder. https://doc.dovecot.org/configuration_manual/spam_reporting/ I've done a little research and I have access with my distribution to a mail directory as well as the local.cf file for which configurations are for Spam Assassin but I don't know how to setup what I mentioned above ? -- Matus UHLAR - fantomas, uh...@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. I don't have lysdexia. The Dog wouldn't allow that.