Ulrik Haugen wrote: > Hello! > > Cami <[email protected]> wrote: > >> Evan Roberts wrote: >> >>> The issue I'm having is with maillists, as Leonardo mentioned. I >>> could very easily add them manually to Postfix, but I wanted to see >>> about keeping everything within policyd if at all possible. >>> > > >>> One example is that I occasionally get those irritating "Cruise >>> Critic" emails, with the "from" of: >>> > > >>> owner-ccnewsletterevanevanroberts-...@listserv.independenttraveler.com >>> > > >>> I was hoping to use the blacklist_sender for that, either blocking >>> the entire address, or just "@listserv.independenttraveler.com", >>> but it would appear that the length of the email address is too >>> large for policyd to handle. I have added >>> "@listserv.independenttraveler.com" to the blacklist_sender, but >>> since policyd sees it as such: >>> > > >>> [email protected] >>> > > >>> ...it doesn't reject the email based on the blacklist, it greylists >>> it, which eventually gets through. >>> > > >> I will rewrite some bits of code to truncate the email address + >> domain in reverse order so the output looks similar to: >> > > >> [email protected] >> > > >> Thanks for spotting/reporting this problem. >> > > > Did anyone write a patch to do this? I'm currently suffering large > volumes of commercial email from addresses like: > > studentuniverse_04f50a75a780c0eb39921351b3fda6eccb7b8ef3fab3d...@response.whatcounts.com > > and I can't figure out a way to throttle it. I'm fine with throttling > all email from @response.whatcounts.com, but that doesn't seem > possible. > > I'm using Policyd 1.82. > More than likely possible with v2 if we add a different way of tracking email, based on splitting off various parts of the address using the +.
-N _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
