Re: [exim] Router and transport for modifing message

2023-04-26 Thread Jasen Betts via Exim-users
On 2023-04-25, mouse via Exim-users wrote: > Hello. I'm using transport_filter to modify certain incomimg e-mail (for > example, to set proper encoding for some headers). Based on others > experience here is my configuration: > My question is - is there any way to just pass e-mail through

Re: [exim] Routing failed deliveries through an ESP

2023-04-20 Thread Jasen Betts via Exim-users
On 2023-04-20, Lance Lovette via Exim-users wrote: >> There's a rational basis for an exception for 5xx before MAIL FROM, >> when the target only has the connection parameters and HELO >> name to use as a basis for rejection > > Unfortunately, Google, in the case of an outright IP-based block,

Re: [exim] Wildcard CN verify error

2023-04-20 Thread Jasen Betts via Exim-users
On 2023-04-20, Jeremy Harris via Exim-users wrote: > On 20/04/2023 06:18, Jasen Betts via Exim-users wrote: >> On 2023-04-18, Lance Lovette via Exim-users wrote: >>>> This is a name mismatch: mailgun.org != mailgun.com. >>> >>> Perhaps it's time for a lar

Re: [exim] Wildcard CN verify error

2023-04-19 Thread Jasen Betts via Exim-users
On 2023-04-18, Lance Lovette via Exim-users wrote: > I'm getting an SSL verify error for messages delivered through my ESP : > > SSL verify error: certificate name mismatch: DN="/C=US/ST=Texas/L=San > Antonio/O=MAILGUN TECHNOLOGIES, INC/CN=*.mailgun.org" H="smtp.mailgun.com" > > Based on

Re: [exim] Wildcard CN verify error

2023-04-19 Thread Jasen Betts via Exim-users
On 2023-04-18, Lance Lovette via Exim-users wrote: >> This is a name mismatch: mailgun.org != mailgun.com. > > Perhaps it's time for a larger font size :) I will put on my dunce cap and > go sit in the corner. But shame on Mailgun for responding to .com with a > .org certificate! > > Lance Their

Re: [exim] Proxy smtp connections to multiple Exim servers behind proxy

2023-04-16 Thread Jasen Betts via Exim-users
On 2023-04-15, Sebastian Arcus via Exim-users wrote: > On 15/04/2023 13:53, Jeremy Harris via Exim-users wrote: >> On 15/04/2023 12:53, Sebastian Arcus via Exim-users wrote: >>> I have a number of Exim servers behind a NAT gateway (actually >>> connected with vpn's to a cloud vps - but I'm

Re: [exim] Proxy smtp connections to multiple Exim servers behind proxy

2023-04-16 Thread Jasen Betts via Exim-users
On 2023-04-15, Sebastian Arcus via Exim-users wrote: > I have a number of Exim servers behind a NAT gateway (actually connected > with vpn's to a cloud vps - but I'm hoping this is not relevant to this > post). I would like the gateway to send incoming port 25 traffic to the > correct Exim

Re: [exim] From header with encoding not parsed?

2023-04-13 Thread Jasen Betts via Exim-users
On 2023-04-12, Victor Ustugov via Exim-users wrote: > Slavko via Exim-users wrote on 12.04.2023 20:42: >> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users >> napísal: >>> Hi, I have a variable to extract the email address in from header set like >>> this: >>> >>>

Re: [exim] OT: are BCC header lines legitimate ?

2023-04-13 Thread Jasen Betts via Exim-users
On 2023-04-12, Olaf Hopp (SCC) via Exim-users wrote: > Sorry for being a bit off topic: > recently we had incoming phishing mails which all had a BCC header line. > So I thought, that's easy to defend and I introduced a data ACL > > deny condition = ${if def:h_BCC: {yes}{no}} > > My logs

Re: [exim] Re (2): Configuring for non-encrypted MUA to localhost. TLS-on-connect, exim to smarthost.

2023-04-05 Thread Jasen Betts via Exim-users
On 2023-03-31, Jeremy Harris via Exim-users wrote: > On 31/03/2023 16:15, Evgeniy Berdnikov via Exim-users wrote: >> .ifdef REMOTE_SMTP_SMARTHOST_PROTOCOL >> protocol = REMOTE_SMTP_SMARTHOST_PROTOCOL >> .endif > > Doesn't that imply the wizard has a question that sets that? The macros defined

Re: [exim] Something like "domains_require_tls"

2023-03-27 Thread Jasen Betts via Exim-users
On 2023-03-23, Jeremy Harris via Exim-users wrote: > On 23/03/2023 16:01, Jeremy Harris via Exim-users wrote: >> allsmtp: >>  driver = smtp >>  hosts_require_tls = ${if  >> match_domain{$domain}{+domainlist-with-TLS-Domains} {*}{}} >>  multi_domain = false > > Actually, better have >

Re: [exim] Hide IP address of authenticated users

2023-03-14 Thread Jasen Betts via Exim-users
On 2023-03-14, Yves Goergen via Exim-users wrote: > Hello, > > I'd like to hide the IP address of authenticated users sending their > messages over my SMTP server. The address always appears in the > "Received" header and remains there for the final recipient. > > A web search has only led to

Re: [exim] got this garbage from HP

2023-01-10 Thread Jasen Betts via Exim-users
On 2023-01-11, Viktor Dukhovni via Exim-users wrote: > On Wed, Jan 11, 2023 at 03:41:39AM -0000, Jasen Betts via Exim-users wrote: > >> Exim seems to translate the lone LF into a space which breaks the >> message, > > I'm somewhat surprised if Exim doesn't already treat LF

[exim] got this garbage from HP

2023-01-10 Thread Jasen Betts via Exim-users
The "MIME-Version:" header not being separated from the "Subject:" header. I sustpected the problem was line endings and yes it turns out to be so. the HP is using a mix of '0a' and '0d-0a' in the message headers I got this garbage data block from a client's HP printer, some details have

Re: [exim] who starts the delivery process?

2022-12-26 Thread Jasen Betts via Exim-users
On 2022-12-26, Askhat Tokabay via Exim-users wrote: > Helo > I found in the documentation: > Delivery processes may be started as a > result of a message’s arrival, by a queue runner process, > or by an administrator using the -M option. > > The question is the following: > Can you tell me who

Re: [exim] bad memory reference; pool not found, at gstring_grow 1124

2022-12-20 Thread Jasen Betts via Exim-users
On 2022-12-19, Jeremy Harris via Exim-users wrote: > On 19/12/2022 06:32, Jasen Betts via Exim-users wrote: >>logwrite = >> ${sg{${sg{${sg{aaa}{a}{bbb}}}{b}{c}}}{c}{ddd}}zz > > Thanks for locating this so precisely. > Fix push

Re: [exim] exim 4.96 stopping because postfix is starting?

2022-12-19 Thread Jasen Betts via Exim-users
On 2022-12-19, Johnnie W Adams via Exim-users wrote: > Sigh. I am slower than usual today. Without the R=, that message ID does > come from a hard bounce failing dnslookup. What I am left not understanding > is how to route such messages to our inbound node rather than out to the > internet. > >

Re: [exim] bad memory reference; pool not found, at gstring_grow 1124

2022-12-18 Thread Jasen Betts via Exim-users
On 2022-12-05, Jeremy Harris via Exim-users wrote: > On 05/12/2022 23:31, Jasen Betts via Exim-users wrote: >> I'm getting this error panic >> "bad memory reference; pool not found, at gstring_grow 1124" >> >> at a acl logwrite in an ${acl expansion in a r

Re: [exim] Storing messages in Maildir format with symmetric encryption

2022-12-10 Thread Jasen Betts via Exim-users
On 2022-12-11, Dengler, Gabriel via Exim-users wrote: > Hey Heiko, > > in the meantime, I made great progress with the "transport_filter" tool. > That was exactly what I was looking for. > > In the current setup, I want to store a public and a private key for > each user, whereas the private

[exim] bad memory reference; pool not found, at gstring_grow 1124

2022-12-05 Thread Jasen Betts via Exim-users
I'm getting this error panic "bad memory reference; pool not found, at gstring_grow 1124" at a acl logwrite in an ${acl expansion in a router the logwrite is over-size and thus truncated in the debug message then it crashes. it seems to happen failry rarely, maybe 1 in 1 emails on this

Re: [exim] Storing messages in Maildir format with symmetric encryption

2022-11-23 Thread Jasen Betts via Exim-users
On 2022-11-23, Jeremy Harris via Exim-users wrote: > On 23/11/2022 00:16, Dengler, Gabriel via Exim-users wrote: >> I want to store the incoming e-mails using the Maildir file format encrypted >> by using some symmetric encryption using the user's password > > It seems like a generally valuable

Re: [exim] interface and greylistning

2022-11-21 Thread Jasen Betts via Exim-users
On 2022-11-21, Laura Williamson via Exim-users wrote: > Have a bit of an issue. When sending out emails out exim select an > interface like this > > interface = ${lookup sqlite {SQLITE_Q_USERINTERFACE select ip from > interface where active='Y' order by random() limit 1}{$value}} > helo_data =

Re: [exim] exim4 vs. Frontier.com

2022-11-13 Thread Jasen Betts via Exim-users
On 2022-11-11, Mike via Exim-users wrote: > I've struggled off and on for months to get outbound mail via exim4 through > frontier.com with no joy. > I'm on a single user system using mutt and exim4 plus fetchmail. Inbound is > no problem. > Outbound I see this in /var/log/exim4/mainlog: >

Re: [exim] raw mime_filename

2022-10-20 Thread Jasen Betts via Exim-users
On 2022-10-13, Mikhail Golub via Exim-users wrote: > Hi. > > How can I get "raw" $mime_filename ? > > In Exim - "headers_charset = UTF-8". > And if file name of attachment not in utf8 i have a problem with log > display. > Example from log, $mime_filename: > "▒▒ ▒▒▒ 12_10_22.xlsx" > > I

Re: [exim] How to make proxy support work in exim

2022-10-10 Thread Jasen Betts via Exim-users
Proxy protocol is an optional feature: if this: exim -bV | grep '\WPROXY\W' prints nothing you will need to install a more feature-rich build of exim. > ``` > hostlist hosts_proxy = <; 127.0.0.1; 192.46.111.11 > ``` > But PROXY protocol seems to be not recognised by exim loose the

Re: [exim] GnuTTS woes

2022-09-30 Thread Jasen Betts via Exim-users
On 2022-09-30, Jeremy Harris via Exim-users wrote: > On 30/09/2022 09:11, Jasen Betts via Exim-users wrote: >> Testssl.sh primes its ALPN requests based on the port number used > > What does it use for 25/465/567 ? I don't know of an actual Standard; > I just picked the ob

Re: [exim] GnuTTS woes

2022-09-30 Thread Jasen Betts via Exim-users
On 2022-09-30, Andrew C Aitchison via Exim-users wrote: > On Fri, 30 Sep 2022, Jasen Betts via Exim-users wrote: > >> On 2022-09-30, Viktor Dukhovni via Exim-users wrote: >>> On Fri, Sep 30, 2022 at 01:21:21AM -0000, Jasen Betts via Exim-users wrote: >>> >>>

Re: [exim] GnuTTS woes

2022-09-29 Thread Jasen Betts via Exim-users
On 2022-09-30, Viktor Dukhovni via Exim-users wrote: > On Fri, Sep 30, 2022 at 01:21:21AM -0000, Jasen Betts via Exim-users wrote: > >> > With the older Exim, GnuTLS appears to consider six cipher suites before >> > finding a suitable choice (after skipping all the DHE c

Re: [exim] Setting Exim to always remove DKIM signatures

2022-09-29 Thread Jasen Betts via Exim-users
On 2022-09-29, Johnnie W Adams via Exim-users wrote: > Hi, folks, > > We have an unusual mail routing topology, where mail passes through > our SMTP server, through LISTSERV, and then back through our SMTP server. > > We are failing DMARC for reasons I think having to do with when the >

Re: [exim] GnuTTS woes

2022-09-29 Thread Jasen Betts via Exim-users
On 2022-09-29, Viktor Dukhovni via Exim-users wrote: > On Thu, Sep 29, 2022 at 03:31:59AM -0000, Jasen Betts via Exim-users wrote: > >> This client called itself "Paradox" in the SMTP ehlo, I think it's >> probably an alarm system. I have an

Re: [exim] GnuTTS woes

2022-09-28 Thread Jasen Betts via Exim-users
On 2022-09-28, Jeremy Harris via Exim-users wrote: > On 28/09/2022 21:10, Viktor Dukhovni via Exim-users wrote: >> You need to analyse some failed handshake full-packet captures with >> "tshark", and collected detailed logs from the clients that are having >> problems. > > For Exim, that's

Re: [exim] Exim relaying but shouldn't

2022-09-28 Thread Jasen Betts via Exim-users
On 2022-09-28, Lena--- via Exim-users wrote: >> From: Eric Grammatico > >> In fact I tried to implement the wiki: >> https://github.com/Exim/exim/wiki/AuthenticatedSmtpUsingPwauth > > I edited that wiki: changed > > server_condition = ${run{/bin/bash -c "echo -e '$auth2\n$auth3' | >

Re: [exim] GnuTTS woes

2022-09-28 Thread Jasen Betts via Exim-users
Sorry for the slow replies, my mailing list subscription was misconfigured On 2022-09-28, Viktor Dukhovni via Exim-users wrote: > On Tue, Sep 27, 2022 at 02:39:19AM -0000, Jasen Betts via Exim-users wrote: > >> it's reachable here: eximtest.duckdns.org >>

Re: [exim] GnuTTS woes

2022-09-28 Thread Jasen Betts via Exim-users
On 2022-09-24, Viktor Dukhovni via Exim-users wrote: > On Fri, Sep 23, 2022 at 05:50:29AM -0000, Jasen Betts via Exim-users wrote: > >> My testing mainly involves telling exim to listen on poert 443 with >> implicit SSL and then hitting it with www.sslcheck.com >> &

Re: [exim] GnuTTS woes

2022-09-28 Thread Jasen Betts via Exim-users
On 2022-09-24, Andreas Metzler via Exim-users wrote: > On 2022-09-23 Jasen Betts via Exim-users wrote: >> upgrading from 4.94 to 4.96 seems to have dramatically reduced the TLS >> connectivity (as a server). > >> I'm using libgnutls3.7.1 on debian 11 and the Exi

Re: [exim] GnuTTS woes

2022-09-28 Thread Jasen Betts via Exim-users
On 2022-09-24, Jeremy Harris via Exim-users wrote: > On 23 September 2022 06:50:29 BST, Jasen Betts via Exim-users > wrote: >>upgrading from 4.94 to 4.96 seems to have dramatically reduced the TLS >>connectivity (as a server). >> >>I'm using libgnutls3.7.1 on debia

Re: [exim] SMTPUTF8 Authentication and logging

2022-09-24 Thread Jasen Betts via Exim-users
On 2022-09-22, Kai Bojens via Exim-users wrote: > Hello there, > I have a new server which now has SMTPUTF8 enabled. I'm not sure why but > since then at least one Outlook client decided to stop using the IDN > form (xn--dmin-moa0i.example) and now tries to authenticate with the > UTF-8

[exim] GnuTTS woes

2022-09-24 Thread Jasen Betts via Exim-users
upgrading from 4.94 to 4.96 seems to have dramatically reduced the TLS connectivity (as a server). I'm using libgnutls3.7.1 on debian 11 and the Exim package from backports customers are complaining about TLS not not working my testing mainly involves telling exim to listen on poert 443 with

Re: [exim] 4.96 reduce not working

2022-09-24 Thread Jasen Betts via Exim-users
On 2022-09-22, Jeremy Harris via Exim-users wrote: > > a3d3e7ef81 (just pushed) fixes this. > > Given the fix, does > >${listcount:${filter {a:p:p:l:e} {inlisti{$item}{ p:e:z > > look plausible? Yes, that looks good. -- Jasen. -- ## List details at

[exim] 4.96 reduce not working

2022-09-22 Thread Jasen Betts via Exim-users
I was using the follwing form to see how many elements of list 1 occur in list2 ${reduce{ a:p:p:l:e }{0}{${if inlisti{$item}{ p:e:z }{${eval:$value+1}}{$value but this has stopped working in 4.96 It seems to be inlisti is overwriting $value :( Ah yes, this feature is documented.

Re: [exim] Blocking a Class C

2022-06-14 Thread Jasen Betts via Exim-users
On 2022-06-06, The Doctor via Exim-users wrote: > On Mon, Jun 06, 2022 at 11:33:17PM +0100, Jeremy Harris via Exim-users wrote: >> On 06/06/2022 23:18, The Doctor via Exim-users wrote: >> > Just going over my spam and I find this IP 195.133.39.99 >> > >> > sending a lot of junk. How can you

Re: [exim] smarthost Outsmarting me so Far (Victory at last)

2022-05-12 Thread Jasen Betts via Exim-users
On 2022-05-11, Martin McCormick via Exim-users wrote: > # Example: > ### target.mail.server.example:login:password > *.suddenlink.net:marti...@suddenlink.net:BigSecret > > To get it to work now, I had to change the last line > credentials slightly as you suggested to try: It now looks

Re: [exim] test Thu, 05 May 2022 14:51:32 -0500

2022-05-06 Thread Jasen Betts via Exim-users
On 2022-05-05, Martin McCormick via Exim-users wrote: > --===0238493248== > Content-Type: text/plain > > Subject: smarthost Outsmarting me so Far > $ telnet smtp.suddenlink.net 25 you probably need encryption to use authentication. openssl s_client -connect

Re: [exim] Google SMTP Timeouts on large mails

2022-04-30 Thread Jasen Betts via Exim-users
On 2022-04-29, Graeme Coates via Exim-users wrote: > Hi all, > > > > I've seen this issue raised in: > > > > https://lists.exim.org/lurker/message/20220216.071725.892984cd.en.html > > and > > https://lists.exim.org/lurker/message/20220313.200645.624cc373.en.html > > > > but haven't seen a

Re: [exim] Multiple domains using certificates and keys

2022-03-23 Thread Jasen Betts via Exim-users
On 2022-03-23, The Doctor via Exim-users wrote: > > Question: > > In my configuration file I have > > tls_certificate = ${if exists\ >{/path/to/2021/${tls_sni}/chain.cert}\ > {/path/to/2022/${tls_sni}/chain.cert}\ >{/path/to/default//chain.cert}\ > } >

Re: [exim] Limiting outside world to ports 465 and 587

2022-03-13 Thread Jasen Betts via Exim-users
On 2022-03-13, The Doctor via Exim-users wrote: > I was wonder if it is doable that the outside world > can only see ports 587 and 465 > while limiting port 25 to localhost only. assuming 192.0.2.44 is "the outside world" ip address. in main configuration: daemon_smtp_ports = 25 : 587 :

Re: [exim] Unable to send or receive mails, Tainted not permitted

2022-02-13 Thread Jasen Betts via Exim-users
}{$value/.maildir}fail}" (file or directory name for > local_delivery transport) failed: "lookup" failed and "fail” requested > > >> On 12-Feb-2022, at 6:29 PM, Jasen Betts via Exim-users >> wrote: >> >> On 2022-02-12, necktwi via Exim-us

Re: [exim] Unable to send or receive mails, Tainted not permitted

2022-02-12 Thread Jasen Betts via Exim-users
On 2022-02-12, necktwi via Exim-users wrote: > I fixed it by setting > directory = ${home}/.maildir > > But I want it to work with > directory = /home/$local_part/.maildir use something like this instead. directory = ${lookup {$local_part} dsearch,ret=full {/home}{$value/.maildir}fail} --

Re: [exim] exim maildirsize quota calculation in the face of symlinks

2022-02-10 Thread Jasen Betts via Exim-users
On 2022-02-10, Maarten van Baarsel via Exim-users wrote: > Currently, I'm also using a plugin in dovecot: > > https://wiki.dovecot.org/Plugins/MailboxAlias > > However, this plugin solves the alias problem with a symlink in the > Maildir directory, which makes Exim count the mails twice when the

Re: [exim] sendind email to an intermittently connected host

2022-01-19 Thread Jasen Betts via Exim-users
On 2022-01-18, Leonardo Boselli via Exim-users wrote: > On Tue, 18 Jan 2022, Odhiambo Washington wrote: >> I still believe that it's better to solve the problem from the source - >> where the connectivity is almost unpredictable. > > log time unconnections are predictable, since does not occour

Re: [exim] Re-routing mail to the secondary MX server

2022-01-12 Thread Jasen Betts via Exim-users
On 2022-01-12, Dmitriy Matrosov via Exim-users wrote: > Hi. > > Is it possible to re-route certain mails on the primary server (with lowest > MX priority) > to the secondary (the one with highest priority)? > > My use case is if the recipient is not found on the primary server, > try to deliver

Re: [exim] converting from debian package to source

2022-01-08 Thread Jasen Betts via Exim-users
On 2022-01-08, Odhiambo Washington via Exim-users wrote: > On Sat, Jan 8, 2022 at 5:26 PM Julian Bradfield via Exim-users < > exim-users@exim.org> wrote: > >> My mail servers run, and have run for decades, on Debian, and I've >> always used the Debian package for exim4, though I don't use debconf

Re: [exim] Running our own email server on GCP

2022-01-04 Thread Jasen Betts via Exim-users
On 2022-01-04, Byung-Hee HWANG via Exim-users wrote: > Terrance Devor via Exim-users writes: > >> I have read that google blocks port 25 and 465. We absolutely need to run >> our email own email servers on GCP using our Kubernetes cluster. Did anyone >> succeed in this? > > Currently i am

Re: [exim] base64 messages

2021-11-25 Thread Jasen Betts via Exim-users
On 2021-11-25, Jim Pazarena via Exim-users wrote: > when the entire content of a spam email message is in base64 , is there > a variable available that has that content in decoded text so that a > filter can view it ? In the MIME ACL you can access the decoded parts of the message using

Re: [exim] getting exim to accept mail on a domain without an MX DNS record.

2021-11-20 Thread Jasen Betts via Exim-users
On 2021-11-19, russellbell--- via Exim-users wrote: > 'IP addresses are not domain names. > Yes. I meant to say that it's a valid address. ok > 'They can not have MX records.' > Why not? If an SMTP server at the address handles mail... then it dosn't need an MX

Re: [exim] getting exim to accept mail on a domain without an MX DNS record.

2021-11-19 Thread Jasen Betts via Exim-users
On 2021-11-19, russellbell--- via Exim-users wrote: > I'm trying to configure a domain that has never accepted mail > from external sources to start. The server runs exim, which I've > never used. I send a message to the domain using its IP, for example > fred@123.456.789.012. exim

Re: [exim] [Transport error]: message has lines too long for transport

2021-11-18 Thread Jasen Betts via Exim-users
On 2021-11-18, Andrea Biscuola via Exim-users wrote: > Hi all > > We are an italian hosting provider (https://host.it) and we use exim to relay > e-mails from > our hosting servers. > Exim is installed and configured through the directadmin control panel > (https://www.directadmin.com), so the

Re: [exim] 'Cloned' config not logging in

2021-11-07 Thread Jasen Betts via Exim-users
On 2021-11-06, Charles Johnson via Exim-users wrote: > This is a multi-part message in MIME format. > --756F4DD9543959086F856B82 > Content-Type: text/plain; charset=utf-8; format=flowed > Content-Transfer-Encoding: 8bit > > I have a 'cloned' configuration of exim4 using my hosting's

Re: [exim] Hi Exim users - problem with hybrid exchange domain sending to exim.

2021-10-29 Thread Jasen Betts via Exim-users
On 2021-10-29, John Stegenga via Exim-users wrote: > My Exim installation is standard, installed on Centos via WHM. > > > > Most settings are default. > > > > One of my hosted customers reported that one of HIS customers cannot send > email to his domain. > > We've looked at all kinds of

Re: [exim] dnslists - netmask or wildcard

2021-10-18 Thread Jasen Betts via Exim-users
On 2021-10-18, Nick Rickard via Exim-users wrote: >>> Does >>> >>>    dnslists =    abcdef.sbl.dq.spamhaus.net >>>    condition =    ${if match_ip ($dnslist_value) {127.0.0.0/24}} >>> >>> do what you need? >> >> Yes, thank you. >> >> Noting that it should, I believe, be curly brackets

Re: [exim] Solved: Encrypted SSL Postgres Connection

2021-09-17 Thread Jasen Betts via Exim-users
On 2021-09-16, Pat via Exim-users wrote: > That failed with: > Failed: lookup of "select generate_series(1,10) " gave DEFER: PGSQL > connection failed: root certificate file "root.crt" does not exist > Either provide the file or change sslmode to disable server certificate > verification. > >

Re: [exim] Encrypted SSL connection to remote PostgreSQL cluster

2021-09-10 Thread Jasen Betts via Exim-users
On 2021-09-10, Jeremy Harris via Exim-users wrote: > On 10/09/2021 09:13, Jeremy Harris via Exim-users wrote: >> On 10/09/2021 01:31, Patrick via Exim-users wrote: >>> Before I spend too much time trying to figure this out, is it possible to >>> configure my PostgreSQL connection to use

Re: [exim] Combine hosts/sender_domains in condition?

2021-09-08 Thread Jasen Betts via Exim-users
On 2021-09-08, MRob via Exim-users wrote: > On 2021-09-08 05:03, Jasen Betts via Exim-users wrote: >> On 2021-09-07, MRob via Exim-users wrote: >>> Hellos, I was trying to write a clause that needs to combine >>> 'sender_domains' and 'hosts' in *OR* condition so I ca

Re: [exim] Combine hosts/sender_domains in condition?

2021-09-07 Thread Jasen Betts via Exim-users
On 2021-09-07, MRob via Exim-users wrote: > Hellos, I was trying to write a clause that needs to combine > 'sender_domains' and 'hosts' in *OR* condition so I can't put on two > separate lines. > > Is only way for this to repeat the full clause, once with sender_domains > and one with hosts?

Re: [exim] Subject rewriting

2021-08-31 Thread Jasen Betts via Exim-users
On 2021-08-26, nb via Exim-users wrote: > Hi, > > I need to change the subject when the message is considered as spam, > *and* when there is an SPF problem. > > I use the following method: > > 1 - for SPF: > # remove old subject > remove_header=Subject > # create a new subject >

Re: [exim] One Smart Host for certain domain

2021-08-31 Thread Jasen Betts via Exim-users
On 2021-08-31, Effendy Abdullah via Exim-users wrote: > On 2021-08-31 19:52, Cyborg wrote: >> Am 27.08.21 um 15:35 schrieb Effendy Abdullah via Exim-users: >> > Hi, >> > >> > How do I route to one Smart Host for certain domain and all other domain >> > route to another Smart Host. Using

Re: [exim] Exim on server hardware

2021-08-31 Thread Jasen Betts via Exim-users
On 2021-08-26, M.R.P. zensky via Exim-users wrote: > Can Exim be installed on a desktop pc or is it better to have a dedicated > server. Yes. If your PC is fast enough for your traffic needs it will run ok. If it's a single user, small office or family setup then a PC will be fine. Probably a

Re: [exim] local_domains by dns

2021-08-26 Thread Jasen Betts via Exim-users
On 2021-08-26, Cyborg via Exim-users wrote: > Hi, > > the exim docs do not seem to cover the topic of "how to build" a > local_domains list, they only cover the topic of "whats the syntax of a > list". > > My actual problem is to build the content of local_domains from DNS IN > MX Records. The

Re: [exim] Receive Mail From a Secondary-MX Proxy

2021-08-26 Thread Jasen Betts via Exim-users
On 2021-08-25, Sabahattin Gucukoglu via Exim-users wrote: > I am thinking about how I’ll manage to send and receive mail from the > Internet by way of a proxy, with SOCKS for outbound and proxy-protocol for > inbound mail, where the proxy is also potentially a backup MX. The idea is > that I

Re: [exim] * in local_part

2021-08-22 Thread Jasen Betts via Exim-users
On 2021-08-18, Henry Pootel via Exim-users wrote: > Hello. > > I would like to forward some addresses to one by mask with pattern. > > For example: > > all messages, which coming to *test@my.domain must be forward to > email@my.domain > > I've tried it with alias file ( *test@my.domain:

Re: [exim] Differences exim 4.93 and 4.94

2021-08-21 Thread Jasen Betts via Exim-users
On 2021-08-21, SysAdmin EM via Exim-users wrote: > I try to make a connection but I see the following error: > /opt/exim/bin/exim -be '${lookup > mysql{servers=127.0.0.1::6033/c233/sqlmonitor/9cCnX7NigY99 > select 1+1 }' > Failed: lookup of "servers=127.0.0.1::6033/c233/sqlmonitor/9cCnX7NigY99 >

Re: [exim] Differences exim 4.93 and 4.94

2021-08-20 Thread Jasen Betts via Exim-users
On 2021-08-20, SysAdmin EM via Exim-users wrote: > In the server in production we use a version prior to exim and I cannot > make the connection to proxysql work. Can you make tcp connections to your proxysql using other mysql clients? what exact error message does exim give? Is there

Re: [exim] missing message id in email converted to user in virtual users

2021-08-15 Thread Jasen Betts via Exim-users
On 2021-08-13, Patrick Unthank via Exim-users wrote: > I am not sure why there is no message-id passed to postfix when there is > one recorded in the exim log, i.e. id=3D1mDi3K-0005a1-RG That id is an exim ID that exim uses to track the email, not a Message-Id header that should have been

Re: [exim] Exim in systemd system (queue mode)

2021-07-08 Thread Jasen Betts via Exim-users
On 2021-07-08, Jeremy Harris via Exim-users wrote: > On 02/07/2021 20:25, michael--- via Exim-users wrote: >> Now, in a systemd based system the "/etc/init.d/exim queue" command is >> missing. And I can't find a "systemctl queue exim.service" equivalent. >> Can I just replace this step with:

Re: [exim] too long line but which one?

2021-06-30 Thread Jasen Betts via Exim-users
On 2021-06-30, Arkadiusz Miśkiewicz via Exim-users wrote: > > Hi, > > how to log that too long line(s), so it will be easy to point where the > problem is in case of mail incoming via smtp ? > >deny > message = maximum allowed line length is 998 octets, \ >

Re: [exim] IPv6 bug with reverse_host_lookup

2021-06-25 Thread Jasen Betts via Exim-users
On 2021-06-24, Cyborg via Exim-users wrote: > Am 24.06.21 um 20:05 schrieb Evgeniy Berdnikov via Exim-users: >> On Thu, Jun 24, 2021 at 01:11:40PM -0400, Robert Blayzor via Exim-users >> wrote: >>> On 6/24/21 11:54 AM, Evgeniy Berdnikov via Exim-users wrote: Pls, post here result of

Re: [exim] Advice: NFS, hardware, SATA vs SAS etc

2019-12-06 Thread Jasen Betts via Exim-users
On 2019-12-04, venbian via Exim-users wrote: > Hello gurus, > > As 2020 nears I wanted to ask opinions about the current state of > hardware requirements for a small business email platform. $dayjob > asked me to enhance our existing platform to improve performance and > add redundancy. Q1:

Re: [exim] message_size_limit depending on incoming domain

2019-11-19 Thread Jasen Betts via Exim-users
On 2019-11-18, Niels Kobschätzki via Exim-users wrote: > Hi, > > I know that there is a setting message_size_limit and that I can > control it > globally and per router. > > I accept mails for a lot of domains and for some of those domains > I'd like to > have a bigger message_size_limit than

Re: [exim] ACL error "for linear search: No such file or directory"

2019-11-15 Thread Jasen Betts via Exim-users
On 2019-11-15, Emanuel Gonzalez via Exim-users wrote: > condition = ${if > exists{${lookup{$sender_address}lsearch*@{${perl{getmaildir2}{$local_part@ > $domain}}/.spamassassin/whitelist{no}{yes} > where is my error in the sintax? this bit looks fishy: whitelist{no}{yes} you're

Re: [exim] conditional email forwards to another host

2019-11-12 Thread Jasen Betts via Exim-users
On 2019-11-12, Lars Schimmer via Exim-users wrote: > Hi! > > I need a little help, mostly for security. > I do run a exim4 host (debian), and I want to forward all emails > incoming for 3-5 Emails to another host (NOT a different domain) > > As far as I understand it, I need: > - transport fo

Re: [exim] Finding Fallback DKIM Domain

2019-10-30 Thread Jasen Betts via Exim-users
On 2019-10-29, Christian K via Exim-users wrote: >> Presumably you have a list of all your domains. >> It's a simple lookup, then. Just write a suitable >> file, or database, and use that. > > > This will be the workaround if I find no general solution for any > subdomains but it unfortunately

Re: [exim] How to suspend user to send emails, even to local domain?

2019-10-19 Thread Jasen Betts via Exim-users
On 2019-10-18, pedro.almeida--- via Exim-users wrote: > Hi, > > Thank you for your help, Marius. > > Could you please elaborate a litle on how to filter those user ids out > in the sql query? > > Regards > > > On 18/10/19 14:19, Cyborg via Exim-users wrote: >> Am 18.10.19 um 14:26 schrieb

Re: [exim] Unstoppable spam

2019-09-24 Thread Jasen Betts via Exim-users
On 2019-09-24, Odhiambo Washington via Exim-users wrote: > Authentication-Results: gw.ourdomain.tld;iprev=fail > smtp.remote-ip=5.61.42.174;auth=pass (PLAIN) > smtp.auth=benson.ku...@ourdomain.tld;dmarc=skipped > header.from=ourdomain.tld Is that a standard header? I've not seen exim

Re: [exim] CVE-2019-15846 ..Exim Vulnerability

2019-09-13 Thread Jasen Betts via Exim-users
On 2019-09-13, Jan Ingvoldstad via Exim-users wrote: > From the Wheezy ELTS package: [...] > dpkg-source: info: applying 92_Fix-base64d-buffer-size-CVE-2018-6789.patch > dpkg-source: info: applying 93_CVE-2019-15846.patch > it looks like the patch is present already in the debian package, that's

Re: [exim] CVE-2019-15846 ..Exim Vulnerability

2019-09-13 Thread Jasen Betts via Exim-users
On 2019-09-12, Richard Jones via Exim-users wrote: > On Sep 12, Heiko Schlittermann via Exim-users wrote >> If you're out of luck, either upgrade your Debian system to a recent >> one, or prepare to compile Exim on your own. (This is not as hard as it >> seems, but you have to care about further

Re: [exim] Exim and Postfix

2019-08-31 Thread Jasen Betts via Exim-users
On 2019-08-28, Eliza via Exim-users wrote: > Hi > > on 2019/8/28 17:07, Heiko Schlittermann via Exim-users wrote: >> The Exim configuration partly mimics a programming language, and allows for >> a multitude of runtime expandable parameters, you can use the embedded >> Perl interpreter, use

Re: [exim] Exim Logo as vector graphics

2019-08-27 Thread Jasen Betts via Exim-users
> --3MwIy2ne0vdjdPXF > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > > Jasen Betts via Exim-users (Di 27 Aug 2019 12:06:32 > CEST): >> >> I have taken MK which seems to be original line art an pushed its >> shading in the directi

Re: [exim] Exim Logo as vector graphics

2019-08-27 Thread Jasen Betts via Exim-users
On 2019-08-20, Heiko Schlittermann via Exim-users wrote: > Thank you for the 3 logos we got so far. > > The cPanel folks told me that these SVG are not perfect, but usable to > some extend. I have taken MK which seems to be original line art an pushed its shading in the direction of the origial

Re: [exim] Exim, Dovecot, mdir and hardlinks - a true story

2019-08-15 Thread Jasen Betts via Exim-users
On 2019-08-15, Jeremy Harris via Exim-users wrote: > On 14/08/2019 20:09, Cyborg via Exim-users wrote: >> I really believe, an option to match quota/du behaviour and use stat() >> on each file to check >> the inode, is fine. A) it's relatively simple to do, B) does not break >> existing

Re: [exim] exim filters to/from/cc address

2019-07-24 Thread Jasen Betts via Exim-users
On 2019-07-23, Gary Stainburn via Exim-users wrote: > In my user filter I have a number of entries similar to > > if ($h_from: matches "user@domain") or > ($h_to: matches "user@domain") or > ($h_cc: matches "user@domain") then > deliver mobileph...@mydomain.com > seen > finish > endif

Re: [exim] Unable to send the mail but able to receive them

2019-07-16 Thread Jasen Betts via Exim-users
On 2019-07-15, necktwi via Exim-users wrote: > From my mac mail client I've connected to remote exim+dovecot server. Since > few weeks back I was not able to send mail but able to receive. > > exim in /var/log/messages says: > Jul 14 15:22:15 RPi3B exim[3576]: 2019-07-14 20:52:15 dovecot_plain

Re: [exim] CVE-2019-10149: already vulnerable ?

2019-07-04 Thread Jasen Betts via Exim-users
On 2019-07-03, Marc Haber via Exim-users wrote: > On Sun, 23 Jun 2019 20:02:33 +0100, Jeremy Harris via Exim-users > wrote: >> deny local_parts = \N ^.*$ : ^.*\\x24 : ^.*\\0?44 \N >>message = no mate > > This might be a really stupid question, but what exactly does that do? > > ^.*$

Re: [exim] error ignored

2019-06-27 Thread Jasen Betts via Exim-users
On 2019-06-26, Lena--- via Exim-users wrote: > Exim 4.92 as a smarthost gets a 5xx after end of data, but doesn't send a DSN. > In mainlog (I redacted with asterisks and inserted blanks after @): > > 2019-06-20 18:28:19 +0300 1hdyz4-000G6A-BR <= Len*@ lena.kiev.ua >

Re: [exim] Help with AUTH DDOS

2019-06-26 Thread Jasen Betts via Exim-users
On 2019-06-24, mixed8e--- via Exim-users wrote: > Hi, I have a server under a minor DDOS of AUTH guessing attacks. I > installed fail2ban and tried to be conservative, allowing 50 AUTH guesses > before banning an IP address. Unfortunately, the attack has too many bots > and the server is under

Re: [exim] CVE-2019-10149: 4.87 to 4.91 are vulnerable

2019-06-20 Thread Jasen Betts via Exim-users
On 2019-06-19, Heiko Schlittermann via Exim-users wrote: > > --===0789655678== > Content-Type: multipart/signed; micalg=pgp-sha512; > protocol="application/pgp-signature"; boundary="mlyb34ecdekgbwyp" > Content-Disposition: inline > > > --mlyb34ecdekgbwyp > Content-Type:

Re: [exim] Auto-bcc certain outgoing mail?

2019-06-14 Thread Jasen Betts via Exim-users
On 2019-06-14, Aki Kyo via Exim-users wrote: > Hello, can someone help guide me what the best way is to grab copies > of one of our users outgoing mails and bcc to another address? a router like this example_audit: driver = redirect unseen = yes verify = no errors_to = /dev/null data

Re: [exim] DKIM signing table

2019-06-08 Thread Jasen Betts via Exim-users
On 2019-06-07, Bjoern Franke via Exim-users wrote: > Hi, > > we have a setup with multiple exim instances, which are configured for > DKIM like explained in [1]. > > But is it possible to use a signing table like e.g. opendkim is using? > It would be useful for different selectors. sure, you

Re: [exim] Matching RFC 2047 encoded text

2019-04-21 Thread Jasen Betts via Exim-users
On 2019-04-21, Ian Zimmerman via Exim-users wrote: > On 2019-04-17 15:30, Lena--- wrote: > >> check_rfc2047_length = false > > Thanks, Lena. > > If I leave it as true (the default), and $h_subject: turns out to > contain "=?UTF-8?B?", can I assume (not with certainty, but with a high >

Re: [exim] Server Upgrade

2019-04-13 Thread Jasen Betts via Exim-users
On 2019-04-13, Rainer Dorsch via Exim-users wrote: > Hi, > > I want to upgrade my server from Debian Jessie to Debian Stretch. I am afraid > that at some time during the upgrade process, there is an invalid exim > configuration and messages get rejected. In order to avoid that I was > thinking

Re: [exim] How to trap "command timed out"? (avoid 451 reject)

2019-03-14 Thread Jasen Betts via Exim-users
On 2019-03-14, Aki Kyo via Exim-users wrote: > Hi, > > I'm running a command on a decoded MIME part: > > ${run{/path/to/command $mime_decoded_filename}} > > In some very rare cases, I get "command timed out" and the message is > rejected with 451 code > > Aside from debugging why it timed out,

  1   2   >