from time to time you can see this error in the history tab, spam hunt does a lot of queries to dns, some might not be reachable…if it is all the time it is an issue
its all the time and i also see it on evebox, cause it is blocked, but i have no idea why cause in ips i set the dns rules to blocked, only to warning
15.2.2018, 07:36:47 | rspamd_proxy | 14594 | lua | d2cf42 | error querying dns: query timed out |
---|---|---|---|---|---|
15.2.2018, 07:36:36 | rspamd_proxy | 14594 | lua | 9e3e50 | error querying dns: query timed out |
15.2.2018, 07:36:29 | rspamd_proxy | 14594 | lua | f11e7a | error querying dns: query timed out |
15.2.2018, 07:29:47 | rspamd_proxy | 14594 | lua | 5335b9 | error querying dns: query timed out |
rules in your firewall ?
nothing from the dns side… needs rspamd port 80 open?
and it seems rspamd only checks the outgoing emails, not the incoming emails
Yes, the getmail workaround for @hucky still relies on spamassassin to filter spam. A nethserver-mail2-getmail package is soon to come.
Seems a good idea, as it’s like amavisd does now. I like to adjust the things in a way that resembles the previous behavior.
Had figured out what the DNS Problem is, if i switch the DNS rules in Suricata at block it blocks every DNS query. never had this before, so sorry for bring it here up.
I have one server with smarthost and getmail so I am looking forward to test nethserver-mail2-getmail…
Just see i got 2 new entrys at rspamd
15.2.2018, 11:10:16 | rspamd_proxy | 14594 | proxy | b3e901 | got IO timeout with server rspamd.com(88.99.142.95), after 3 retransmits |
---|---|---|---|---|---|
15.2.2018, 11:05:35 | rspamd_proxy | 14594 | proxy | ade00a | got IO timeout with server rspamd.com(88.99.142.95), after 3 retransmits |
Just an Info
Did you try the legacy-history and restarted redis and rspamd
yep, do it that way you told me today morning. just for beeing sure, i build the /history_redis.conf cause the file doesent exist.
and now the error is still occurring, you can reach the web UI ?
yep, can reach the webui, that was also before no problem.
the error occurs not every time. the last time was what i post here before
Ready! Rspamd as a new nethserver-mail-filter · Issue #5394 · NethServer/dev · GitHub
You can upgrade getmail from nethserver-testing repo. Follow instructions here:
Edit: updated manual page
thank for monitoring all issues
Installation was succesful, no errors or fails in /var/log/messages. First mails came in via connector and were scanned by rspamd. Looks really good so far!
also at my side rspamd seems to work well. i got one problem, when a spammessage is received it trys to send a mail to spam@spamtrain.nh but it uses the internal mail adress and gives an error cause the intern mailserver has the internal domain xxxxx@xxxx.lan
----- The following addresses had permanent fatal errors -----xxxxxx@xxxxxxxxx.lan+learn_spam@spamtrain.nh
any suggestions?
The internally visible only spamtrain.nh
is used to train the bayesian filters since ns6. When an IMAP message is moved to the Junk mail folder (formerly junkmail) it is also sent to that internal domain.
Could you attach any relevant log message from /var/log/maillog
?
BTW: on my mail2 server it seems to work correctly
In the Log i found:
Feb 16 05:59:29 sbs sendmail[18819]: w1G4xTMb018819:xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Feb 16 05:59:29 sbs sendmail[18819]: w1G4xTMb018819: w1G4xTMc018819: DSN: xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Feb 16 05:59:30 sbs sendmail[18833]: w1G4xUe7018833: xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Feb 16 05:59:30 sbs sendmail[18833]: w1G4xUe7018833: w1G4xUe8018833: DSN: xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Feb 16 06:00:32 sbs sendmail[18973]: w1G50WmZ018973: xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Feb 16 06:00:32 sbs sendmail[18973]: w1G50WmZ018973: w1G50Wma018973: DSN: xxx@xxx.lan+learn_spam@spamtrain.nh… Invalid route address
Well, Postfix should know well that route! Please paste the contents of /etc/postfix/transport