Operating System - HP-UX
1826498 Members
2830 Online
109692 Solutions
New Discussion

Re: /var/mail not big enough - want to symbolic link elsewhere

 
SOLVED
Go to solution
Simon R Wootton
Regular Advisor

/var/mail not big enough - want to symbolic link elsewhere

Our /var/mail filesystem is not big enough to cope with the emails coming in/going out. I can't extend the size of this filesystem because there is no available disk.

Can I link the /var/mail dir to another filesystem (eg. /user19/mail) without causing any problems, concious that mail needs to be config'd right!

I would plan to type the following in the /var directory :

ln -s /user19/mail mail

(Note: we have /var/mail as a seperate filesystem).

Please advise - points available!
Cheers
Simon
5 REPLIES 5
MarkSyder
Honored Contributor
Solution

Re: /var/mail not big enough - want to symbolic link elsewhere

I can't see any reason why this wouldn't work. What's different about the way mail has to be configured?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Geoff Wild
Honored Contributor

Re: /var/mail not big enough - want to symbolic link elsewhere

Yes you can do this - if sendmail is running as a daemon - shut it down first....

Make sure you set the permissions on the "new" location to be the same as the curent /var/mail

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Robert-Jan Goossens_1
Honored Contributor

Re: /var/mail not big enough - want to symbolic link elsewhere

Hi Simon,

Check Bill Hassel's answer in this thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=113533

Regards,
Robert-Jan
Simon R Wootton
Regular Advisor

Re: /var/mail not big enough - want to symbolic link elsewhere

Looks like it's a green light - thanks guys. Points for speed of response as well as the answer!

Simon
Simon R Wootton
Regular Advisor

Re: /var/mail not big enough - want to symbolic link elsewhere

Closed