On Sat, Jan 03, 2009 at 04:51:04PM +0530, ram wrote: > Can all the logs be made in lowercase only atleast the sender and the > recipient emailids > > Since we have huge logs, searching for something in the logs is quite > expensive. And doing it case insensitive really sucks the resources > If postfix could log everything in lowercase then that would help a lot
Here's a nickel, buy a faster grep implementation. If your "egrep -i" is not faster than: tr '[A-Z]' '[a-z]' /var/log/maillog | egrep "pattern" use "tr" first. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.