Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How safe is it to remove files(/var/spool/mail)? Post 90705 by larcom61 on Friday 25th of November 2005 11:30:53 PM
Old 11-26-2005
How safe is it to remove files(/var/spool/mail)?

How safe is it to remove these spooler mail files.

I need to make some room in the /usr directory?

Any ideas?

thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

in var/spool/mail, same entry with different users....

i am on aix, in the /var/spool/mail ,i have an entry as below, after doing a ls -ltr -rw-rw---- 1 ai mail 3898 Sep 02 11:26 mei -rw-rw---- 1 root mail 22900 Nov 08 14:55 root shouldnt the ai and mei be the same just like root, root? thanks (2 Replies)
Discussion started by: yls177
2 Replies

2. UNIX for Dummies Questions & Answers

Can I delete the file var/spool/mail/news?

The file var/spool/mail/news has grown very large and takes up too much space. Can I delete this without any problem? (3 Replies)
Discussion started by: dennisheazle
3 Replies

3. UNIX for Dummies Questions & Answers

How do I read mail in /var/spool/mail?

How can I read mail sent to /var/spool/mail? I do not have pine installed so forget about that...is there some generic utility I can use? (3 Replies)
Discussion started by: mojoman
3 Replies

4. UNIX for Dummies Questions & Answers

/VAR/SPOOL/MAIL question

Hi, We have all the user account in a home direcory where their mail is stored and retrieved by email clients. We do however have /var/spool/mail with all the user accounts in it as well Our sendmail.cf is configured to use /var/spool/mqueue as the queue so .what is /var/spool/mail being used... (3 Replies)
Discussion started by: mojoman
3 Replies

5. UNIX for Dummies Questions & Answers

Sendmail /VAR/SPOOL/MAIL

Hi, First Question: In our company our users have their mailboxes in /var/spool/mail When I look at the users file it seems as if every email sent/received is in that user file! Is this because IMAP is being used or is that just how sendmail works? Second Question: How is that when I create... (3 Replies)
Discussion started by: mojoman
3 Replies

6. UNIX for Dummies Questions & Answers

/var/spool/mail

Hi, How can i get my mail on either /var/spool/mail or /var/mail? I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

7. UNIX for Advanced & Expert Users

mail is not sent, instead just coping into /var/spool/queue dir

Hi, I have some problems w/ the sendmail. I see that messages are queued in the /var/spool/mqueue and they are never sent to the recipients. This problem just suddenly started without any modifications in the current configuration. I already started and stop the sendmail and it did not help.... (3 Replies)
Discussion started by: ktanya
3 Replies

8. UNIX for Advanced & Expert Users

Mail going to /var/spool/mqueue instead of being sent

Hello, I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent. Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Discussion started by: xadamz23
9 Replies

9. AIX

/var/spool/mail/ issues

Hi My box is running with AIX 6100-06 and Im the root user of this box My /var gets filled up often to 100% When I investigate I find that it is the below file which increases rapidly /var/spool/mail/pdgadmin I dont know why this file is growing up. Can any one assist me on this.... (2 Replies)
Discussion started by: samsungsamsung
2 Replies

10. AIX

/var/spool/mail/<username> files' content wipeout impact

Hi Guys!!! ->I am using AIX 6.1. One of the file system full which is /var filesystem. ->/var total size is 5.00 GB. ->And inside the /var file system spool/mail folde is taking around 2.9 GB. ->There 3 big size of file as shown below, which shows that these files are taking more size.... (4 Replies)
Discussion started by: manjusharma128
4 Replies
dotlock(1)							   User Manuals 							dotlock(1)

NAME
lbdb_dotlock - Lock mail spool files. SYNOPSIS
lbdb_dotlock [-t|-f|-u|-d] [-r retries] file DESCRIPTION
dotlock implements the traditional mail spool file locking method: To lock file, a file named file.lock is created. OPTIONS
-t Just try. dotlock won't actually lock a file, but inform the invoking process if it's at all possible to lock file. -f Force the lock. If another process holds a lock on file longer than a certain amount of time, dotlock will break that lock by removing the lockfile. -u Unlock. dotlock will remove file.lock. -d Delete. dotlock will lock file, remove it if it has length 0, and afterwards remove file.lock. -r retries This command line option tells dotlock to try locking retries times before giving up or (if invoked with the -f command line option) break a lock. The default value is 5. dotlock waits one second between successive locking attempts. FILES
file.lock The lock file dotlock generates. SEE ALSO
fcntl(2), flock(2), lockfile(1), lbdb-fetchaddr(1) DIAGNOSTICS
dotlock gives all diagnostics in its return values: 0 - DL_EX_OK The program was successful. 1 - DL_EX_ERROR An unspecified error such as bad command line parameters, lack of system memory and the like has occured. 3 - DL_EX_EXIST The user wants to lock a file which has been locked by another process already. If dotlock is invoked with the -f command line option, dotlock won't generate this error, but break other processes' locks. 4 - DL_EX_NEED_RPIVS This return value only occurs if dotlock has been invoked with the -t command line option. It means that dotlock will have to use its group mail privileges to lock file. 5 - DL_EX_IMPOSSIBLE This return value only occurs if dotlock has been invoked with the -t command line option. It means that dotlock is unable to lock file. NOTES
dotlock tries to implement an NFS-safe dotlocking method which was borrowed from lockfile(1). If the user can't open file for reading with his normal privileges, dotlock will return the DL_EX_ERROR exit value to avoid certain attacks against other users' spool files. The code carefully avoids race conditions when checking permissions; for details of all this see the com- ments in dotlock.c. HISTORY
dotlock is part of the Mutt mail user agent package. It has been created to avoid running mutt with group mail privileges. AUTHOR
Thomas Roessler <roessler@guug.de> Unix OCTOBER 2005 dotlock(1)
All times are GMT -4. The time now is 04:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy