[BlueOnyx:01683] Re: Sendmail attack, again

Michael Stauber mstauber at blueonyx.it
Tue Jul 14 09:25:12 PET 2009


Hi Steve,

> bash: /bin/rm: Argument list too long
>
> anyone have any ideas.

Try the follwing sequence of commands:

service crond stop
service sendmail stop
killall -9 sendmail
cd /var/spool
rm -R mqueue
mkdir mqueue
chmod 700 mqueue
chown root:mail mqueue
service sendmail start
service crond start

That stops Sendmail and Crond (or Active Monitor will start Sendmail again), 
removes the mqueue directory, re-creates it with the right UID, GID and 
permissions and then Sendmail and Crond are restarted.

-- 
With best regards

Michael Stauber




More information about the Blueonyx mailing list