[exim] Please untainted string

2023-08-17 Thread Sławomir Dworaczek via Exim-users
Helo please untainted string thank you and regards deny message = "no no no" condition = ${if exists{/etc/exim/${local_part}@${domain}}{1}{0}} senders = ! /etc/exim/${local_part}@${domain} -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists

[exim] Re: Please untainted string

2023-08-21 Thread Sławomir Dworaczek via Exim-users
Helo Thank you for your answer Unfortunately failed to expand ACL string "${if!eq{}{${lookup{{local_part}@${domain}}dsearch{/etc/exim": missing lookup type Regards Slawek -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.li

[exim] Secure email group

2023-08-25 Thread Sławomir Dworaczek via Exim-users
helo I'm looking for a way to secure sending mail to a user group alias eg in file mydom...@myhost.com I have users john: user1 edit: user2 bob: user3 allusers: user1, user2, user3 deny message = "no access to send mail to this address" condition = ${if exists{/etc/exim/${local_part_data}@${d

[exim] how to enable both spamassassin and rspamd to run together

2023-09-05 Thread Sławomir Dworaczek via Exim-users
Heloo Is it possible to run spamassassin and rspamd at the same time spamd_address = 127.0.01 783 : 127.0.0.1 11333 variant=rspamdthis rule unfortunately will not allow spamassassin and rspamd to run at the same timeregardsslawek -- ## subscription configuration (requires account): ## https:/

[exim] Re: how to enable both spamassassin and rspamd to run together

2023-09-06 Thread Sławomir Dworaczek via Exim-users
ct: [exim] Re: how to enable both spamassassin and rspamd to run together On 05/09/2023 17:04, Sławomir Dworaczek via Exim-users wrote: Is it possible to run spamassassin and rspamd at the same time Yes. (Although I don't use rspamd this should work.) See: https://www.exim.org/e

[exim] Fw: Re: how to enable both spamassassin and rspamd to run together

2023-09-06 Thread Sławomir Dworaczek via Exim-users
Exim-users < exim-users@lists.exim.org> wrote: On 05/09/2023 17:04, Sławomir Dworaczek via Exim-users wrote: > Is it possible to run spamassassin and rspamd at the same time Yes. (Although I don't use rspamd this should work.) See: https://www.exim.org/exim-html-current/doc/html/spec_html

[exim] Exim filter get number before the dot

2023-09-09 Thread Sławomir Dworaczek via Exim-users
Heloo In exim filter, numeric values in the "is above" rule are only accepted as integers I have to execute the delivery command if the header value is above some number, unfortunately many of them are written in the header and are decimal numbers, as a result I get an error error in filter f

[exim] Re: Exim filter get number before the dot

2023-09-09 Thread Sławomir Dworaczek via Exim-users
r before the dot On Sat, Sep 09, 2023 at 02:43:52PM +0200, Sławomir Dworaczek via Exim-users wrote: here is my expression if $h_X-Spam-Potential: is not "" and ${sg{$h_X-Spam-Potential:}{^(\d+)\..*}{$1}} is above 16 then .. theoretically, only the number 16 before the do

[exim] Re: Exim filter get number before the dot

2023-09-09 Thread Sławomir Dworaczek via Exim-users
xim filter get number before the dot On 09/09/2023 13:43, Sławomir Dworaczek via Exim-users wrote: In exim filter, numeric values in the "is above" rule are only accepted as integers I have to execute the delivery command if the header value is above some number, unfortunately many of

[exim] Re: Exim filter get number before the dot

2023-09-09 Thread Sławomir Dworaczek via Exim-users
lawek - Original Message - From: "Jeremy Harris via Exim-users" To: Sent: Saturday, September 9, 2023 3:11 PM Subject: [exim] Re: Exim filter get number before the dot On 09/09/2023 13:43, Sławomir Dworaczek via Exim-users wrote: In exim filter, numeric values in t

[exim] Spam problem

2024-10-25 Thread Sławomir Dworaczek via Exim-users
recently I receive a lot of spam that looks like it was sent from my address to my address I added to the configuration: set acl_m0 = authorizedrelay deny message = 5.7.0 You can't spoof the domains this server is authorative for sender_domains = ^(?i).*(mydomain.pl)\$ deny message = 5.7.0 You

[exim] Re: Spam problem

2024-10-26 Thread Sławomir Dworaczek via Exim-users
: Sent: Friday, October 25, 2024 11:00 AM Subject: [exim] Re: Spam problem 25.10.24 00:27, Sławomir Dworaczek via Exim-users: recently I receive a lot of spam that looks like it was sent from my address to my address I added to the configuration: set acl_m0 = authorizedrelay deny message =

[exim] Re: ACL add header bogofilter

2025-03-15 Thread Sławomir Dworaczek via Exim-users
y, March 15, 2025 9:55 PM Subject: [exim] Re: ACL add header bogofilter On 3/15/25 8:06 PM, Sławomir Dworaczek via Exim-users wrote: set acl_m_bogosity = ${run{/usr/local/bin/bogofilter -d /var/spool/bogofilter -l -p -e -u < $message_body}} You are assuming it is run via a shell. --

[exim] Re: problem exim transport

2025-03-14 Thread Sławomir Dworaczek via Exim-users
uot;Jeremy Harris via Exim-users" To: Sent: Friday, March 14, 2025 12:19 AM Subject: [exim] Re: problem exim transport On 3/13/25 10:58 PM, Sławomir Dworaczek via Exim-users wrote: hello i have a problem with exim configuration, specifically returning from bogo_transport to the begin

[exim] ACL add header bogofilter

2025-03-15 Thread Sławomir Dworaczek via Exim-users
Helo I'm trying to move the header from the transport section to the acl for adding the bogofilter classification, unfortunately nothing is added $acl_m_bogosity is empty acl_check_data: warn set acl_m_bogosity = ${run{/usr/local/bin/bogofilter -d /var/spool/bogofilter -l -p -e -u < $mess

[exim] Transport create directory system aliases

2025-02-18 Thread Sławomir Dworaczek via Exim-users
helo how to create directory in exim transport if aliases are used, aliases depend on domain in file domain.com domain2.com , users are local, unix users username from aliases maildir_spam_delivery: driver = appendfile maildir_format = true directory = /home/usename/MAIL/.Spam user =

[exim] Re: Delivery spam message to local user spam folder

2025-02-18 Thread Sławomir Dworaczek via Exim-users
am user = mail create_directory delivery_date_add envelope_to_add return_path_add group = mail mode = 0600 On Tue, Feb 18, 2025 at 7:23 AM Sławomir Dworaczek via Exim-users wrote: helo how to delivery taged message as spam to local user folder spam eg. if $h_X-Bogosity: M

[exim] Re: Delivery spam message to local user spam folder

2025-02-18 Thread Sławomir Dworaczek via Exim-users
Can you give some details on what such transport might look like? - Original Message - From: "Jeremy Harris via Exim-users" To: Sent: Tuesday, February 18, 2025 1:40 PM Subject: [exim] Re: Delivery spam message to local user spam folder On 18/02/2025 12:21, Sławomir Dwo

[exim] Delivery spam message to local user spam folder

2025-02-18 Thread Sławomir Dworaczek via Exim-users
helo how to delivery taged message as spam to local user folder spam eg. if $h_X-Bogosity: MATCH "Spam" ... thanks -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ##

[exim] problem exim transport

2025-03-13 Thread Sławomir Dworaczek via Exim-users
hello i have a problem with exim configuration, specifically returning from bogo_transport to the begin routers section theoretically command = /usr/local/exim/bin/exim -oMr bogodone -bS should reprocess the message, but it doesn't. because after tagging bogodone should be processed by maildir_

[exim] read the date of vacation from the file

2025-03-05 Thread Sławomir Dworaczek via Exim-users
helo I'm trying to set a condition in the userforward section that will compare dates in the vacation.txt file in the user directory: in the file I have e.g. 2025-03-03,2025-03-10 condition = ${if and{ {exists{$home/vacation.txt}} {ge{${extract{1}{,}{$home/vacation.txt}}}{${date::now}}} {le{${ext

[exim] Re: please check the condition

2025-02-21 Thread Sławomir Dworaczek via Exim-users
Heloo Heiko Everything seems OK, but I need to add a rule that checks if there is an X-Bogosity header at all, if there is none then it should not perform the transport, because messages sent internally within the domain are not tagged and everything goes to the SPAM folder condition = ${if a

[exim] Re: please check the condition

2025-02-21 Thread Sławomir Dworaczek via Exim-users
Specifically, I need to set a condition in the routers section that if the header X-Bogosity:Spam but does not have X-Bogosity:Ham or there is no email address or domain name in the bogo_lists file, then the transport should be performed scenario1: So SPAM=Yes Ham=No there is a domain or email a

[exim] please check the condition

2025-02-20 Thread Sławomir Dworaczek via Exim-users
heloo where is the error condition = ${if or { {!def:h_X-Bogosity:} } { {and {def:h_X-Bogosity:} {match{$h_X-Bogosity:}{^Spam}} {!match{$h_from:}{lsearch{/etc/exim/listy_acl/bogo_list}}} {!match{$sender_address_domain:}{lsearch{/etc/exim/listy_acl/bogo_list }} {true}{false}} error curl

[exim] Re: please check the condition

2025-02-22 Thread Sławomir Dworaczek via Exim-users
You're right, only 256 bytes can be in a file Unfortunately, condition behaves as if it didn't work at all, all emails, even those tagged spam, fall into inboxes Regardless of whether they come from external or local domains This is a fragment of the SPAM header: X-Bogofilterd: true X-Bogosity:

[exim] Re: please check the condition

2025-02-22 Thread Sławomir Dworaczek via Exim-users
Heloo Heiko I changed it as you said, and still mail sent via local domains goes to spam logically this rule should only start transport when the header is Spam and there is no domain in the file but for some reason it doesn't happen condition = ${if or{{eqi{$h_X-Bogosity:}{Spam}}\ {!bool_lax{$

[exim] Re: please check the condition

2025-02-22 Thread Sławomir Dworaczek via Exim-users
Heloo Heiko very strange thing if in condition I only have: condition = ${if match{$h_X-Bogosity:}{^Spam}} then mail coming from outside as well as mail inside (local exim domain) is filtered correctly, i.e. what is tagged Spam goes to spam folder. but if the rule already has a second condition

[exim] Re: please check the condition

2025-02-24 Thread Sławomir Dworaczek via Exim-users
thanks again this was probably the longest thread in the history of the list :) problem solved, You are always reliable ! Best regards - Original Message - From: "Viktor Ustiuhov via Exim-users" To: "Sławomir Dworaczek via Exim-users" Sent: Monday, February 24, 2

[exim] Re: please check the condition

2025-02-23 Thread Sławomir Dworaczek via Exim-users
domain :) regards - Original Message - From: "Viktor Ustiuhov via Exim-users" To: "Sławomir Dworaczek via Exim-users" Sent: Sunday, February 23, 2025 3:02 AM Subject: [exim] Re: please check the condition Sławomir Dworaczek via Exim-users wrote on 23.02.2025 2:06:

[exim] Re: please check the condition

2025-02-23 Thread Sławomir Dworaczek via Exim-users
From: "Viktor Ustiuhov via Exim-users" To: "Sławomir Dworaczek via Exim-users" Sent: Sunday, February 23, 2025 11:30 AM Subject: [exim] Re: please check the condition Sławomir Dworaczek wrote on 23.02.2025 10:48: heloo great, it works condition = ${if and{{match{$h_X-B