Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836785 - mail-filter/spamassassin cron - mail everyday
Summary: mail-filter/spamassassin cron - mail everyday
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Philippe Chaintreuil
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-05 01:15 UTC by Thomas Capricelli
Modified: 2022-04-06 21:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2022-04-05 01:15:48 UTC
spamassassin has been installed for years on those servers.
Since recently (last few weeks), i got an email every night with

error: unable to refresh mirrors file for channel updates.spamassassin.org, using old file

I'm not sure but I think the script was actually successful, just it outputs something that wasn't there before.
I can start the script by hand without any message or error:

verdi /etc # bash cron.daily/update-spamassassin-rules
verdi /etc # echo $?

Same for 'sa-update':
verdi /etc # echo $?
1

1 seems expected (according to the cron script)



Reproducible: Always
Comment 1 Philippe Chaintreuil 2022-04-06 20:28:31 UTC
https://lists.apache.org/thread/zz7ln94jhz6c6b31hxf0bfg9x1t2rh0r seems to indicate it's an issue with you being able to reach the rule server (or other infra).

If you can run "sa-update --refreshmirrors -vvvvv -D" and catch when it outputs an error, that may be helpful to figure out what's going on.  Also seeing what IP spamassassin.apache.org resolves to at that point may help.  (Eg, run "dig spamassassin.apache.org" a few times and see what IP's it outputs.)

That post also indicates that it may just be *one* of their servers that has the issue, which is why it's intermittent.
Comment 2 Thomas Capricelli 2022-04-06 21:05:56 UTC
My problem is 100% reproducible, not "intermittent".

Thanks a lot for the very valuable information. I didn't think it could be a 'local' problem.

I had checked "updates.spamassassin.org", but this is not actually a domain name, probably something internal to spamassassin.

Between the provided link, and the proper sa-update options to get more details about the problem, I think I can solve it by myself.

Sorry for the noise..