|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
how extract specific test from Postfix logs with PHP or Perl
Hi,
I extract (in different file) several informations from Postfix logs. more /var/log/maillog | grep NOQUEUE > /tmp/estract.txt this extract looks like this: PHP Code:
PHP Code:
Started to handle it with a PHP script but this is not solved and is becoming a time-consuming job. Though that maybe there is something ready-to-use or a good advice could help. |
|
|||
Tks to both.
Will use the second one that I can even schedule with a cron job. TKU Ciao Marco |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script to test whether an IP address has been listed in a DNSBL | J65nko | Guides | 12 | 2nd February 2016 03:30 AM |
scompat extract failed | rtwingfield | FreeBSD Ports and Packages | 2 | 22nd June 2009 05:15 PM |
test port connection | carpman | FreeBSD Security | 5 | 9th February 2009 11:12 AM |
tftp logs | syrushcw | FreeBSD General | 1 | 25th June 2008 04:06 PM |
How do I get network logs? | Johnny2Bad | FreeBSD General | 2 | 22nd May 2008 05:37 PM |