New answers tagged

0

By itself, lsof -i will only list Internet information. You can add file information (or show that instead) using the -d option. For example: lsof -d txt | grep -E '/httpd.pl$' because (unless a process changes the name under which it runs) the command name will match the actual filename which was loaded. That file has to be executable, of course ...


0

You are redirecting the standard output from sendmail to the log file, but standard error is not redirected, and so ends up in the Procmail log file. I would imagine that sendmail sets a suitable exit code, and that you can simply generate a local bounce message when it fails if you want to. This is becoming complex enough that I would create a separate ...



Top 50 recent answers are included