Remove the README file from conf dir in MailScanner Also you need to use the old /usr/share/MailScanner/MailScanner/ConfigSQL.pm
Sent from my iPhone On May 28, 2015, at 5:12 PM, Marcin Janowski <[email protected]<mailto:[email protected]>> wrote: I decide to reinstall MailScanner and install in version 4.85.2-3. After this, i do upgrade_MailScanner_conf and now i cannot start MailScanner, i have error: Can't use an undefined value as an ARRAY reference at /usr/share/MailScanner/MailScanner/Config.pm line 2588, <DATA> line 469. <DATA> is /usr/share/MailScanner/MailScanner/ConfigDefs.pl . When i hash line 469, "SpamBlacklist 0 no 0 yes 1" i have error about line 471, and etc. In Mailscanner.conf i havent SpamBlacklist, and this isn't in MailScanner.conf from rpm. W dniu 27.05.2015 o 15:38, Jeremy McSpadden pisze: Read the errors in your logs below. They tell you. unknown string -- Jeremy McSpadden | Flux Labs Local - 850-250-5590x501<tel:850-250-5590;501> | Mobile - 850-890-2543<tel:850-890-2543> Fax - 850-254-2955<tel:850-254-2955> | Toll Free - 877-699-FLUX<tel:877-699-FLUX> Web - http://www.fluxlabs.net<http://www.fluxlabs.net/> On May 27, 2015, at 8:31 AM, Marcin Janowski <[email protected]<mailto:[email protected]>> wrote: Thanks for quick reply, could you give me tips how to debug this or which options i should check? W dniu 27.05.2015 o 14:54, Jeremy McSpadden pisze: Looks like bad configs in mailscanner. -- Jeremy McSpadden | Flux Labs Local - 850-250-5590x501<tel:850-250-5590;501> | Mobile - 850-890-2543<tel:850-890-2543> Fax - 850-254-2955<tel:850-254-2955> | Toll Free - 877-699-FLUX<tel:877-699-FLUX> Web - http://www.fluxlabs.net<http://www.fluxlabs.net/> On May 27, 2015, at 7:51 AM, Marcin Janowski <[email protected]<mailto:[email protected]>> wrote: Hello, all messages on my list have SA-score 0.0, why? I thinks Spamassassin dont works, but i dont know why and how to debug it. I have installed baruwa on Centos 6, with this python packages: (px)[root@baruwa baruwa]# pip list amqp (1.0.13) amqplib (1.0.2) anyjson (0.3.3) argparse (1.3.0) Babel (0.9.6) baruwa (2.0.1) Beaker (1.7.0) beautifulsoup4 (4.3.2) billiard (3.3.0.20) celery (3.0.0) cracklib (2.9.3) decorator (3.4.2) distribute (0.7.3) eventlet (0.17.4) FormEncode (1.3.0) futures (3.0.2) GeoIP-Python (1.2.4) greenlet (0.4.7) importlib (1.0.3) IPy (0.83) kombu (2.5.16) lxml (3.4.4) M2Crypto (0.22.3) Mako (1.0.1) MarkupSafe (0.23) marrow.interface (1.0.1) marrow.mailer (4.0.0) marrow.util (1.2.3) MySQL-python (1.2.5) nose (1.3.6) ordereddict (1.1) Paste (2.0.2) PasteDeploy (1.5.2) PasteScript (2.0) Pillow (2.8.1) pip (7.0.1) psutil (2.2.1) psycopg2 (2.6) py-bcrypt (0.4) Pygments (2.0.2) pylibmc (1.4.3) Pylons (1.0.1) pyparsing (1.5.7) pyrad (2.0) python-dateutil (1.5) python-ldap (2.4.19) python-magic (0.4.3, /home/baruwa/px/src/python-magic) python-memcached (1.53) pytz (2015.4) reportlab (2.6) repoze.lru (0.6) repoze.what (1.0.9) repoze.what-pylons (1.0) repoze.what.plugins.config (0.2.1) repoze.what.plugins.sql (1.0.1) repoze.who (1.0.19) repoze.who-friendlyform (1.0.8) repoze.who-testutil (1.0.1) repoze.who.plugins.ldap (1.1a1) repoze.who.plugins.sa (1.0.1) Routes (2.1) setuptools (16.0) simplejson (3.7.2) six (1.9.0) SQLAlchemy (0.7.10) sqlparse (0.1.15) Tempita (0.5.2) waitress (0.8.9) WebError (0.10.3) WebHelpers (1.3) WebOb (1.3) WebTest (2.0.18) WTForms (2.0.2) zope.interface (4.1.2) (px)[root@baruwa baruwa]# When i trying to forward spam mail to baruwa, in logs i have: ==> /var/log/exim/main.log <== 2015-05-27 08:38:50 1Yxabh-0000I3-HW <= [email protected]<mailto:[email protected]> H=mail-a.ebi.pl [193.138.208.37] P=esmtps X=UNKNOWN:RC4-SHA:128 S=243875 [email protected]<mailto:[email protected]> ==> /var/log/maillog <== May 27 08:38:50 baruwa MailScanner[838]: New Batch: Found 6 messages waiting May 27 08:38:50 baruwa MailScanner[838]: New Batch: Scanning 1 messages, 244328 bytes May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string mailscanner in language translation file May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string unreadablearchive in language translation file May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string passwordedarchive in language translation file May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string nonpasswordedarchive in language translation file May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string archivetoodeep in language translation file ==> /var/log/exim/main.log <== 2015-05-27 08:38:50 1Yxabh-0000I3-HW == [email protected]<mailto:[email protected]> R=message_checks defer (-1): queued for message checks ==> /var/log/maillog <== May 27 08:38:50 baruwa MailScanner[838]: Virus and Content Scanning: Starting May 27 08:38:50 baruwa MailScanner[838]: Looked up unknown string mailscanner in language translation file May 27 08:38:50 baruwa MailScanner[838]: Your spam actions "/etc/MailScanner/rules/nonspam.actions.rules" looks like a filename. If this is a ruleset filename, it must end in .rule or .rules May 27 08:38:50 baruwa MailScanner[838]: Uninfected: Delivered 1 messages May 27 08:38:50 baruwa MailScanner[838]: Deleted 1 messages from processing-database May 27 08:38:50 baruwa MailScanner[838]: BaruwaSQL: 1Yxabh-0000I3-HW send to logger ==> /var/log/exim/main.log <== 2015-05-27 08:38:50 1Yxabh-0000I3-HW Spool file 1Yxabh-0000I3-HW-D not found ==> /var/log/maillog <== May 27 08:38:52 baruwa MailScanner[650]: BaruwaSQL: 1Yxabh-0000I3-HW: Logged May 27 08:38:52 baruwa MailScanner[650]: BaruwaSQL: 1Yxabh-0000I3-HW: Indexed In attachment is my /etc/MailScanner. -- Pozdrawiam, Marcin Janowski Specjalista ds. Systemów IT Centrum Przetwarzania Danych - Lublin Dział Rozwiązań Systemowych T: + 48 81 535 30 00, w. 366 e-mail: [email protected]<mailto:[email protected]> ________________________________ Asseco Business Solutions S.A. ul. Konrada Wallenroda 4c 20-607 Lublin tel.: +48 81 535 30 00 fax: +48 81 535 30 05 Sąd Rejonowy Lublin-Wschód w Lublinie z siedzibą w Świdniku VI Wydział Gospodarczy Krajowego Rejestru Sądowego KRS 0000028257 NIP 522-26-12-717 kapitał zakładowy 167 090 965,00 zł (w całości opłacony) www.assecobs.pl<http://www.assecobs.pl> ________________________________ Powyższa korespondencja przeznaczona jest wyłącznie dla osoby lub podmiotu, do którego jest adresowana i może zawierać informacje o charakterze poufnym lub zastrzeżonym. Nieuprawnione wykorzystanie informacji zawartych w wiadomości e-mail przez osobę lub podmiot nie będący jej adresatem jest zabronione odpowiednimi przepisami prawa. Odbiorca korespondencji, który otrzymał ją omyłkowo, proszony jest o niezwłoczne zawiadomienie nadawcy drogą elektroniczną lub telefonicznie i usunięcie tej treści z poczty elektronicznej. Dziękujemy. Asseco Business Solutions S.A. ________________________________ Weź pod uwagę ochronę środowiska, zanim wydrukujesz ten e-mail. ________________________________ This information is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Unauthorized use of this information by person or entity other than the intended recipient is prohibited by law. If you received this by mistake, please immediately contact the sender by e-mail or by telephone and delete this information from any computer. Thank you. Asseco Business Solutions S.A. ________________________________ Please consider your environmental responsibility before printing this e-mail. <MailScanner.zip> _______________________________________________ http://pledgie.com/campaigns/12056 -- Pozdrawiam, Marcin Janowski Specjalista ds. Systemów IT Centrum Przetwarzania Danych - Lublin Dział Rozwiązań Systemowych T: + 48 81 535 30 00, w. 366 e-mail: [email protected]<mailto:[email protected]> -- Pozdrawiam, Marcin Janowski Specjalista ds. Systemów IT Centrum Przetwarzania Danych - Lublin Dział Rozwiązań Systemowych T: + 48 81 535 30 00, w. 366 e-mail: [email protected]<mailto:[email protected]> _______________________________________________ http://pledgie.com/campaigns/12056
_______________________________________________ http://pledgie.com/campaigns/12056

