Question

please advice how to stop the file creation under the directory -

   /var/spool/clientmqeueue

the reason for that because the clientmqeueue folder have huge capacity and files created every day

please advice for all possibilities

Was it helpful?

Solution

This is your mail queue, most likely it's a program or programs sending mail(s) to users which your system doesn't know how to deliver.

you can check the output of mailq which may (or may not) show you what's in there, but this command depends entirely on how your system is configured.

As to what's generating them, it's most likely cron jobs.

OTHER TIPS

If you don't care about loosing all your emails, only to stop sendmail:

service stop sendmail

/var/spool/clientmqueue is where emails are waiting for delivery. If there are problems with sendmail or it's configuration, this dir will be growing. Check your config files: /etc/mail/sendmail.cf and /etc/mail/submit.cf

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top