20080623

Disable some PHP functions

Disable some uneeded functions. Add these to your php.ini

disable_functions: escapeshellarg, escapeshellcmd, exec, passthru, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, system, pcntl_exec, pcntl_fork, popen, phpinfo

Edit: Those who managed to gain access to a web server will look for these process when you have PHP installed. If you won't use it, disable it.

20080620

Sendmail premature EOM: unexpected close

Been geeting some errors on our sendmail server with:

premature EOM: unexpected close

at the sending server, the error was:

Deferred: Operation timed out with

and mails can't get in even if their really small. It turns out one of the RBLs I've configured is not responding anymore. I've commented out till I find out which one.

Look for:

FEATURE(`dnsbl',blah blah...

and comment them out:

dnl FEATURE(`dnsbl',blah blah...

run make or rebuild sendmail.mc then restart/reload sendmail.