Netgate SG-1000 microFirewall

Author Topic: mailscanner + spamassassin + clamav package  (Read 129586 times)

0 Members and 1 Guest are viewing this topic.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
mailscanner + spamassassin + clamav package
« on: December 05, 2011, 05:29:34 pm »
Finally out !  :) (devel version)


Just be sure to do have perl specific version perl-5.10.1_3.

Mailscanner-dev package uses freebsd 8.2 packages, so do not try it with any other perl version.

if you have any other perl version, i suggest you to uninstall it, any p5-module and maybe sqlite version prior to 3.7.4 you find with pkg_add.

After removing it, close console and try to install packages.
« Last Edit: December 05, 2011, 05:41:51 pm by marcelloc »

Offline darklogic

  • Full Member
  • ***
  • Posts: 178
  • Karma: +2/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #1 on: December 05, 2011, 06:49:51 pm »
Question marcelloc?

Do you have to install the mailscanner dev package for the mailscanner function to work in postfix? Or is mailscanner included in the new version you just released?

Thanks,

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #2 on: December 05, 2011, 06:53:21 pm »
Need both.

Check your perl version before install.

Offline andrew0401

  • Full Member
  • ***
  • Posts: 120
  • Karma: +0/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #3 on: December 06, 2011, 05:03:43 am »
Been having a quick play and a few problems surfaced.

Access to /user/spool/MailScanner/incoming generates permission errors unless changed to 0777.

Even after changing the permissions mailscanner still shows as stoped in Status:services - do a restart no error messages in system log - just will not start the package.

Can I confirm if there is a particular install sequence?  I did postfix, havp and the mailscanner - all of this is on 2.0 rel x86 running under ESXi 5.0

Andrew

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #4 on: December 06, 2011, 05:12:06 am »
I set owner and run user to postfix, it's not happening here. I will try to simulate this on vm.

As hapv also uses clamav, i would install postfix, then mailscanner, then any other package.

Run sa-update at console to see if there is no spamassassin dependencies problem.

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #5 on: December 06, 2011, 06:51:40 am »
Quote
Even after changing the permissions mailscanner still shows as stoped in Status:services

check in console, I did not finished services:status check option.

I did this install sequence:
  • postfix
  • mailscanner
  • havp

I got services running
8148  ??  S      0:00.47 MailScanner: waiting for messages (perl5.10.1)
 8155  ??  S      0:00.48 MailScanner: waiting for messages (perl5.10.1)
 8344  ??  S      0:00.47 MailScanner: waiting for messages (perl5.10.1)
 8660  ??  S      0:00.50 MailScanner: waiting for messages (perl5.10.1)
 8851  ??  S      0:00.51 MailScanner: waiting for messages (perl5.10.1)
 9155  ??  S      0:00.47 MailScanner: waiting for messages (perl5.10.1)


right permissions on folders
drwxr-xr-x  124 postfix  wheel  2048 Dec  6 12:32 incoming
drwxr-xr-x    2 postfix  wheel   512 Dec  6 12:16 quarantine


and no alerts at log
Dec  6 12:33:29 pfsense MailScanner[12543]: Using locktype = flock
Dec  6 12:33:34 pfsense MailScanner[12644]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec  6 12:33:34 pfsense MailScanner[12644]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec  6 12:33:34 pfsense MailScanner[12644]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec  6 12:33:34 pfsense MailScanner[12644]: Using SpamAssassin results cache
Dec  6 12:33:34 pfsense MailScanner[12644]: Connected to SpamAssassin cache database
Dec  6 12:33:34 pfsense MailScanner[12644]: Enabling SpamAssassin auto-whitelist functionality...
Dec  6 12:33:35 pfsense MailScanner[12644]: Connected to Processing Attempts Database
Dec  6 12:33:35 pfsense MailScanner[12644]: Found 0 messages in the Processing Attempts Database


one minor issue with spamassassin --lint command
Dec  6 12:36:11.468 [56598] warn: config: failed to parse line, skipping, in "/usr/local/etc/mail/spamassassin/mailscanner.cf": use_auto_whitelist 0
Dec  6 12:36:13.112 [56598] warn: lint: 1 issues detected, please rerun with debug enabled for more information


comment  'use_auto_whitelist 0'  in services->mailscanner->antispam->spam.assassin.prefs.conf
save config and then test spamassassin --lint again


Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #6 on: December 06, 2011, 03:00:30 pm »
To improve performance on your mailscanner filter, you need to install pfsense with a separated /var partition and enable soft-updates on it during install.

The size of this partition depends on your mail volume I suggest at least 10G.

without soft-updates it will have a 'not so good performance'.

I've tried some rc.d scripts to change / to soft-updates with no luck, so it's better and well supported to do this during install.

Offline andrew0401

  • Full Member
  • ***
  • Posts: 120
  • Karma: +0/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #7 on: December 07, 2011, 07:13:30 am »
Well I reinstalled in your suggested sequence but still the mailscanner service is shown as stopped in pfsense - been though log and do not see anything unusual - but perhaps you can.

Dec 7 13:04:02    dnsmasq[45564]: nameserver 192.168.80.208 refused to do a recursive query
Dec 7 13:04:02    dnsmasq[45564]: nameserver 192.168.80.208 refused to do a recursive query
Dec 7 13:04:01    dnsmasq[45564]: ignoring nameserver 127.0.0.1 - local interface
Dec 7 13:04:01    dnsmasq[45564]: ignoring nameserver 127.0.0.1 - local interface
Dec 7 13:04:01    dnsmasq[45564]: using nameserver 192.168.80.217#53
Dec 7 13:04:01    dnsmasq[45564]: using nameserver 192.168.80.203#53
Dec 7 13:04:01    dnsmasq[45564]: using nameserver 192.168.80.208#53
Dec 7 13:04:01    dnsmasq[45564]: reading /etc/resolv.conf
Dec 7 12:53:06    MailScanner[37853]: Using locktype = flock
Dec 7 12:53:06    MailScanner[37853]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:06    MailScanner[37853]: Connected to Processing Attempts Database
Dec 7 12:53:06    MailScanner[37853]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:06    MailScanner[37853]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:06    MailScanner[37853]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:06    MailScanner[35964]: Using locktype = flock
Dec 7 12:53:06    MailScanner[35964]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:06    MailScanner[35964]: Connected to Processing Attempts Database
Dec 7 12:53:06    MailScanner[35964]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:06    MailScanner[35964]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:06    MailScanner[35681]: Using locktype = flock
Dec 7 12:53:06    MailScanner[35964]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:06    MailScanner[35681]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:06    MailScanner[35681]: Connected to Processing Attempts Database
Dec 7 12:53:06    MailScanner[35681]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:06    MailScanner[35681]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:06    MailScanner[35681]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:06    MailScanner[35496]: Using locktype = flock
Dec 7 12:53:06    MailScanner[35496]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:06    MailScanner[35496]: Connected to Processing Attempts Database
Dec 7 12:53:05    MailScanner[35496]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:05    MailScanner[35496]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:05    MailScanner[35496]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:05    MailScanner[35335]: Using locktype = flock
Dec 7 12:53:05    MailScanner[35335]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:05    MailScanner[35335]: Connected to Processing Attempts Database
Dec 7 12:53:05    MailScanner[35335]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:05    MailScanner[35335]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:05    MailScanner[35335]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:05    MailScanner[35114]: Using locktype = flock
Dec 7 12:53:05    MailScanner[35114]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:05    MailScanner[35114]: Connected to Processing Attempts Database
Dec 7 12:53:05    MailScanner[35114]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:05    MailScanner[35114]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:05    MailScanner[35114]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:05    MailScanner[34953]: Using locktype = flock
Dec 7 12:53:05    MailScanner[34953]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:05    MailScanner[34953]: Connected to Processing Attempts Database
Dec 7 12:53:05    MailScanner[34953]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:05    MailScanner[34953]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:05    MailScanner[34953]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:05    MailScanner[25890]: Using locktype = flock
Dec 7 12:53:05    MailScanner[25890]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:05    MailScanner[25890]: Connected to Processing Attempts Database
Dec 7 12:53:04    MailScanner[25890]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:04    MailScanner[25890]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:04    MailScanner[25890]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:04    MailScanner[24398]: Using locktype = flock
Dec 7 12:53:04    MailScanner[24398]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:04    MailScanner[24398]: Connected to Processing Attempts Database
Dec 7 12:53:04    MailScanner[24398]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:04    MailScanner[24398]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:04    MailScanner[24398]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:01    MailScanner[21195]: Using locktype = flock
Dec 7 12:53:01    MailScanner[20935]: Using locktype = flock
Dec 7 12:53:01    MailScanner[20595]: Using locktype = flock
Dec 7 12:53:01    MailScanner[20517]: Using locktype = flock
Dec 7 12:53:01    MailScanner[21195]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:01    MailScanner[21195]: Connected to Processing Attempts Database
Dec 7 12:53:01    MailScanner[21195]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:01    MailScanner[21195]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:01    MailScanner[21195]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:01    MailScanner[20935]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:01    MailScanner[20935]: Connected to Processing Attempts Database
Dec 7 12:53:01    MailScanner[20595]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:01    MailScanner[20595]: Connected to Processing Attempts Database
Dec 7 12:53:01    MailScanner[20935]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:01    MailScanner[20935]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:01    MailScanner[20935]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:01    MailScanner[20595]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:01    MailScanner[20595]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:01    MailScanner[20595]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:01    MailScanner[20517]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:01    MailScanner[20517]: Connected to Processing Attempts Database
Dec 7 12:53:00    MailScanner[20517]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:00    MailScanner[20517]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:00    MailScanner[20517]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:00    MailScanner[18685]: Using locktype = flock
Dec 7 12:53:00    MailScanner[19074]: Using locktype = flock
Dec 7 12:53:00    MailScanner[18685]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:00    MailScanner[19074]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:00    MailScanner[18685]: Connected to Processing Attempts Database
Dec 7 12:53:00    MailScanner[19074]: Connected to Processing Attempts Database
Dec 7 12:53:00    MailScanner[19074]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:00    MailScanner[19074]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:00    MailScanner[18872]: Using locktype = flock
Dec 7 12:53:00    MailScanner[19074]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:00    MailScanner[18872]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:00    MailScanner[18872]: Connected to Processing Attempts Database
Dec 7 12:53:00    MailScanner[18872]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:00    MailScanner[18872]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:00    MailScanner[18872]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:00    MailScanner[18685]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:53:00    MailScanner[18685]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:53:00    MailScanner[18685]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:53:00    MailScanner[18664]: Using locktype = flock
Dec 7 12:53:00    MailScanner[18664]: Found 0 messages in the Processing Attempts Database
Dec 7 12:53:00    MailScanner[18664]: Connected to Processing Attempts Database
Dec 7 12:52:59    MailScanner[18664]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:59    MailScanner[18664]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:59    MailScanner[18664]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:59    check_reload_status: Reloading filter
Dec 7 12:52:59    MailScanner[17839]: Using locktype = flock
Dec 7 12:52:59    MailScanner[17839]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:59    MailScanner[17839]: Connected to Processing Attempts Database
Dec 7 12:52:59    MailScanner[17839]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:59    MailScanner[17839]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:59    MailScanner[17839]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:57    php: : IPSEC: One or more IPsec tunnel endpoints has changed its IP. Refreshing.
Dec 7 12:52:57    sshlockout[10168]: sshlockout/webConfigurator v3.0 starting up
Dec 7 12:52:57    login: login on ttyv0 as root
Dec 7 12:52:57    postfix/postfix-script[9849]: fatal: the Postfix mail system is already running
Dec 7 12:52:56    MailScanner[3064]: Using locktype = flock
Dec 7 12:52:56    MailScanner[3064]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:56    MailScanner[3064]: Connected to Processing Attempts Database
Dec 7 12:52:56    MailScanner[3064]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:56    MailScanner[3064]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:56    MailScanner[3064]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:56    MailScanner[3022]: Using locktype = flock
Dec 7 12:52:56    MailScanner[2774]: Using locktype = flock
Dec 7 12:52:56    MailScanner[2430]: Using locktype = flock
Dec 7 12:52:56    MailScanner[3022]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:56    MailScanner[3022]: Connected to Processing Attempts Database
Dec 7 12:52:56    MailScanner[3022]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:56    MailScanner[2774]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:56    MailScanner[2774]: Connected to Processing Attempts Database
Dec 7 12:52:56    MailScanner[3022]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:56    MailScanner[3022]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:56    MailScanner[2774]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:56    MailScanner[2774]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:56    MailScanner[2774]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:55    MailScanner[2430]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:55    MailScanner[2430]: Connected to Processing Attempts Database
Dec 7 12:52:55    MailScanner[2430]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:55    MailScanner[2430]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:55    MailScanner[2430]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:55    MailScanner[1919]: Using locktype = flock
Dec 7 12:52:55    MailScanner[2358]: Using locktype = flock
Dec 7 12:52:55    MailScanner[2088]: Using locktype = flock
Dec 7 12:52:55    MailScanner[1919]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:55    MailScanner[1919]: Connected to Processing Attempts Database
Dec 7 12:52:55    MailScanner[2358]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:55    MailScanner[2358]: Connected to Processing Attempts Database
Dec 7 12:52:55    MailScanner[2088]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:55    MailScanner[2358]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:55    MailScanner[2358]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:55    MailScanner[2358]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:55    MailScanner[2088]: Connected to Processing Attempts Database
Dec 7 12:52:55    MailScanner[2088]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:55    MailScanner[2088]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:55    MailScanner[2088]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:55    MailScanner[1919]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:55    MailScanner[1919]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:55    MailScanner[1919]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:55    MailScanner[1667]: Using locktype = flock
Dec 7 12:52:55    MailScanner[1667]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:55    MailScanner[1667]: Connected to Processing Attempts Database
Dec 7 12:52:54    MailScanner[1667]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:54    MailScanner[1667]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:54    MailScanner[1667]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:54    MailScanner[1406]: Using locktype = flock
Dec 7 12:52:54    MailScanner[1406]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:54    MailScanner[1406]: Connected to Processing Attempts Database
Dec 7 12:52:54    MailScanner[1406]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:54    MailScanner[1406]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:54    MailScanner[1406]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:51    MailScanner[1155]: Using locktype = flock
Dec 7 12:52:51    MailScanner[1155]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[1155]: Connected to Processing Attempts Database
Dec 7 12:52:51    MailScanner[594]: Using locktype = flock
Dec 7 12:52:51    MailScanner[63421]: Using locktype = flock
Dec 7 12:52:51    MailScanner[63787]: Using locktype = flock
Dec 7 12:52:51    MailScanner[63421]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[1155]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:51    MailScanner[63421]: Connected to Processing Attempts Database
Dec 7 12:52:51    MailScanner[1155]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:51    MailScanner[594]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[1155]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:51    MailScanner[594]: Connected to Processing Attempts Database
Dec 7 12:52:51    MailScanner[63787]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[63787]: Connected to Processing Attempts Database
Dec 7 12:52:51    MailScanner[60548]: Using locktype = flock
Dec 7 12:52:51    MailScanner[594]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:51    MailScanner[594]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:51    MailScanner[594]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:51    MailScanner[63787]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:51    MailScanner[63421]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:51    MailScanner[60548]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[60548]: Connected to Processing Attempts Database
Dec 7 12:52:51    MailScanner[63787]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:51    MailScanner[63421]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:51    MailScanner[58115]: Using locktype = flock
Dec 7 12:52:51    MailScanner[59028]: Using locktype = flock
Dec 7 12:52:51    MailScanner[63787]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:51    MailScanner[63421]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:51    MailScanner[59028]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:51    MailScanner[59028]: Connected to Processing Attempts Database
Dec 7 12:52:50    MailScanner[58115]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:50    MailScanner[58115]: Connected to Processing Attempts Database
Dec 7 12:52:50    check_reload_status: Syncing firewall
Dec 7 12:52:50    MailScanner[60548]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:50    MailScanner[60548]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:50    MailScanner[60548]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:50    MailScanner[58115]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:50    MailScanner[59028]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:50    MailScanner[59028]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:50    MailScanner[58115]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:50    MailScanner[59028]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:50    MailScanner[58115]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:50    MailScanner[56192]: Using locktype = flock
Dec 7 12:52:50    MailScanner[57547]: Using locktype = flock
Dec 7 12:52:50    MailScanner[56192]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:50    MailScanner[57547]: Found 0 messages in the Processing Attempts Database
Dec 7 12:52:50    MailScanner[56192]: Connected to Processing Attempts Database
Dec 7 12:52:50    MailScanner[57547]: Connected to Processing Attempts Database
Dec 7 12:52:50    MailScanner[56192]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:50    MailScanner[57547]: Reading configuration file /usr/local/etc/MailScanner/conf.d/README
Dec 7 12:52:49    MailScanner[56192]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:49    MailScanner[57547]: Reading configuration file /usr/local/etc/MailScanner/MailScanner.conf
Dec 7 12:52:49    MailScanner[57547]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:49    MailScanner[56192]: MailScanner E-Mail Virus Scanner version 4.81.4 starting...
Dec 7 12:52:48    check_reload_status: Syncing firewall
Dec 7 12:52:48    php: : Starting HAVP
Dec 7 12:52:47    php: : Antivirus: Username 'havp' was added.
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:44    php: : Reload mailscanner
Dec 7 12:52:42    postfix/master[53314]: reload -- version 2.8.5, configuration /usr/local/etc/postfix
Dec 7 12:52:42    php: : Postfix setup completed
Dec 7 12:52:42    postfix/postfix-script[19732]: refreshing the Postfix mail system
Dec 7 12:52:42    php: : Reloading/starting postfix
Dec 7 12:52:41    php: : Writing rc_file
Dec 7 12:52:39    php: : Writing out configuration
Dec 7 12:52:39    syslogd: kernel boot file is /boot/kernel/kernel
Dec 7 12:52:39    syslogd: exiting on signal 15
Dec 7 12:52:39    check_reload_status: Syncing firewall
Dec 7 12:52:39    postfix/master[53314]: reload -- version 2.8.5, configuration /usr/local/etc/postfix
Dec 7 12:52:39    php: : Postfix setup completed
Dec 7 12:52:39    postfix/postfix-script[13070]: refreshing the Postfix mail system
Dec 7 12:52:39    php: : Reloading/starting postfix
Dec 7 12:52:38    php: : Writing rc_file
Dec 7 12:52:36    php: : Writing out configuration

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #8 on: December 07, 2011, 07:54:56 am »
it's running.

go to console or ssh and do a ps ax | grep -i mailscanner

also check if spamassassin is ok with spamassassin --lint.

to update spamassassin rules, run sa-update
to update clamav virus definitions, run freshclam

As i told you, id did not finished mailscanner process check in status services.


Offline andrew0401

  • Full Member
  • ***
  • Posts: 120
  • Karma: +0/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #9 on: December 07, 2011, 08:07:11 am »
Sorry - missed the point about services - mailscanner does seem to be running but no response from other commands.

Andrew

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #10 on: December 07, 2011, 08:21:26 am »
no response means no problems  ;)

Offline Fmstrat

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #11 on: December 12, 2011, 10:37:23 am »
Is there a HOWTO for mailscanner in PFSense? I'm setting up an exchange server behind a PFSense firewall (both virtualized) and would like to use the PFSense VM to filter out some of the garbage before it makes it to the Exchange server. I've used SpamAssassin before, but never MailScanner, and it's been a loooonnnnggg time. :)

I had considered running a separate Untangle VM until I saw this in the packages list.

Thanks!
Ben

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #12 on: December 12, 2011, 11:23:45 am »
The first combat is done in postfix package(more then 80% of spam is killed there).

All mailscanner default options are in gui.

Take a look.

Offline Fmstrat

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +2/-0
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #13 on: December 12, 2011, 12:12:40 pm »
Thanks. To be a little more clear in my question, what do I need to do from a prerequisit standpoint? Do I need to manually install a new version of perl? Do I need to install the Postfix package first? Or will the mailscanner-dev package do all this for me?

Thanks,
Ben

Offline marcelloc

  • Hero Member
  • *****
  • Posts: 13408
  • Karma: +592/-7
    • View Profile
Re: mailscanner + spamassassin + clamav package
« Reply #14 on: December 12, 2011, 12:23:09 pm »
If you do not have any perl version installed on your box, just install postfix and then mailscanner.