1

Topic: amavisd + spamassassin gtube test not passed, no headers added

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.7
- Linux/BSD distribution name and version: debian 7 wheezy
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache2
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
pastebin.com/XPNebhD1 - my software versions
pastebin.com/XfeJ3zpa - master.cf
pastebin.com/HHPh3FZz - 50-user
pastebin.com/kBpDeBBH - local.cf
pastebin.com/qJvBjDiQ - dovecot.conf
====
My problem is: my spamassassin look like not working at all,
no X_SPAM header adding for email, GTUBE test failed, i dont know exactly ,
but seem's like it's broken after installing spamassassin from wheezy backports.
Probably amavisd-new dont work correctly with new spamassassin version.
Feel free to ask for addditional configuration files. spamassassin --lint no error's.
Sorry for my english.

----

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

2

Re: amavisd + spamassassin gtube test not passed, no headers added

Please try again by following our tutorial:
http://www.iredmail.org/docs/no.x-spam.headers.html

3

Re: amavisd + spamassassin gtube test not passed, no headers added

Hello, i checked this before i created this thread,
root@mail:/etc/amavis/conf.d# grep log_templ  *
50-user:$log_templ = $log_verbose_templ;
And i dont saw any changes in my log files, it's look like no mail's passing to amavis,
grep sa_tag *
20-debian_defaults:#$sa_tag_level_deflt  = -999;  # add spam info headers if at, or above that level
20-debian_defaults:#$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
50-user:$sa_tag_level_deflt = -9999; # always add spam info headers
50-user:$sa_tag2_level_deflt = 5.0;
I also commented line's with sa_tag  in 20-debian to be sure there is no  inconsistent settings,
and i change this lines too
$log_level = 5;              # verbosity 0..5, -d
$sa_debug = 1;

after all of this, here is my log file

root@mail:/etc/amavis/conf.d# tail /var/log/mail.log
Nov 23 08:58:17 mail postfix/smtpd[25032]: connect from ip56-jotanet.gl.digi.pl[83.230.7.56]
Nov 23 08:58:18 mail postfix/smtpd[25032]: NOQUEUE: reject: RCPT from ip56-jotanet.gl.digi.pl[83.230.7.56]: 450 4.1.8 <info@SEAMY.br>: Sender address rejected: Domain not found; from=<info@SEAMY.br> to=<logycom@tonusclub.ru> proto=SMTP helo=<ip56-jotanet.gl.digi.pl>
Nov 23 08:58:18 mail postfix/smtpd[25032]: lost connection after RCPT from ip56-jotanet.gl.digi.pl[83.230.7.56]
Nov 23 08:58:18 mail postfix/smtpd[25032]: disconnect from ip56-jotanet.gl.digi.pl[83.230.7.56]
Nov 23 08:58:44 mail postfix/smtpd[25014]: connect from gate[46.228.5.18]
Nov 23 08:58:44 mail postfix/smtpd[25014]: disconnect from gate[46.228.5.18]
Nov 23 08:59:15 mail postfix/smtpd[25021]: connect from unknown[197.210.202.238]
Nov 23 08:59:16 mail postfix/smtpd[25021]: NOQUEUE: reject: RCPT from unknown[197.210.202.238]: 550 5.1.1 <nnov@tonusclub.ru>: Recipient address rejected: User unknown in virtual mailbox table; from=<travers-m@gourmicom.fr> to=<nnov@tonusclub.ru> proto=ESMTP helo=<mail.zomaygroup.com>
Nov 23 08:59:16 mail postfix/smtpd[25021]: NOQUEUE: reject: RCPT from unknown[197.210.202.238]: 550 5.1.1 <nnov@tonusclub.ru>: Recipient address rejected: User unknown in virtual mailbox table; from=<administratory@candiataxi.gr> to=<nnov@tonusclub.ru> proto=ESMTP helo=<mail.zomaygroup.com>
Nov 23 08:59:17 mail postfix/smtpd[25021]: disconnect from unknown[197.210.202.238]
root@mail:/etc/amavis/conf.d# tail /var/log/mail.log
Nov 23 08:59:35 mail postfix/smtpd[27079]: disconnect from mail.flagmax.ru[127.0.0.1]
Nov 23 08:59:35 mail postfix/smtp[27077]: C8D271C803ED: to=<parinova.i@tonusmail.ru>, relay=127.0.0.1[127.0.0.1]:10025, delay=3, delays=2.9/0.01/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A7F4F1C80D0A)
Nov 23 08:59:35 mail postfix/smtp[27077]: C8D271C803ED: to=<t.kuchina@tonusmail.ru>, relay=127.0.0.1[127.0.0.1]:10025, delay=3, delays=2.9/0.01/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A7F4F1C80D0A)
Nov 23 08:59:35 mail postfix/smtp[27077]: C8D271C803ED: to=<crm@wellsmi.ru>, relay=127.0.0.1[127.0.0.1]:10025, delay=3, delays=2.9/0.01/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A7F4F1C80D0A)
Nov 23 08:59:35 mail postfix/smtp[27077]: C8D271C803ED: to=<ira1978@yandex.ru>, relay=127.0.0.1[127.0.0.1]:10025, delay=3, delays=2.9/0.01/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as A7F4F1C80D0A)
Nov 23 08:59:35 mail postfix/qmgr[5674]: C8D271C803ED: removed
Nov 23 08:59:35 mail postfix/pipe[27086]: A7F4F1C80D0A: to=<t.kuchina@tonusmail.ru>, relay=dovecot, delay=0.13, delays=0.06/0.03/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 23 08:59:35 mail postfix/pipe[27084]: A7F4F1C80D0A: to=<parinova.i@tonusmail.ru>, relay=dovecot, delay=0.18, delays=0.06/0.03/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 23 08:59:35 mail postfix/pipe[27081]: A7F4F1C80D0A: to=<chirva.i@tonusmail.ru>, relay=dovecot, delay=0.21, delays=0.06/0.01/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service)
Nov 23 08:59:36 mail postfix/pipe[27082]: A7F4F1C80D0A: to=<crm@wellsmi.ru>, relay=dovecot, delay=0.34, delays=0.06/0.02/0/0.26, dsn=2.0.0, status=sent (delivered via dovecot service)
Probably im missing something , ireadmin was installed not by me, also not only spamassassin not working, clamv not working as  well, im thinking that mail's not passing to amavis.

4

Re: amavisd + spamassassin gtube test not passed, no headers added

I solved my problem, the issue was that  in section content_filter = smtp-amavis:[127.0.0.1]:10026 was wrong port number changing  to 10024 solved the problem.
Now  i have 1 question, do i need clamsmtp?
idk why i have it on my server, there is why i previously changed port number, because clamsmtpd was trying to use 10024 port.