Date: Tue, 25 Sep 2012 12:13:40 +0200 From: h.reindl@thelounge.net To: centos@centos.org CC: motamedi24@hotmail.com Subject: Re: [CentOS] /var/spool/mail ?
Am 25.09.2012 12:02, schrieb Hadi Motamedi:
Dear All On my server , the /var/spool/mail/root is getting very big in size . To free up more space, can you please let me know how can I solve my problem ? Thank you
these are system-mails (cronjobs, logwatch, smartd, mdadm.....) you should read them from the very beginning of the setup!
/etc/aliases: root: your-mail-address@yourdomain.tld
call the command "newaliases"
call "postqueue -f" if postfix is used to deliver existing mails for sendmail -> no idea, i am postfix-user since many years ______________________
you can also delete the mails before change the config to relay them in future and restart the MTA
Thank you very much for your help.