Emailserver/Sendmail

Aus SchnallIchNet
Wechseln zu: Navigation, Suche

delete mailq

use mailq-command to identify mail
go to sendmail-spool directory.
there are 2 files for each mail/mail-ID prefixed either with df* and qf*

delete the files in question:

cd /var/spool/mqueue/
rm -f *[EMAIL-ID]

or delete all mails in queue:

cd /var/spool/mqueue/
rm -f *