THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Fixing Errors
See also FrequentlyAskedQuestions.
- Compiling & installing:
- How can I tell what SpamAssassin is doing; or whether a SpamAssassin feature is enabled: TestingInstallation
- 'spamassassin' works, but mails through my MTA filter don't scan correctly: AskingAboutIntegrations
- On Red Hat 8/9/Fedora Core 1, I get '
Makefile: 54: *** missing separator. Stop.
': MakeMissingSeparator
On Red Hat 8/9/Fedora Core 1, I get- ; or '
could not locate your pod2man program
': Pod2ManRedHat - Razor gives me errors about '
razor2 check skipped: Bad file descriptor Insecure dependency
': RazorInsecureDependency - How can I make SpamAssassin 2.63 on Windows with ActivePerl 5.8.1 or 5.8.2: Sa263MakeWithPerl582
- When trying to build spamc with SSL, I get openssl-related errors concerning krb5.h missing, etc.: OpensslKrb
- Installation fails in "
t/spamd_hup.t
": TspamdHuptCompileError - Upgrading to v3.0.0 and running the tests on Solaris renames my host to "
--fqdn
": FqdnError
- It doesn't run:
- I get coredumps from 'spamd': SpamdCoredumps
- After running sa-compile, I get warnings like '
symbol Mail_SpamAssassin_CompiledRegexps_body_0_scan17: referenced symbol not found
': SaCompileRefSymbolError - I get warnings about "tainting" when I run spamassassin from
/etc/procmailrc
: ProcmailTaintWarning
- I get corrupted messages, when using SpamAssassin with exim and procmail: EximProcmailCorruptMsgs
- When I use "-t", it tells me my mail is spam, even when it's not: AlwaysSpamWithTswitch
- I get 'Malformed UTF-8 character' errors on Red Hat 8/9, or using perl 5.8.0, with SA 2.43: RedHatMalformedUtf8
- I edited my local.cf file, but SpamAssassin isn't recognising the changes: LocalCfNotRead
- In what order are the SpamAssassin configuration files read?: ConfFileOrder
- How do I disable certain checks?: DisablingRules
- On startup spamd dies with the error "
IO::Socket::INET: Invalid argument
": IoSocketInetInvalidArgument; or the message "Required module Storable not found!
": StorableNotFound - I get warnings in the syslog from spamd about '
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4
': Ipv6Resolver When I run '
spamassassin --lint
', I see messages about 'No Format Net::Ident::_export_hooks() called too early to check prototype
- On startup spamd dies with the error "
- Warning messages in the system log:
- I get warnings in the syslog from spamd like
prefork: server reached --max-clients setting, consider raising it
, but I can't find a--max-clients
setting: MaxClientsWarning - I get warnings in the syslog from spamd about '
Can't call method "bgsend" on an undefined value
': CantCallMethodBgsend - I see lots of warnings like
... matches null string many times in regex ... at ... Text/Wrap.pm
: TextWrapError
- I get warnings in the syslog from spamd like
- Undefined dependency errors:
- I get warnings that look like this dbg: rules: meta test XXX_SOME_NAME_XXX has undefined dependency 'XXX_SOME_THING_XXX':
- Self:SareUndefinedDependency related errors
- Self:PyzorUndefinedDependency related errors
- I get warnings that look like this dbg: rules: meta test XXX_SOME_NAME_XXX has undefined dependency 'XXX_SOME_THING_XXX':
- Performance & memory:
- SpamAssassin runs too slowly, or I see error messages about
tcp timeout
, or it takes an extremely long time to scan emails: FasterPerformance - I keep running out of memory, or the spamd processes take huge amounts of RAM: OutOfMemoryProblems
- SpamAssassin starts to chew away all memory and finally fails with '
Deep recursion on subroutine "DB_File::AUTOLOAD"
': DeepRecursionInDbFile - When I look at 'top', the spamd processes are not sharing enough memory: TopSharedMemoryBug
- Procmail and SpamAssassin seem not to process some of my messages when the load gets too high: NoProcessOnOverload
- I keep running out of open file descriptors, typically when using spamd: OutOfFileDescriptors
- I find lots of
bayes_toks.expireNNNNN
files in my bayes_path directory: ManyBayesToksExpireFiles - The auto-whitelist file grows very large, and I'd like to reduce it: ShrinkAutoWhiteList
- SpamAssassin runs too slowly, or I see error messages about
- Filtering and labeling:
- When I use "-t", it tells me my mail is spam, even when it's not: AlwaysSpamWithTswitch
- Mail is being filtered for users listed in 'all_spam_to': AllSpamToFiltering
- Spam to someone in 'all_spam_to' is also being delivered to other users, without filtering: AllSpamToNoFiltering
- Performance on Red Hat 8/9/Fedora Core 1 is terrible, compared to other OSes: Utf8Performance
- 'spamassassin' works, but mails through my MTA filter don't scan correctly: AskingAboutIntegrations
- The subject and body of a message are correctly marked as spam, but the X-Spam-Status header says No: BogusSpamStatusHeader
- A mail has enough points to be spam, but isn't marked as such: RoundingIssues
- The subject and body of a message are correctly marked as spam, but the X-Spam-Status header says No: BogusSpamStatusHeader
- I keep running out of memory every now and again: OutOfMemoryProblems
- I keep running out of open file descriptors, typically when using spamd: OutOfFileDescriptors
- How can I tell what SpamAssassin is doing / if a SpamAssassin feature is enabled: TestingInstallation
- Spam messages are getting through, how do I determine which tests need to have their scores adjusted to match the messages? AdjustRuleScore
- I'm seeing the rule ALL_TRUSTED giving spam negative points. What should I do?: FixingAllTrusted
- I'm using OpenDNS and seeing SURBL or URIBL rules firing on non-spam: OpenDnsAndUribls
- Customizing (or failure to customize):
- I edited my local.cf file, but SpamAssassin isn't recognising the changes: LocalCfNotRead
- In what order are the SpamAssassin configuration files read?: ConfFileOrder
- How do I disable certain checks?: DisablingRules
- Other problems:
- I see '
WARNING: signing subkey 24F434CE is not cross-certified
' or 'error: GPG validation failed!
' when I run "sa-update": SaUpdateKeyNotCrossCertified - I get corrupted messages, when using SpamAssassin 3.1.1 with spamass-milter 0.3.0: SaMilter030CorruptMsgs
- I get corrupted messages, when using SpamAssassin with exim and procmail: EximProcmailCorruptMsgs
- I'm having trouble with SpamAssassin and amavisd-new: AmavisdNewTrouble
- I get errors about tying to a Bayes database when I copy it onto another machine, or after upgrading my Berkeley DB libraries: DbDumpAndLoad
Spam messages are getting through, how do I determine which tests need to have their scores adjusted to match the messages? AdjustRuleScore- I'm using spamass-milter and the -notfirsthop rules like DYNABLOCK don't work properly: SpamassNotFirstHop
- I'm getting unexpected 421 bounces with exim and spamassassin: http://bugzilla.spamassassin.org/show_bug.cgi?id=4246
- I see '
- When trying to build spamc with SSL, I get openssl-related errors concerning krb5.h missing, etc.: OpensslKrb
- Procmail and SpamAssassin seem not to process some of my messages when the load gets too high: NoProcessOnOverload
- On startup spamd dies with the error "IO::Socket::INET: Invalid argument": IoSocketInetInvalidArgument
- On startup spamd dies with the message "Required module Storable not found!": StorableNotFound
...
- Postfix can't talk to spamd anymore: PostfixSpamd
- Old errors, no longer frequently-asked:
- When I use SpamAssassin with Mail::Audit, I get a '
you cannot use body()
' error: MailAuditBodyError - When I run a tool that uses SpamAssassin, I get '
Can't locate Mail/SpamAssassin/NoMailAudit.pm in @INC
' with SA 3.0.0: CantLocateNoMailAudit - I get '
Malformed UTF-8 character
' errors on Red Hat 8/9, or using perl 5.8.0, with SA 2.43: RedHatMalformedUtf8 - Upgrading to v3.0.0 I'm getting this error '
bayes db version 2 is not able to be used, aborting!
': BayesUpgradeError - Performance on Red Hat 8/9/Fedora Core 1 is terrible, compared to other OSes: Utf8Performance
- When I use SpamAssassin with Mail::Audit, I get a '