On 23 Aug 2001, John R. Levine wrote: > Of course. When qmail rewrites the local part of a virtual domain > address, it does NOT change the domain. So all you have to do is to > look up $DOMAIN in virtualdomains, and if you find it strip off the > prepend string. It should take about three lines of perl. Or three lines of Python in this case. It isn't that this is hard to implement, but that it involves unnecessary overhead for such a simple issue that could have (and should have IMO) been worked into the design. This is like having to climb a long flight of stairs when an elevator would be so much simpler and more efficient. For my application, your suggestion would involve parsing the virtualdomains file each time an incoming message arrives. What if the box hosts 10K, 100K or even more virtualdomains? What if the virtualdomains file is not readable by the user? Workable, but messy. The real tragedy is that I know there is no chance of getting this fixed in the main qmail dist, or I'd already have provided patches. -- (TMDA - http://tmda.sourceforge.net) (SPAM reduction for qmail systems)
- Re: detecting the original envelope r... Charles Cazabon
- Re: detecting the original envel... Jason R. Mastaler
- Re: detecting the original envel... Mate Wierdl
- Re: detecting the original envelope r... John Hogan
- Re: detecting the original envelope recipient... Mate Wierdl
- Re: detecting the original envelope recipient und... Einar Bordewich
- Re: detecting the original envelope recipient under a ... Jose Luis Painceira
- Re: detecting the original envelope recipient und... Einar Bordewich
- Re: detecting the original envelope recipient und... Mate Wierdl
- Re: detecting the original envelope recipient under a ... John R. Levine
- Re: detecting the original envelope recipient und... Jason R. Mastaler
- Re: detecting the original envelope recipient... Charles Cazabon
- Re: detecting the original envelope recip... Jason R. Mastaler
- Re: detecting the original envelope r... Charles Cazabon
- Re: detecting the original envelope recipient... John R. Levine
- Re: detecting the original envelope recip... Mate Wierdl
- Re: detecting the original envelope recip... Pavel Kankovsky
- Re: detecting the original envelope r... Mate Wierdl
- Re: detecting the original envelope recipient... Mate Wierdl
- Re: detecting the original envelope recip... Dave Sill
- Re: detecting the original envelope r... Charles Cazabon
