Help for this page

Select Code to Download


  1. or download this
    Jun  7 13:47:56 smtpserver postfix/smtp[16346]: A9507208022: to=<a.use
    +r@somwhere.gov>, relay=localhost[127.0.0.1], delay=0, status=sent (25
    +0 Ok: queued as B68C8208095)
    
  2. or download this
    Jun  7 13:47:56 smtpserver postfix/smtpd[12725]: A9507208022: client=o
    +urhost1.our.domain[172.111.111.111]
    
  3. or download this
    Jun  7 13:47:57 smtpserver postfix/smtp[12379]: B68C8208095: to=<a.use
    +r@Somewhere.gov>, relay=server.somwhere.gov[10.0.100.100], delay=1, s
    +tatus=sent (250 ok:  Message 2156237 accepted)
    
  4. or download this
    foreach $line ( <FH> ) {                
       if ( $line !~ /to=<.*(our\.domain)/i) {    
    # our external domain is a subset of the ones we're looking for
    ...
    }
    # then do something to run through the log again and print
    # the delivery report line from the second msgid