#
# 10relay -- Relay transports
#
xxx.de relay:[smtp.1und1.de]:25
#
# 40spam_training
#
spamtrain.nh spamtrain
How many local-delivery domains do you have?
How many relay domains?
Is your server FQDN domain configured as local delivery?
one local the internal domain
one relay domain
yep, is configured as local delivery
Added test cases 1.3 and 2.3 to issue
https://github.com/NethServer/dev/issues/5394#issuecomment-366190203
Iām sorry, I canāt reproduce on my VM
[root@vm5 ~]# db domains show
dpnet.lan=domain
AlwaysBccAddress=
AlwaysBccStatus=disabled
Description=
DisclaimerStatus=disabled
TransportType=LocalDelivery
UnknownRecipientsActionDeliverMailbox=
UnknownRecipientsActionType=bounce
nethesis.it=domain
Description=Test
DisclaimerStatus=disabled
RelayHost=XXX.XXX.XXX.XXX
TransportType=Relay
When moving a message to Junk:
Feb 16 12:00:25 vm5 postfix/pickup[10874]: E96D34DA74D: uid=989 from=<root@vm5.dpnet.lan>
Feb 16 12:00:25 vm5 spam-training.sh/first.user@dpnet.lan[12186]: Message enqueued as learn_spam
Feb 16 12:00:25 vm5 postfix/cleanup[12150]: E96D34DA74D: message-id=<N1msdrbJXNPfV4wg9>
Feb 16 12:00:25 vm5 opendkim[10481]: E96D34DA74D: no signing table match for 'xl6Ety00V@fismat1.fcfm.buap.mx'
Feb 16 12:00:25 vm5 postfix/qmgr[10875]: E96D34DA74D: from=<root@vm5.dpnet.lan>, size=5108, nrcpt=1 (queue active)
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; rspamd_controller_check_password: allow unauthorized connection from a trusted IP 127.0.0.1
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; rspamd_mime_parse_message: cannot find content-type for a message, assume text/plain
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; rspamd_mime_part_get_cte: detected missing CTE for part as: 7bit
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; rspamd_message_parse: loaded message; id: <N1msdrbJXNPfV4wg9>; queue-id: <undef>; size: 4969; checksum: <a9847529b6f6257f2a3735ed88bb98ca>
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; bayes_classify: skip classification as ham class has not enough learns: 0, 200 required
Feb 16 12:00:26 vm5 rspamd[10936]: <24402d>; csession; rspamd_controller_learn_fin_task: <127.0.0.1> learned message as spam: N1msdrbJXNPfV4wg9
Feb 16 12:00:26 vm5 postfix/pipe[12188]: E96D34DA74D: to=<first.user@dpnet.lan+learn_spam@spamtrain.nh>, relay=spamtrain, delay=0.15, delays=0.01/0.01/0/0.13, dsn=2.0.0, status=sent (delivered via spamtrain service)
Feb 16 12:00:26 vm5 postfix/qmgr[10875]: E96D34DA74D: removed
Installed RPMs
[root@vm5 ~]# rpm -qa | grep ^neth | sort
nethserver-antivirus-1.2.1-1.ns7.noarch
nethserver-backup-config-2.0.4-1.ns7.noarch
nethserver-base-3.1.1-1.ns7.noarch
nethserver-diagtools-1.0.1-1.ns7.noarch
nethserver-directory-3.2.3-1.ns7.noarch
nethserver-dnsmasq-1.6.6-1.ns7.noarch
nethserver-duc-1.4.3-1.ns7.noarch
nethserver-firewall-base-3.2.11-1.ns7.noarch
nethserver-hosts-1.2.2-1.ns7.noarch
nethserver-httpd-3.1.4-1.ns7.noarch
nethserver-httpd-admin-2.0.14-1.ns7.noarch
nethserver-lang-en-1.2.5-1.ns7.noarch
nethserver-letsencrypt-1.1.4-1.ns7.noarch
nethserver-lib-2.2.6-1.ns7.noarch
nethserver-lsm-1.2.3-1.ns7.noarch
nethserver-mail2-common-2.0.0-1.44.g8322f06.ns7.noarch
nethserver-mail2-filter-2.0.0-1.44.g8322f06.ns7.noarch
nethserver-mail2-getmail-2.0.0-1.44.g8322f06.ns7.noarch
nethserver-mail2-server-2.0.0-1.44.g8322f06.ns7.noarch
nethserver-mail-smarthost-1.0.0-1.ns7.noarch
nethserver-nethforge-release-7-0.3.ns7.noarch
nethserver-ntp-1.1.3-1.ns7.noarch
nethserver-openssh-1.2.1-1.ns7.noarch
nethserver-phonehome-1.2.1-1.ns7.noarch
nethserver-php-1.2.0-1.ns7.noarch
nethserver-release-7-5.ns7.noarch
nethserver-smartd-1.1.0-1.ns7.noarch
nethserver-sssd-1.3.6-1.ns7.noarch
nethserver-unbound-1.1.0-1.ns7.noarch
nethserver-yum-1.4.1-1.ns7.noarch
okay, will check it later, unfortunately i got a problem with the tls certificate after try to install the acme.sh solution.
I suggest to remove the getmail template-custom and update the testing packages
yum --enablerepo=nethserver-testing update nethserver-mail2-\*
I am still running the classic anti spam software with my SOGo mail environment. If I want to switch to rspamd, what would it take? Could use some guidance/howto hereā¦
I donāt want to break my live email serverā¦
The beta is still on QA/testing phase. Thanks to @hucky we ironed out a lot of kinks, but there could be new bugs. If you want to contribute to QA follow the documented test cases:
https://github.com/NethServer/dev/issues/5394#issuecomment-365248089
Otherwise, if you want to attempt an upgrade and test-in-production:
http://docs.nethserver.org/en/latest/mail2.html#upgrade-procedures
To give you an ideaā¦
Rspamd ROCKS!
one giant leap for the Nethmankind
Thnx for the info. I am still unsure how to go further. The manual states the upgrade path from nethserver-mail, mail-proxy and pop3 connector. But I am running SOGo (and would like to keep using that). Is there an upgrade path for that too?
Or is SOGo just an application on top of nethserver-mail, and should I use the upgrade path from http://docs.nethserver.org/en/latest/mail2.html#from-email-module ?
Yes, itās just an application over the nethserver-mail stack. Thereās no special requirement for SOGo. Same for WebTop5 Roundcube & co.
BTW weāre still missing a nethserver-p3scan
upgrade path. Weāre working on it.
Then I am curious why nethserver-mail is not installed when I look in Software center?
SOGo is installed and working as it should.
The answer is in the output of
rpm -qa | grep ^neth | sort
So it looks like nethserver-mail is installed:
nethserver-mail-common-1.6.6-1.ns7.noarch
nethserver-mail-server-1.11.0-1.ns7.noarch
nethserver-mail-smarthost-1.0.0-1.ns7.noarch
Why isnāt it marked as installed module in software center?
Youāre missing the mail-filter RPM. Itās actually not installed
So, I should start installing rspamd as mailfilterā¦ will make a snapshot first and hope nothing breaksā¦
I also use it with Sogo and it works very well. Today i update to nethserver-mail2-getmail-2.0.0-1.45 also without Problems. The only thing what i guess it the higher cpu load, could it be? Anyway, it seems to work fineā¦
Normally the cpu load comes when you use the history tab, we should go to the legacy history like I mentionned aboveā¦during the time the lead dev fixes the issue.
If the load comes without consulting the history, please raise your hand
Do you have an idea of when it will be fixed?