- Package:
- exim4-config
- Source:
- exim4
- Submitter:
- "Toby Chamberlain"
- Date:
- 2025-02-20 05:51:01 UTC
- Severity:
- wishlist
- Tags:
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
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
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>
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
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
That is correct afaict ( for the non-split-config case.) cu andreas
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
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.
Attention Dear Winner, Do you received our previous emails ? Yours faithfully Coordinator Australian International Lottery Program.
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
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
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
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
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.