I would like to parce this line in my logfile=20

Sep  9 00:03:20 mx1 postfix/smtpd[11220]: EF67F4E76: reject: RCPT from =
smtpcluster4.ebsco.com[192.73.31.203]: 550 <[EMAIL PROTECTED]>:=
 User unknown in relay recipient table; from=3D<[EMAIL PROTECTED]> =
to=3D<[EMAIL PROTECTED]> proto=3DESMTP helo=3D<smtpcluster.=
ebsco.com>

so that I get out the address of intended recipeint, sending address,  and =
the sending server.

I know that I can get the the 1st item with the cut command but I don't =
know how to
parce to get all values in the resulting file.

here's what I'd like to end up with in the resulting file:

[EMAIL PROTECTED]  [EMAIL PROTECTED] smtpcluster.ebsco.=
com

ideas???
thanks, bob


Reply via email to