Nethserver-rspamd a new module

,

hmm, do we have to install the pop3 proxy from software-center?

guess not… it is implemented, right?

1 Like

During QA it’s not available from Software Center. Required installation/upgrade commands are documented here

https://github.com/NethServer/dev/issues/5394#issuecomment-367295232

1 Like

@davidep, do we need to think to bypass the proxy for rspamd.com, rspamd is permanently asking request to this domains, but it does it also for many Blacklist websites also

The traffic from NethServer itself is not proxied.
AFAIU, the service running on port 11335 on rspamd.com is down.

[root@n ~]# host rspamd.com
rspamd.com has address 88.99.142.95
rspamd.com mail is handled by 10 mail.highsecure.ru.
[root@n ~]# nc -v 88.99.142.95 11335
Ncat: Version 6.40 ( http://nmap.org/ncat )
Ncat: No route to host.
1 Like

My mistake: the rspamd.com service runs on udp:

[root@n ~]# nc -u -v 88.99.142.95 11335
Ncat: Version 6.40 ( http://nmap.org/ncat )
Ncat: Connected to 88.99.142.95:11335.

Using tcpdump on the firewall I can see traffic going back and forth:

[root@n ~]# tcpdump -nn -p -i en2 host 88.99.142.95 -s 1500 -A
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en2, link-type EN10MB (Ethernet), capture size 1500 bytes
18:13:31.055404 IP 93.57.48.69.52416 > 88.99.142.95.11335: UDP, length 160
E....F@.?...]90EXc._..,G..F.rsfe...k...z..l.e2.
...M.7.p:g..\..y.`$..rz.z.8.r....j.(lq.......s_....b}.....AI.c...TG....D...D.n.`i......So..6.....m...`.P.Mz..H.if`..!.F.@T..C.FggH..6..I.4.\
18:13:31.089727 IP 88.99.142.95.11335 > 93.57.48.69.52416: UDP, length 56
E..T..@.4..HXc._]90E,G...@...i........_....._..s.B..?(c.AB...I..Z....$!.u-..%|....>/

But the timeout errors are still there in the logs. :frowning:

1 Like

Hi all,
the desire to try your work is always stronger than the stability of the system.

after i try to update existing enviroment pop3 proxy to testing mail2-p3scan

i found this in /var/log/message

systemd: Starting p3scan proxy...
Feb 26 18:03:01 proxy p3scan[27849]: P3Scan Version 2.3.2
Feb 26 18:03:01 proxy p3scan[27849]: Selected scannertype: basic (Basic file invocation scanner)
Feb 26 18:03:01 proxy p3scan[27849]: Listen now on 0.0.0.0:8110
Feb 26 18:03:01 proxy systemd: Started p3scan proxy.
Feb 26 18:03:01 proxy p3scan: /bin/chown: invalid user: ‘p3scan:p3scan’
Feb 26 18:03:01 proxy p3scan[27850]: Changing uid (we are root)
Feb 26 18:03:01 proxy p3scan[27850]: ERR: Unknown User 'p3scan'
Feb 26 18:03:01 proxy p3scan[27850]: ERR: Exiting now...
Feb 26 18:03:01 proxy p3scan: ERR: Unknown User 'p3scan'

i have manually add user
useradd -d /var/spool/p3scan -g p3scan -M -s /sbin/nologin p3scan

and fix permission (old amavis)
chown p3scan:p3scan -R /var/spool/p3scan
chown p3scan:p3scan -R /var/run/p3scan

now everything works fine
PS: in a clean setup i havent this problem

3 Likes

Hi @sharpec, happy to see you again!

Thank you very much for your test :star_struck: I’ll check out p3scan package again tomorrow!


As the package is still in testing I move this discussion under the rspamd thread.

2 Likes

in this period I could not read much of the forum, but this rspamd story made my “fingers prick”.

allow me to report during the upgrade

Feb 26 21:05:52 proxy systemd: Reloading.
Feb 26 21:05:52 proxy esmith::event[5283]: [INFO] service postfix is disabled: skipped

config setprop postfix status enabled
signal-event nethserver-mail-server-save

correct?

Postfix disabled in DB? :thinking:

It’s really strange: I’m not aware of any code that alters that prop.

1 Like

something in logs messages or maillog ???

ok, i have found this at time of yum swap

messages

Feb 26 17:20:25 proxy esmith::event[2992]: expanding /etc/postfix/main.cf
Feb 26 17:20:25 proxy esmith::event[2992]: expanding /etc/postfix/sasl_passwd
Feb 26 17:20:25 proxy esmith::event[2992]: expanding /etc/postfix/tls_policy
Feb 26 17:20:28 proxy postfix: /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: submission_smtpd_milters=unix:/var/run/rspamd/worker-proxy, unix:/var/run/opendkim/milter
Feb 26 17:20:28 proxy esmith::event[2992]: [INFO] service postfix is disabled and has been stopped
Feb 26 17:21:59 proxy esmith::event[6388]: expanding /etc/postfix/access.cidr
Feb 26 17:21:59 proxy esmith::event[6388]: expanding /etc/postfix/main.cf
Feb 26 17:21:59 proxy esmith::event[6388]: expanding /etc/postfix/master.cf
Feb 26 17:21:59 proxy esmith::event[6388]: expanding /etc/postfix/mynetworks.cidr
Feb 26 17:21:59 proxy esmith::event[6388]: expanding /etc/postfix/transport
Feb 26 17:22:00 proxy esmith::event[6388]: [INFO] service postfix is disabled: skipped

maillog

Feb 26 17:20:28 proxy postfix/postfix-script[3032]: stopping the Postfix mail system
Feb 26 17:20:28 proxy postfix/master[18577]: terminating on signal 15
Feb 26 17:30:17 proxy postfix/postqueue[11960]: warning: Mail system is down -- accessing queue directly

this was during the installation of what packages ?

maybe you could past a gist of the full log please

A post was split to a new topic: Email 2 (Beta) released

I guess that we can close that, let me know otherwise