On 5/12-2003, at 18.31, Bowie Bailey wrote:
or a slightly less obfuscated version:
perl -ne 'if
(/courieresmtp.*?from=<([^>]*)>,addr=<([^>]*)>,size=(\d*),status: success/)
{print "$3;$1;$2;\n"}' /var/log/maillog
(note that the command should be all on one line)
How can i add the date and time to that one ?
Thomas von Hassel
-- Dignity and an empty sack is worth the sack. -Ferengi Rule of Acquisition No. 109
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
