good afternoon, I have a problem with spam filter, not add to the headers *** SPAM ***, I have Ipscongig3 with centos7, I'm new to ISPconfig and Centos ... I find it can be. thank you Cesar
Till Hi, thanks for your help, this is what you want? Cheers, Cesar [root@host ~]# ls -la /etc/amavisd.conf -rw-r----- 1 root root 34132 sep 8 23:53 /etc/amavisd.conf and [root@host ~]# ls -la /etc/amavisd/amavisd.conf -rw-r--r-- 1 root root 36762 sep 9 23:35 /etc/amavisd/amavisd.conf
try this: mv /etc/amavisd/amavisd.conf /etc/amavisd/amavisd.conf_bak ln -s /etc/amavisd.conf /etc/amavisd/amavisd.conf and then restart amavisd
ouch, Now I stop receiving emails, and sending those who fail ... what can I do ? back to back? Thank you PS: sorry for my English, I am using a translator to help. I am from Argentina
this is the Mail Queue, it seems that some service is denenido can be? C18B4828494F 518 Thu Sep 10 20:36:33 [email protected] (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected] 4966A8284956 9310 Thu Sep 10 20:43:08 [email protected] (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected] 16C678284959 4777 Thu Sep 10 20:45:44 [email protected] (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected] EAEC0828495C 270 Thu Sep 10 20:47:07 [email protected] (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected] 3081F828495F 2894 Thu Sep 10 20:48:49 [email protected] (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected] 3BF2C8284960 9308 Thu Sep 10 20:49:22 [email protected] (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused) [email protected]
more info... [root@host ~]# systemctl status amavisd.service amavisd.service - Amavisd-new is an interface between MTA and content checkers. Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled) Active: failed (Result: start-limit) since vie 2015-09-11 00:48:57 ART; 14s ago Docs: http://www.ijs.si/software/amavisd/#doc Process: 3730 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=13) sep 11 00:48:56 host.kaesar.com.ar systemd[1]: amavisd.service: control process exited, code=exited status=13 sep 11 00:48:56 host.kaesar.com.ar systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. sep 11 00:48:56 host.xxxxr.com.ar systemd[1]: Unit amavisd.service entered failed state. sep 11 00:48:57 host.xxxx.com.ar systemd[1]: amavisd.service holdoff time over, scheduling restart. sep 11 00:48:57 host.xxxx.com.ar systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers.... sep 11 00:48:57 host.xxxx.com.ar systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers.... sep 11 00:48:57 host.xxxx.com.ar systemd[1]: amavisd.service start request repeated too quickly, refusing to start. sep 11 00:48:57 host.xxx.com.ar systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. sep 11 00:48:57 host.xxxx.com.ar systemd[1]: Unit amavisd.service entered failed state.
Which errors do you get in the /var/log/maillog file when you restart amavisd? You can revert the above commands like this: rm /etc/amavisd/amavisd.conf mv /etc/amavisd/amavisd.conf_bak /etc/amavisd/amavisd.conf
Thanks for your help, when I amavisd restart, gives the following results [root@host log]# sudo service amavisd start Redirecting to /bin/systemctl start amavisd.service Job for amavisd.service failed. See 'systemctl status amavisd.service' and 'journalctl -xn' for details. I run the command you propose systemctl amavisd.service status, and gives the sigiente report [root@host log]# systemctl status amavisd.service amavisd.service - Amavisd-new is an interface between MTA and content checkers. Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled) Active: failed (Result: start-limit) since jue 2015-09-10 20:40:04 ART; 9s ago Docs: http://www.ijs.si/software/amavisd/#doc Process: 4282 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=13) sep 10 20:40:04 host.xxx.com.ar systemd[1]: amavisd.service: control process exited, code=exited status=13 sep 10 20:40:04 host.xxx.com.ar systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. sep 10 20:40:04 host.xxxx.com.ar systemd[1]: Unit amavisd.service entered failed state. sep 10 20:40:04 host.xxxx.com.ar systemd[1]: amavisd.service holdoff time over, scheduling restart. sep 10 20:40:04 host.xxxx.com.ar systemd[1]: Stopping Amavisd-new is an interface between MTA and content checkers.... sep 10 20:40:04 host.xxx.com.ar systemd[1]: Starting Amavisd-new is an interface between MTA and content checkers.... sep 10 20:40:04 host.xxxx.com.ar systemd[1]: amavisd.service start request repeated too quickly, refusing to start. sep 10 20:40:04 host.xxx.com.ar systemd[1]: Failed to start Amavisd-new is an interface between MTA and content checkers.. sep 10 20:40:04 host.xxxx.com.ar systemd[1]: Unit amavisd.service entered failed state.
Check your amavis-config (/etc/amavisd/amavisd.conf) for $mydomain = ‘domain.com’; # enter your domain $myhostname = 'mail.domain.com’; # enter your fqdn server-name and try to start amavis systemctl start amavisd again
genius thank you very much, now listed as active, I hope to receive mails and verify them as SPAM... this is my configruacion, the IPSConfig, I'm using the Spamfilter Policy NORMAL, Tag Level 1 4.5 50 0 0 YES ---SPAM--- ***SPAM*** -------------------------------- [root@host ~]# systemctl status amavisd.service amavisd.service - Amavisd-new is an interface between MTA and content checkers. Loaded: loaded (/usr/lib/systemd/system/amavisd.service; enabled) Active: active (running) since mié 2015-09-09 04:18:15 ART; 2 days ago Docs: http://www.ijs.si/software/amavisd/#doc Process: 84571 ExecStart=/usr/sbin/amavisd -c /etc/amavisd/amavisd.conf (code=exited, status=0/SUCCESS) Main PID: 84572 (/usr/sbin/amavi) CGroup: /system.slice/amavisd.service ├─56818 /usr/sbin/amavisd (ch4-avail) ├─57265 /usr/sbin/amavisd (ch2-avail) └─84572 /usr/sbin/amavisd (master)
You will not see any headers if the mail does not exceed the spam-score. You can see the spam-score for every message in the mail.log if you set $log_level = 3; in the amavis-config (and of course restart amavis).
hello, I can not make any mail as spam, eg spam below, where I see that level-tag has? tenfria not to have a X_SPAM brand? Thank you Return-Path: <[email protected]> X-Original-To: [email protected] Delivered-To: [email protected] Received: from localhost (unknown [127.0.0.1]) by host.kaesar.com.ar (Postfix) with ESMTP id 1560B8210AC5 for <[email protected]>; Sat, 12 Sep 2015 02:37:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at server.com.ar Received: from host.server.com.ar ([127.0.0.1]) by localhost (host.server.com.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xNDfFufhq5-4 for <[email protected]>; Fri, 11 Sep 2015 23:37:16 -0300 (ART) Received: from mail3.seriestvonline.org (mail3.seriestvonline.org [177.36.19.4]) by host.server.com.ar (Postfix) with ESMTP id 0DF0A8210AC3 for <[email protected]>; Fri, 11 Sep 2015 23:37:16 -0300 (ART) Received: from www.trading-mail.com (unknown [177.47.126.98]) by mail3.seriestvonline.org (Postfix) with ESMTP id 2EBCE12D8706 for <[email protected]>; Fri, 11 Sep 2015 22:57:15 -0300 (BRT) To: [email protected] Subject: Vivi con tranquilidad, nuevas propuestas para tu seguridad Message-ID: <[email protected]-mail.com> Date: Fri, 11 Sep 2015 23:37:02 -0300 From: "Prosegur Alarmas" <[email protected]> Reply-To: [email protected] MIME-Version: 1.0 X-Mailer-LID: 1751,1752,1844,1800 List-Unsubscribe: <http://www.trading-mail.com/unsubsc...315cf15f80674be75721dd584e89b7&L=1844&N=5689> X-Mailer-RecptId: 52547254 X-Mailer-SID: 5689 X-Mailer-Sent-By: 2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
good night, gave me as much in the parent domain, if *** SPAM *** mark, but in the 2 secundariso domains (customers) do not mark. Any idea that can be? thank you\ Cesar