cat /etc/mail/virtusertable | grep "^@" | grep "error:nouser" -v | grep
"\%" -v | cut -f1 | sed 's/ (at mark) www.//' > /tmp/somefile.txt
--
Thomas Jensen
----- Original Message -----
From: "Steve Howes" <steve (at mark) geekinter.net>
To: <coba-e (at mark) bluequartz.org>
Sent: Friday, November 21, 2008 1:54 PM
Subject: [coba-e:14365] Re: checking catch all adresses
> See what it does in the maillog. Might be able to find something to grep
> for?
>
> On 21 Nov 2008, at 10:54, Steffan wrote:
>
>> Hello all,
>>
>> Does someone know a way to check all sites on a server that have a dead
>> catch all adres
>>
>> In the past i made by default a catchall adres all@domain
>> But when the cleint removes the allias all a sender is getting the
>> message
>> rewrite: excessive recursion (max 50), ruleset canonify
>>
>> so i like to remove all catchalls that are not longer in use
>> but checking sites 1 by one is a very long process :-)
>>
>> best Regards, Steffan
>>
>>
>
>