1

Topic: Fresh install sending errors

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.7
- Linux/BSD distribution name and version:  Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
I just installed a fresh setup and did all the necessary configuration, however I can't send or receive mails when i checked mail.log found the below error:
postfix/amavis/smtp[2165]: DBD62560AC6: to=<****@c*****.com>, relay=none, delay=0.65, delays=0.65/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)


another error: spamd[2092]: config: no rules were found! Do you need to run 'sa-update'?

when I try to run sa-update i get the following error:
rules: failed to run FORGED_GMAIL_RCVD test, skipping:
        (Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1318) line 1605.
)
channel: lint check of update failed, channel failed


Any ideas ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fresh install sending errors

A SpamAssassin bug, please check this mailing list thread:
https://marc.info/?t=151731270100002&r=1&w=2

3

Re: Fresh install sending errors

Yea noticed, but no solution yet. don't you know any workaround as I need the server in production today =/

4

Re: Fresh install sending errors

No solution yet except waiting.

According to the SA mailing list, developer said it should be working in about 24 hours. they committed fix but it takes time.

As a temporary solution, you can disable spam scanning temporarily. FYI:
https://docs.iredmail.org/completely.di … disclaimer

Note: Just the setting "@bypass_spam_checks_maps  = (1);" in amavisd.conf is enough.

5 (edited by hws 2018-02-01 17:56:38)

Re: Fresh install sending errors

As a temporary solution, I added this patch into HeaderEval.pm:
https://bz.apache.org/SpamAssassin/atta … ction=view

After that, the update runs without problems again.

You also can try to update SpamAssassin package at your server if a newer one is available. The error occurs only for versions < 3.004002.