[exim] Exim as client to Implicit SSL

2021-08-18 Thread Rob Gunther via Exim-users
I am trying to deliver mail to a server on port 465, using implicit SSL. There is no greeting, I assume the servers are supposed to negotiate the encryption. I have tested that the remote server is answering and tests I have done with https://testssl.sh/ shows there is a server there and it

[exim] DMARC alignment when forwarding

2021-03-09 Thread Rob Gunther via Exim-users
We have Exim running as our MTA. When we forward mail for a user, we use SRS to ensure we do not violate the SPF policy of the sending domain. Sometimes messages are rejected from recipients. 550-5.7.26 DMARC policy. Please contact the administrator of omnis.com domain 550-5.7.26 if this was a

[exim] Stop SAVE appending

2020-07-05 Thread Rob Gunther via Exim-users
I'm trying to have Exim save some messages. >From a router I call a file, which contains my logic. if first_delivery then if "${if exists{/msg/$message_id}{true}{false}}" is false then noerror save /msg/$message_id endif endif That works, it will save a copy

Re: [exim] de-taint efficiency

2020-07-03 Thread Rob Gunther via Exim-users
On Fri, Jul 3, 2020 at 6:32 PM Jeremy Harris via Exim-users < exim-users@exim.org> wrote: > > domainlist local_domains = lsearch;/etc/virtual/domains > > > > How can I just search the local_domains list? I've looked at the various > > lookup types but don't see any way to lookup something from

[exim] de-taint efficiency

2020-07-03 Thread Rob Gunther via Exim-users
I got caught by the wonderful new de-taint system, fortunately the server that I updated was not processing live mail at the time. After a bit of struggling to understand the changes I modified my Exim config to fix some of the issues, but suspect there may be more hiding. I was able to get rid

[exim] String Search - What am I doing wrong?

2019-10-09 Thread Rob Gunther via Exim-users
I am trying to conduct a search (condition) in an ACL. condition = ${if match {$spam_report:}{VIRUS}} The above WORKS. My understanding when using the match command the right element is considered a REGEX, even though I don't need that functionality I don't see any other way to conduct a

Re: [exim] Access $domain in ACL?

2019-09-15 Thread Rob Gunther via Exim-users
Bummer, I see the $domain variable is not available. RTFM and I see the following note: 15. Data for message ACLs In the case of RCPT (but not MAIL or DATA), $domain and $local_part are set from the argument address. The entire SMTP command is available in $smtp_command. That sucks, as I don't

[exim] Access $domain in ACL?

2019-09-15 Thread Rob Gunther via Exim-users
I am using acl_smtp_data to execute anti-spam/anti-virus checks. It works fine. I'm now trying to use logwrite if the result of the scan indicates the message contains a virus. That part is also working, when a virus is detected I can write to the log. The problem is, I want to include the

[exim] Slow Delivery - Nothing in log

2019-05-11 Thread Rob Gunther via Exim-users
I am tracing some slow delivery of mail, about 20+ minutes A message comes in, but Exim appears to make no delivery attempt for 20+ minutes. The logs show the message is accepted, then 20 minutes later it is delivered. Nothing in the logs during the 20 minutes for that message, no delivery

[exim] (no subject)

2019-01-23 Thread Rob Gunther via Exim-users
We are accepting mail for customer domains, then delivering the mail using Exim to the customer server. Customer servers can be anywhere, as long as it answers to SMTP requests. Come across a problem, two users hosted by Google. Customer 1 has somehow added IP restrictions in the Google

[exim] SIZE announcement @ connectf

2018-03-19 Thread Rob Gunther via Exim-users
When someone connects to Exim (or any server really) and do an EHLO the server will return a maximum SIZE they will accept. I ran a test against a few providers: SIZE Announced Megabyte GMAIL 157286400 150.00 Outlook 157286400 150.00 InMotion 52428800 50.00 GoDaddy 104857600 100.00 HostGator

[exim] SRS reverse

2018-02-23 Thread Rob Gunther via Exim-users
I am trying to add SRS to a server to deal with mail forwarding, following these instructions . I have the forwarding part working. The reverse part works as well, but I want to tweak it. If a hash has expired or someone is trying to hack it the router

Re: [exim] Sender Name & Email

2017-08-18 Thread Rob Gunther via Exim-users
Thanks for the confirmation guys but of a bummer but not the end of the world. I ended up using ${address:$h_from:} to let Exim provide the best possible address and $h_from directly to try and extract any name parts on my own. On Thu, Aug 17, 2017 at 11:07 PM, Rob Gunther

[exim] Sender Name & Email

2017-08-17 Thread Rob Gunther via Exim-users
I thought I had in the past seen variables where Exim exposed the header From: data of the sender. Specifically breaking it down into an email address and name parts. I see the $sender_address which exposes the envelope address, but I'm looking for the header parts. Of course, I can access the

Re: [exim] Routers - Headers

2017-08-11 Thread Rob Gunther via Exim-users
org> wrote: > Rob Gunther via Exim-users <exim-users@exim.org> (Fr 11 Aug 2017 08:49:30 > CEST): > > My assumption was correct, I found this blurb in the documentation > > <http://www.exim.org/exim-html-current/doc/html/spec_ > html/ch-generic_options_for_routers.ht

Re: [exim] Routers - Headers

2017-08-11 Thread Rob Gunther via Exim-users
My assumption was correct, I found this blurb in the documentation on routers. *New header lines are not actually added until the message is in the process of being transported. This means that

[exim] Routers - Headers

2017-08-10 Thread Rob Gunther via Exim-users
I have a router that I use for catch-all purposes. If the conditions are all valid, it adds a header and redirects the message to the catch-all account defined for the domain. headers_add = "X-Catch-All: u...@example.com" That works fine, has been working for years. Further down in my router

[exim] How to go about 'saving bits'

2017-08-06 Thread Rob Gunther via Exim-users
We want to use a filter to save a snippet of information from every message. Ideally, we would like to save the message sender & recipients (we store recipients in a variable in the ACL that we can reference) to a file. I guess the question is, how can I make a little file for every message

[exim] nhash - how to reproduce?

2017-08-04 Thread Rob Gunther via Exim-users
I am looking at nhash in exim to store email into different folders to prevent too many messages in a single folder. How does nhash actually work though? If I have exim store the message based on this hash but I want to look up where said message was stored using some other system, how can I