CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Server Support
  Move the sendmail queue folder?

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  markrich
      markrich
Move the sendmail queue folder?
#1
Peeking in the Member Window
Joined: 2009/5/22
From Bath, UK
Posts: 13
All!

Is there a simple way to move the Sendmail queue folder?

Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail.

There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.

Any help appreciated.

Marky
Posted on: 2009/11/5 9:53
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Move the sendmail queue folder?
#2
Regular Board Member
Joined: 2009/9/24
From Brighton, UK
Posts: 79
If I were to do this, I would do it on a test server first...

shutdown sendmail
move the existing contents of /var/spool/mqueue to the new directory
cd /var/spool
mv mqueue mqold
ln -s /var/opt/scalix/sendmail/mailqueue mqueue
Restart sendmail and hope!
Posted on: 2009/11/5 11:06
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com