[exim] Rspamd 3.3 , exim 4.9.4 no scan incoming mails

2022-12-23 Thread Mueller via Exim-users
Dear all, I set up spam filtering with rspamd and exim. But only internal emails are scanned. Emails fetched by fetchmail are not scanned. How do I configure rspamd/exim to scan incoming mails from fetchmail? My config so far: acl_smtp_mail = acl_check_mail acl_smtp_rcpt = acl_check_rcpt acl_smt

[exim] Howto rspamd exim

2022-12-14 Thread Mueller via Exim-users
Hello to all, is there a good howto making exim work with rspamd? Greetings Daniel -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/

[exim] Catch friendly Name from $h_from

2021-12-07 Thread Mueller via Exim-users
Dear All, I try to catch the friendly name from within $h_from (ex h_from: "Tester"). I have set it in acl_check_data with no success: drop condition = ${if match{$h_from:}{"tester.*<"}} message = Blacklisted. log_message = Tester spamer. What do I miss? Greetings Daniel --

Re: [exim] exim rewrite envelope-from for one router only

2019-03-22 Thread Mueller via Exim-users
Try it this way: My Example, where @tplk.loc change to s @your.domain And /etc/exim/lokal_remote is the alias file change the path to where you want In the alias file: Your.real@your.domain : remote=my-alias[-bounces]@mydomain.example.com # REWRITE CONFIGURATION

Re: [exim] Creating local blacklist

2018-04-25 Thread Mueller via Exim-users
Hello, I do this job in acl_check_data. In the file deny_senders I put the domains and emailadresses I don' t want to reach any of my users (spam). Deny_senders ex.: *@qq.com *@svensinc.biz.ua *@intersallem.eu *@avoca37.org *@bellis.host *@limanaki.co.ua *@melia.biz.ua *@sunrise.co.ua *@mudurnu

Re: [exim] acl_check_data discard, deny condition not working

2018-03-29 Thread Mueller via Exim-users
ged. Greetings Daniel -Ursprüngliche Nachricht- Von: Jeremy Harris via Exim-users [mailto:exim-users@exim.org] Gesendet: Donnerstag, 29. März 2018 11:24 An: exim-users@exim.org Betreff: Re: [exim] acl_check_data discard, deny condition not working On 29/03/18 10:05, Mueller via Exim

[exim] acl_check_data discard, deny condition not working

2018-03-29 Thread Mueller via Exim-users
Dear All, I tried a deny condition in the section, acl_check_data : acl_smtp_data = acl_check_data acl_check_data deny condition = ${if match{$h_x-spam-status:}{\NUNPARSEABLE_RELAY\N}} log_message= The deny or discard condition does not work, but warn condition does: warn condition = ${if ma

[exim] Try to write an acl /acl_smtp_data to read header content spam

2018-03-23 Thread Mueller via Exim-users
Dear all, I try to write an acl in the section acl_smtp_data. The purpose is to catch an entry in a specific spam header :UNPARSEABLE_RELAY. If exim find that entry it should produce a log entry like "unparseable entry found". In did it like that warn condition = ${if match{h_x-spam-status:}{"UNP

[exim] unknown ACL condition/modifier

2018-03-19 Thread Mueller via Exim-users
Dear all, I have a problem concerning exim 4.72. It seems that remove_header is unknown within this version: error in ACL: unknown ACL condition/modifier in "remove_header"!? Is this true? The whole line is: remove_header = disposition-notification-to Greatings Daniel -- ## List details

[exim] Write acl to delete incomming emails if they have a chinese subject

2018-03-19 Thread Mueller via Exim-users
Hello to all, I try to write acl for incomming chinese spam. Does anyone know how to check for chinese content? Am I right with the $mime_charset = gb2312 (Chinese)? Greetings Daniel -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.e

[exim] WG: Remove header disposition-notification-to in an acl

2018-03-16 Thread Mueller via Exim-users
I tried this without any success condition = ${if def:disposition-notification-to: {1}{0}} headers_remove = disposition-notification-to -Ursprüngliche Nachricht- Von: Mueller [mailto:muel...@tplk.loc] Gesendet: Freitag, 16. März 2018 09:07 An: 'exim-users@exim.org' Betreff: Remove

[exim] Remove header disposition-notification-to in an acl

2018-03-16 Thread Mueller via Exim-users
I am trying to remove a soecial header from within acl_check_recpi: header disposition-notification-to. Is this possible? Greetings Daniel -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this l

Re: [exim] Router: check for domain in list

2018-02-26 Thread Mueller via Exim-users
senders= lsearch file /etc/exim4/virtualdomains.txt Greetings Daniel EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 Email: muel...@tropenklinik.de www.tropenklinik.de -Ursprüngliche N

Re: [exim] Antivirus for Linux and Exim

2018-02-26 Thread Mueller via Exim-users
Hi again, just the use of clamav will run without issues: av_scanner = clamd:127.0.0.1 3310 Sophos: av_scanner = sophie:/var/run/sophie Avast: av_scanner = avast:/var/run/avast/scan.sock:FLAGS -fullfiles:SENSITIVITY -pup av_scanner = avast:your.ip.nr 5036 https://www.exim.org/exim-html-current/

Re: [exim] exim dovecot sieve integration

2018-02-21 Thread Mueller via Exim-users
First lookup the log-files: exim -bP log_file_path will show you. Here is mine: Loading lookup modules from /usr/lib64/exim/4.72-7.el6/lookups Loaded 0 lookup modules log_file_path = /var/log/exim/%s.log I think on centos this is the normal way it should be. My exim runs with the user exim,

Re: [exim] exim dovecot sieve integration

2018-02-21 Thread Mueller via Exim-users
This is my dovecot_delivery dovecot_virtual_delivery: driver = pipe command = /usr/libexec/dovecot/dovecot-lda -d $local_part@$domain -f $sender_address message_prefix = message_suffix = delivery_date_add envelope_to_add return_path_add log_output user = vmail temp_errors = 64 :

Re: [exim] Get the value of an external script in a condition

2018-02-20 Thread Mueller via Exim-users
t change every day, I wonder how easy it would be to cache the results. whois isn't as easy to script as you may wish (Tony Finch has a rant about this at https://fanf.dreamwidth.org/113367.html ) but it may be sufficient for your use. On Tue, 20 Feb 2018, Mueller via Exim-users wrote:

Re: [exim] Get the value of an external script in a condition

2018-02-20 Thread Mueller via Exim-users
ailto:exim-users@exim.org] Gesendet: Dienstag, 20. Februar 2018 10:35 An: exim-users@exim.org Betreff: Re: [exim] Get the value of an external script in a condition On 20/02/18 09:15, Mueller via Exim-users wrote: > #!/bin/bash > out=$(/usr/bin/whois $1|grep "Registrar:"| cut -d &#

[exim] Get the value of an external script in a condition

2018-02-20 Thread Mueller via Exim-users
Dear all, I try to put an acl in my exim config. I want to get the registrar of the "$sender_address_domain" of incoming mails. So i can block known spam-registrars (Panama). This is my shell script: #!/bin/bash out=$(/usr/bin/whois $1|grep "Registrar:"| cut -d ':' -f2| awk '{print $1}') echo "$