On 2012-02-21 1:07 PM, David Goodwin <da...@co...> wrote:
>> > Maybe add an elseif in there, so something like:
>> >
>> > if($address =~
>> > /^(noreply|postmaster|mailer\-daemon|listserv|majordomo|owner\-|request\-|bounces\-)/i
>> > ||
>> > $address =~ /\-(owner|request|bounces)\@/i ) {
>> > $logger->debug("sender $address contains $1 - will not send
>> > vacation message");
>> > exit(0);
> }
>> > elseif($address = /^*(linkedin|facebookmail|twitter|myspace)*/i) {
>> > $logger->debug("sender $address contains $1 - will not send
>> > vacation message");
>> > exit(0);
>> > }
>
>
> The above ought to work. I've added a missing ) on line 4 ($address =~ /.…….@/i )<--
> and a missing } after the 'exit(0)'.
Cool, I'll give it a shot...
Thanks!
|