Sponsored Content
Full Discussion: Sendmail /VAR/SPOOL/MAIL
Top Forums UNIX for Dummies Questions & Answers Sendmail /VAR/SPOOL/MAIL Post 302308208 by mojoman on Friday 17th of April 2009 11:11:31 AM
Old 04-17-2009
But is the file ever changed?

Yes,

But does the spool file always contain all the emails sent and received? Or is this due to configuration.
 

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

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 (2 Replies)
Discussion started by: larcom61
2 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Can I zero var/spool/mail/mail

The mail file in the directory var/spool/mail is very large. Can I zero this (>) without losing any unopened mails there may be? There are about 10 mail accounts. Using RedHat Linux. Thanks in advance. (0 Replies)
Discussion started by: dennisheazle
0 Replies

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
MAILCHECK(1)						      General Commands Manual						      MAILCHECK(1)

NAME
mailcheck - Check multiple mailboxes and/or Maildirs for new mail SYNOPSIS
mailcheck [-lbcsh] [-f rcfile] DESCRIPTION
mailcheck is a simple, configurable tool that allows multiple mailboxes to be checked for the existence of mail. For local mail, it sup- ports both the traditional mbox format and the newer Maildir format. Mail can also be checked for on remote servers using either the POP3 or IMAP protocol. Typically, one would invoke mailcheck in /etc/profile or a user-specific login script. E-mail junkies may also find it useful to invoke mailcheck occasionally to check for new mail in alternate mailboxes. The author uses mailcheck to keep track of messages arriving in mailboxes corresponding to several mailing lists he subscribes to. OPTIONS
-l Runs mailcheck in login mode. If a ~/.hushlogin file exists, mailcheck will exit silently. This option is intended to be used on systems that invoke mailcheck from a global login script such as /etc/profile. -b Brief mode. Produces less verbose output. If mailbox or Maildir is inside user's home direcory, only relative path is printed to output. -c Use more advanced counting method. While counting mails, mailcheck looks inside mboxes and Maildirs and count new and unread mes- sages separately. If mbox/maildir does not contain any new or unread mail, it's excluded from report. Produced output contains more valuable information, but this method is more time-consuming. -s Print "no mail" summary. If no new mail message is found, print at least "no mail message" at the end. Only makes sense in combi- nation with -c. -f Specify alternative rc file location. If provided, default locations (see FILES) are not checked. -h Print short usage information. CONFIGURATION
Configuring mailcheck is simple. Upon startup, mailcheck looks for a file called .mailcheckrc in the user's home directory. If that file does not exist, the default configuration file /etc/mailcheckrc is used instead. Lines beginning with a hash sign (#) are treated as comments and will not be processed. Lines beginning with pop3: or imap: are parsed like URLs and used to connect to network mail servers. All other lines are treated as pathnames to mailbox files or Maildir directories. Environment variables in the format $(NAME) will be expanded inline. For example: /var/spool/mail/$(USER) Will check the user's mailbox in /var/spool/mail. $(HOME)/Mailbox Will check the default mailbox used by qmail installations. When connecting to POP3 or IMAP servers, the account password is not stored in the mailcheckrc file. Instead, the .netrc file in the user's home directory is used. This file, originally intended for use with ftp(1) and later used by fetchmail(1), should be readable only by the user owning it. It stores server/user/password combinations in the form: machine servername login username password password FILES
/etc/mailcheckrc This is the site-default mailcheck configuration file. It should be edited by the system administrator to meet the needs of most users on the system. ~/.mailcheckrc This is the user-specific mailcheck configuration file. If it exists for a particular user, the site-default configuration file will not be used. ~/.netrc This tells mailcheck what password to use for a given server/user combination when checking POP3 or IMAP mail. COPYRIGHT
Copyright (C) 1996, 1997, 1998, 2001, Jefferson E. Noxon. Portions Copyright (C) 1996, Free Software Foundation, Inc. Portions Copyright (C) 1996, Gordon Matzigkeit. Portions Copyright (C) 1998, Trent Piepho. Other copyrights may apply. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux see /usr/share/common-licenses/GPL AUTHOR
Mailcheck was written for Debian GNU/Linux by Jefferson E. Noxon <jeff@planetfall.com>. ACKNOWLEDGEMENTS
POP3 and IMAP support was added by Rob Funk <rfunk@funknet.net>. Several enhancements by Tomas Hoger <thoger@pobox.sk>. BUGS
It is probably not a good idea to store passwords in a .netrc file. No SSL/TLS support for POP3 and IMAP. SEE ALSO
netrc(5), mbox(5), maildir(5), login(1), fetchmail(1) 2 July 2005 MAILCHECK(1)
All times are GMT -4. The time now is 01:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy