#418910 Allow dsearch in other_hostnames

Package:
exim4-config
Source:
exim4
Submitter:
"Toby Chamberlain"
Date:
2025-02-20 05:51:01 UTC
Severity:
wishlist
Tags:
#418910#5
Date:
2007-04-12 17:36:05 UTC
From:
To:
A simple change to update-exim4.conf allows the use of dsearch (and others)
in dc_other_hostnames:

diff /usr/sbin/update-exim4.conf.orig. /usr/sbin/update-exim4.conf
127c127
<       sed -e 'sÄ[;: ]*$ÄÄ' -e 'sÄ *ÄÄ' -e 'sÄ;Ä:Äg' )"
---

With this change "dc_other_hosts=host1;dsearch=/etc/exim4/virtual" works as
expected (although maybe there's a better character than "=" as there's
already one on the line)

While it does seem a bit convoluted - changing semi-colons to colons and
then some other character to semi-colons - I think the benefit of having the
feature far outweighs the wierdness.

Toby

#418910#10
Date:
2007-04-12 19:32:42 UTC
From:
To:
severity #418910 wishlist
tags #418910 wontfix
thanks

I do not plan to make update-exim4.conf any more complicated to allow
something that has never been supported.

Especially not at this time where people will have to live without
this "feature" for the etch lifetime.

Sorry.

Greetings
Marc

#418910#19
Date:
2007-04-13 01:23:06 UTC
From:
To:
Hi Marc,

Thanks for you prompt reply (and heaps more thanks for maintaining the
package in the first place).

While I respect your decision as the maintainer, and am not going to make a
big deal out of it as I'll just make the change myself, I will ask you to
reconsider for the following reasons:

1. Using dsearch in the domains_list is widespread and thus this issue
affects a lot of people
2. The code change is very simple, and is very unlikely to cause more issues
than it fixes
3. You say it's "never been supported" but exim has supported dsearch in the
domains_list for a very long time (and appears to have been broken in Debian
when dc_other_hostnames was introduced)
4. All the "exim virtual hosts" guides I found on Google use this method, so
first-timers will be confused
5. You say its "more complication", but for those that don't need it there
is no complication - they just enter hostnames as they do now.
6. For those that use it, it will be simpler than having to maintain the
list manually.

I hope you can see that the fix will
a) only take a few minutes of your time, but benefit a large number of
people
b) restore standard functionality that is supported in the upstream exim and
previous Debian versions
c) make managing virtual domains on exim server simpler without complicating
other setups

If after considering all this, you still decide not to fix the bug then I
will just have to trust your judgement.

Toby
----- Original Message ----- From: "Marc Haber" <mh+debian-packages@zugschlus.de> To: "Toby Chamberlain" <tjchamberlain@hotmail.com>; <418910@bugs.debian.org> Cc: <392831@bugs.debian.org>
#418910#24
Date:
2007-04-13 12:40:20 UTC
From:
To:
The domain lists in update-exim4.conf.conf have always been documented
as "a list of domains". Using dsearch-expessions there is not "a list
of domains", hence out of spec.

The code is already complex enough. Every new magic built into the
regular expressions is bound to break other people's tricks, and then
these will demand their own personal change in the packaging. This
doesn't scale.

update-exim4.conf.conf has nothing to do with exim configuration. It
is a configuration file for the program that generates Debian's exim
configuration. If I knew that people were using it to funnel complex
exim queries into the configuration, update-exim4.conf would have made
proper input sanitazion.

Using HOWTOs found on the Internet without understanding what one does
is harmful. Additionally, update-exim4.conf gives a quite clear error
message, which has especially introuced for HOWTO users.

It is a complication for the people who maintain the code. I care
about _these_ people.

It is not necessary to maintain the list manually. Just put it into
the appropriate place in the main exim configuration. There is a macro
mechanism available that even saves you from editing the big conffile.

It'll take a lot more time in the long run. One just does not apply a
fix and then forget about it.

I doubt that it benefits them.

Using complex dsearch expressions in what has always been definied as
"a list of domains" is not standard functionality. If you want to use
the upstream exim feature, use it in the exim configuration, not in
the update-exim4.conf configuration.

It doesn't.

Greetings
Marc

#418910#29
Date:
2007-05-16 18:06:48 UTC
From:
To:
NEWS.Debian suggests using the macro mechanism to replace the
no-longer-working dsearch entry in dc_other_hostnames.  I thought it
would be helpful to include an example, since this seems to affect many
people.  Could someone verify that this is correct, and perhaps include
it in the documentation?

In short, if you used to enter

pimlott.net:dsearch;/etc/exim4/virtual

in dc_other_hostnames (ie, the question "Other destinations for which
mail is accepted:), then you should instead add the following line to
exim4.conf.localmacros:

MAIN_LOCAL_DOMAINS = @:localhost:pimlott.net:dsearch;/etc/exim4/virtual

What you put in dc_other_hostnames is no longer used.

Works for me!

Andrew

#418910#34
Date:
2007-05-17 11:04:02 UTC
From:
To:
That is correct afaict ( for the non-split-config case.)
cu andreas

#418910#39
Date:
2007-05-17 15:56:44 UTC
From:
To:
On Thu, May 17, 2007 at 01:04:02PM +0200, Andreas Metzler wrote:
...

I assume you're not implying that it is incorrect for the split-config
case, because that's what I'm using. :-)  In other words, it should work
for everyone.

Andrew

#418910#44
Date:
2017-02-06 07:14:04 UTC
From:
To:
Dear Customer,

Your parcel was successfully delivered February 03 to UPS Station, but our courier cound not contact you.

Please check the attachment for details!

Yours faithfully,
Manuel Cowan,
UPS Parcels Delivery Agent.

#418910#49
Date:
2020-01-07 09:49:17 UTC
From:
To:
  Attention


Dear Winner,

Do you received our previous emails ?

Yours faithfully
Coordinator
Australian International Lottery Program.

#418910#54
Date:
2020-10-22 08:48:28 UTC
From:
To:
Hi,



Hope you are doing great!



Business Plan being one of your specialty, how about acquiring a list of
your alternative vendor customers for your marketing initiatives?



If this sounds of any value, let me know your target audience so that I will
provide you with the information on counts, cost and the data set we offer.

Thank you and I look forward for an opportunity to work with you.

Regards,

Patricia Mickey
Demand Generation

#418910#59
Date:
2020-11-09 11:49:35 UTC
From:
To:
Hi,

I would be happy to help you with your requirements, but before that can you let me know your preferred Target Job Titles: ____ and Target Geography: _____, so that I can give you more information on counts and pricing details.

I will be looking ahead to your response.

Thanks and Regards,
Patricia Mickey
Sr. Demand Generation

#418910#64
Date:
2021-03-19 11:01:58 UTC
From:
To:
Hi,



Would you be interested in Business Plan Software Users List for your sales
and marketing initiatives?



Please do fill in the below if the above mentioned does not suit your needs:



Audience ____________, Geography ___________, Titles _____________,



Note: We have all types of technologies list available with us we can
provide you with your specific requirements.



If this sounds of any value, let me know your target audience so that I will
provide you with the information on counts, cost and the data set we offer.



I am looking forward to hearing from you.



Thanks and Regards,

Carolyn Russo

Demand Generation

#418910#69
Date:
2022-10-26 21:10:33 UTC
From:
To:
Pouvez-vous m'aider à y parvenir
Hello
I am writing you because i want to invest in your country and further my
education

Can you help me achieve this

Miss Christine Gabriel

#418910#74
Date:
2025-02-20 05:48:51 UTC
From:
To:
Greetings, This is my 2nd message to you concerning funds left behind by a
relative of yours. Kindly Email me ASAP  attorneychrisklaas@zohomail.com

Best regards,
Attorney Chris Klaas
Accredited Specialist, Banking and Finance Law
------------------------------------------------------------------------------------------
The content of this email is confidential and intended for the recipient
specified in the message only. It is strictly forbidden to share any part
of this message with any third party, without a written consent of the
sender. If you received this message by mistake, please reply to this
message and follow with its deletion, so that we can ensure such a mistake
does not occur in the future.