Try out Nethserver 7 beta1

POP3 Proxy issues

POP3 proxy: enabled
- Antivirus: enabled
- Antispam: enabled

I cannot receive emails (Mozilla Thunderbird, POP3, port 110):

Aug  6 19:40:07 dc-ad p3scan[16123]: POP3 Connection from 192.168.1.11:62675
Aug  6 19:40:07 dc-ad p3scan[16123]: Real-server address is 91.195.62.2:110
Aug  6 19:40:07 dc-ad p3scan[16123]: Ignoring servers TOP capability...
Aug  6 19:40:07 dc-ad p3scan[16123]: Ignoring servers PIPELINING capability...
Aug  6 19:40:07 dc-ad p3scan[16123]: Session done (Clean Exit). Mails: 0 Bytes: 0
Aug  6 19:40:51 dc-ad p3scan[16180]: POP3 Connection from 
192.168.1.11:62678
Aug  6 19:40:51 dc-ad p3scan[16180]: Real-server address is 
91.195.62.2:110
Aug  6 19:40:51 dc-ad p3scan[16180]: Ignoring servers TOP capability...
Aug  6 19:40:51 dc-ad p3scan[16180]: Ignoring servers PIPELINING 
capability...
Aug  6 19:40:52 dc-ad p3scan[16180]: WARNING: Your scanner returned 
neither 0, a viruscode, nor a good viruscode, but 2
Aug  6 19:40:52 dc-ad p3scan[16180]: ERR: We can't say if it is a virus!
 So we have to give the client the mail! You should check your 
configuration/system
Aug  6 19:40:52 dc-ad p3scan[16180]: ERR: Scanner returned unexpected 
error code. You should check your configuration/system.
Aug  6 19:40:52 dc-ad p3scan[16180]: ERR: Exiting now...
Aug  6 19:40:52 dc-ad p3scan: ERR: Scanner returned unexpected error 
code. You should check your configuration/system.
Aug  6 19:40:52 dc-ad p3scan[15990]: ERR: Attention: child with pid 
16180 died with abnormal termsignal (11)! This is probably a bug. Please
 report to the author. numprocs is now 0
Aug  6 19:40:52 dc-ad kernel: p3scan[16180]: segfault at 241 ip 
00007f36d8582ab4 sp 00007ffe52b8c4c0 error 4 in 
libc-2.17.so[7f36d853a000+1b7000]


_**POP3 proxy**: enabled_
   _**- Antivirus**: disabled_
   _- **Antispam**: enabled or disabled_

_**I can receive emails (Mozilla Thunderbird, POP3, port 110):**_

Aug  6 19:47:14 dc-ad /sbin/e-smith/db[16688]: 
/var/lib/nethserver/db/configuration: OLD 
p3scan=service|SSLScan|enabled|SpamScan|enabled|TCPPort|8110|Template|/etc/p3scan/p3scan-en.mail|VirusScan|enabled|access||status|enabled
Aug
  6 19:47:14 dc-ad /sbin/e-smith/db[16688]: 
/var/lib/nethserver/db/configuration: NEW 
p3scan=service|SSLScan|enabled|SpamScan|enabled|TCPPort|8110|Template|/etc/p3scan/p3scan-en.mail|VirusScan|disabled|access||status|enabled
Aug
  6 19:47:14 dc-ad dbus-daemon: dbus[646]: [system] Activating via 
systemd: service name='org.freedesktop.timedate1' 
unit='dbus-org.freedesktop.timedate1.service'
Aug  6 19:47:14 dc-ad dbus[646]: [system] Activating via systemd: 
service name='org.freedesktop.timedate1' 
unit='dbus-org.freedesktop.timedate1.service'
Aug  6 19:47:14 dc-ad systemd: Starting Time & Date Service...
Aug  6 19:47:14 dc-ad dbus[646]: [system] Successfully activated service
 'org.freedesktop.timedate1'
Aug  6 19:47:14 dc-ad dbus-daemon: dbus[646]: [system] Successfully 
activated service 'org.freedesktop.timedate1'
Aug  6 19:47:14 dc-ad systemd: Started Time & Date Service.
Aug  6 19:47:14 dc-ad esmith::event[16692]: Event: 
nethserver-p3scan-update
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
configuration
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
certificates
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
networks
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
accounts
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
routes
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
hosts
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
proxypass
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
fwrules
Aug  6 19:47:14 dc-ad esmith::event[16692]: Migrating existing database 
fwservices
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
portforward
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
tc
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
dhcp
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
contentfilter
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
vhosts
Aug  6 19:47:15 dc-ad esmith::event[16692]: Migrating existing database 
domains
Aug  6 19:47:15 dc-ad esmith::event[16692]: Action: 
/etc/e-smith/events/nethserver-p3scan-update/S00initialize-default-databases
 SUCCESS [0.488224]
Aug  6 19:47:15 dc-ad esmith::event[16692]: expanding 
/etc/mail/spamassassin/bwlist.cf
Aug  6 19:47:15 dc-ad esmith::event[16692]: expanding 
/etc/mail/spamassassin/p3scan.cf
Aug  6 19:47:15 dc-ad esmith::event[16692]: expanding 
/etc/p3scan/p3scan.conf
Aug  6 19:47:15 dc-ad esmith::event[16692]: Action: 
/etc/e-smith/events/actions/generic_template_expand SUCCESS [0.282509]
Aug  6 19:47:15 dc-ad esmith::event[16695]: Event: 
nethserver-firewall-base-save nethserver-p3scan-update
Aug  6 19:47:15 dc-ad esmith::event[16695]: Action: 
/etc/e-smith/events/nethserver-firewall-base-save/S02providers-cleanup 
SUCCESS [0.206411]
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding /etc/collectd.conf
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding /etc/hosts
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding /etc/lsm/lsm.conf
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/actions
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/hosts
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/interfaces
Aug  6 19:47:15 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/maclist
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/mangle
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/masq
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding /etc/shorewall/nat
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/policy
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/providers
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/rtrules
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/rules
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/shorewall.conf
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/stoppedrules
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/tcinterfaces
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/tcpri
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/tunnels
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/shorewall/zones
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/etc/collectd.d/ping.conf
Aug  6 19:47:16 dc-ad esmith::event[16695]: expanding 
/var/www/html/wpad.dat
Aug  6 19:47:16 dc-ad esmith::event[16695]: Action: 
/etc/e-smith/events/actions/generic_template_expand SUCCESS [0.621858]
Aug  6 19:47:16 dc-ad systemd: Reloading.
Aug  6 19:47:16 dc-ad systemd: Configuration file 
/usr/lib/systemd/system/auditd.service is marked world-inaccessible. 
This has no effect as configuration data is accessible via APIs without 
restrictions. Proceeding anyway.
Aug  6 19:47:16 dc-ad kernel: ipt_ULOG: ULOG: fail to register logger.
Aug  6 19:47:17 dc-ad kernel: ipt_ULOG: ULOG: fail to register logger.
Aug  6 19:47:17 dc-ad kernel: ipt_ULOG: ULOG: fail to register logger.
Aug  6 19:47:17 dc-ad logger: Shorewall reloaded
Aug  6 19:47:17 dc-ad esmith::event[16695]: [NOTICE] Shorewall restart
Aug  6 19:47:17 dc-ad esmith::event[16695]: Action: 
/etc/e-smith/events/nethserver-firewall-base-save/S89nethserver-shorewall-restart
 SUCCESS [1.563803]
Aug  6 19:47:18 dc-ad systemd: Reloading.
Aug  6 19:47:18 dc-ad systemd: Configuration file 
/usr/lib/systemd/system/auditd.service is marked world-inaccessible. 
This has no effect as configuration data is accessible via APIs without 
restrictions. Proceeding anyway.
Aug  6 19:47:18 dc-ad esmith::event[16695]: [INFO] lsm is disabled: 
skipped
Aug  6 19:47:18 dc-ad esmith::event[16695]: [INFO]
Aug  6 19:47:18 dc-ad systemd: Reloading.
Aug  6 19:47:18 dc-ad systemd: Configuration file 
/usr/lib/systemd/system/auditd.service is marked world-inaccessible. 
This has no effect as configuration data is accessible via APIs without 
restrictions. Proceeding anyway.
Aug  6 19:47:18 dc-ad esmith::event[16695]: [INFO] service collectd 
restart
Aug  6 19:47:18 dc-ad collectd[15949]: Exiting normally.
Aug  6 19:47:18 dc-ad collectd[15949]: collectd: Stopping 5 read 
threads.
Aug  6 19:47:18 dc-ad collectd[15949]: rrdtool plugin: Shutting down the
 queue thread. This may take a while.
Aug  6 19:47:18 dc-ad systemd: Stopping Collectd statistics daemon...
Aug  6 19:47:18 dc-ad collectd[15949]: ping plugin: Shutting down 
thread.
Aug  6 19:47:18 dc-ad collectd[15949]: collectd: Stopping 5 write 
threads.
Aug  6 19:47:18 dc-ad systemd: Started Collectd statistics daemon.
Aug  6 19:47:18 dc-ad systemd: Starting Collectd statistics daemon...
Aug  6 19:47:18 dc-ad esmith::event[16695]: [INFO] collectd restart
Aug  6 19:47:18 dc-ad esmith::event[16695]: Action: 
/etc/e-smith/events/actions/adjust-services SUCCESS [0.384126]
Aug  6 19:47:18 dc-ad esmith::event[16695]: Event: 
nethserver-firewall-base-save SUCCESS
Aug  6 19:47:18 dc-ad esmith::event[16692]: Action: 
/etc/e-smith/events/nethserver-p3scan-update/S20firewall-adjust SUCCESS 
[2.879434]
Aug  6 19:47:18 dc-ad collectd[17182]: Initialization complete, entering
 read-loop.
Aug  6 19:47:18 dc-ad systemd: Reloading.
Aug  6 19:47:18 dc-ad systemd: Configuration file 
/usr/lib/systemd/system/auditd.service is marked world-inaccessible. 
This has no effect as configuration data is accessible via APIs without 
restrictions. Proceeding anyway.
Aug  6 19:47:18 dc-ad systemd: Starting p3scan proxy...
Aug  6 19:47:18 dc-ad p3scan[17220]: P3Scan Version 2.3.2
Aug  6 19:47:18 dc-ad p3scan[17220]: Selected scannertype: basic (Basic 
file invocation scanner)
Aug  6 19:47:18 dc-ad p3scan[17220]: Listen now on 0.0.0.0:8110
Aug  6 19:47:18 dc-ad p3scan[17221]: Changing uid (we are root)
Aug  6 19:47:18 dc-ad p3scan[17221]: Running as user: amavis
Aug  6 19:47:18 dc-ad systemd: Started p3scan proxy.
Aug  6 19:47:18 dc-ad esmith::event[16692]: [INFO] p3scan has been 
started
Aug  6 19:47:18 dc-ad esmith::event[16692]: 
Aug  6 19:47:18 dc-ad esmith::event[16692]: Action: 
/etc/e-smith/events/actions/adjust-services SUCCESS [0.367546]
Aug  6 19:47:18 dc-ad esmith::event[16692]: Event: 
nethserver-p3scan-update SUCCESS
 esmith::event[16692]: Event: nethserver-p3scan-update SUCCESS

Aug  6 19:55:51 dc-ad p3scan[17851]: POP3 Connection from 192.168.1.11:62802
Aug  6 19:55:51 dc-ad p3scan[17851]: Real-server address is 91.195.62.2:110
Aug  6 19:55:51 dc-ad p3scan[17851]: Ignoring servers TOP capability...
Aug  6 19:55:51 dc-ad p3scan[17851]: Ignoring servers PIPELINING capability...
Aug  6 19:56:03 dc-ad p3scan[17851]: Session done (Clean Exit). Mails: 1 Bytes: 8489
Aug  6 19:56:18 dc-ad clamd: SelfCheck: Database status OK.
Aug  6 19:56:18 dc-ad clamd[2199]: SelfCheck: Database status OK.
Aug  6 19:57:35 dc-ad p3scan[17986]: POP3 Connection from 192.168.1.11:62833
Aug  6 19:57:35 dc-ad p3scan[17986]: Real-server address is 91.195.62.2:110
Aug  6 19:57:35 dc-ad p3scan[17986]: Ignoring servers TOP capability...
Aug  6 19:57:35 dc-ad p3scan[17986]: Ignoring servers PIPELINING capability...
Aug  6 19:57:46 dc-ad p3scan[17986]: Session done (Clean Exit). Mails: 1 Bytes: 126525

Please advise me!

TIA,
Gabriel

EDIT - UPDATE:

Sometimes, when I switch “Antivirus” from “enabled” to “disabled” or, vice versa, the “p3scan” service goes to “Stopped”.

1 Like