Victor Duchovni a écrit : > On Sat, Mar 21, 2009 at 03:19:44PM +0100, mouss wrote: > >> Charles Marcus a ?crit : >>> On 3/17/2009, LuKreme (krem...@kreme.com) wrote: >>>> On 17-Mar-2009, at 06:09, Erwan David wrote: >>>>> I would fear it breaks recipient validation, accepting mail for eavery >>>>> address with a _ as valid. >>>> That is a drawback. >>> Oh... well, if it does indeed do what Erwan said, it isn't just a >>> drawback, it is unacceptable. Proper recipient validation is an absolute >>> requirement. >>> >>> So, is there no way to rewrite the recipient and *then* validate it? >>> >> as already said, generating the map from the list of valid addresses is >> the way to go. >> >> alternatively, you can add an smtpd in the chain using proxy_filter: >> >> - smtpd on port 25 does the rewrite. it then uses proxy_filter to pass >> mail to an smtpd on port 10020. > > Rewriting is done by cleanup(8). This can't work. >
I guess this is because cleanup isn't called to do the rewrite when a proxy_filter is used, right?