On 2012-02-23 7:04 AM, Tanstaafl <tan...@li...> wrote:
> On 2012-02-22 7:37 PM, Christian Boltz <pos...@cb...> wrote:
>> Am Mittwoch, 22. Februar 2012 schrieb Tanstaafl:
>>>> sub check_and_clean_from_address {
>>>>
>>>> my ($address) = @_;
>>>> my $logger = get_logger();
>>>>
>>>> if($address =~
>>>> /^(bounce|daemon|facebook|linkedin|listserv|mailer|majord
>>>> omo|mediapost|myspace|noreply|owner|plus.google|postmaster
>>>> |request|twitter)/i ) {
>
>> This checks for addresses _starting with_ the texts in the list - I
>> doubt you want that for myspace or plus.google ;-)
Well, damn, I just saw another vacation message go out that had an
envelope sender of c.3...@ca...
If what I had was indeed a 'contains' search, that should have been
blocked by the 'bounce' string... so, obviously, it still isn't working
like I want.
Please, please, please can someone tell me how to simply make that check
above perform a 'contains' search on the entire envelope sender (both
local and domain parts)?
|