Tim Alberts wrote:
When I setup my system to have POP3 access to email, it seems to run for a
short period of time (many times once) and then I no longer get email from
the server.
Running sendmail, procmail, spamassassin ipop3d (included with fedora imap
package) and installed clamav.
What I've discovered is that the /var/spool/mail/user file gets overwritten
with the following text:
From MAILER-DAEMON Thu Apr 22 11:50:17 2004
Date: 22 Apr 2004 11:50:17 -0700
From: Mail System Internal Data <MAILER-DAEMON@xxxxxxxxxxxxxxxxxxxxx>
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Message-ID: <1082659817@xxxxxxxxxxxxxxxxxxxxx>
X-IMAP: 1082659816 0000000002
Status: RO
This text is part of the internal format of your mail folder, and is not
a real message. It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.
That's inserted into your mailbox by imapd, so at some point you fetched
the mail via IMAP, not POP3.
I found in the /var/log/maillog the following lines:
Mailbox Vulnerable - Directory /var/spool/mail must have 1777 protection
Does anyone know what's going on?
/var/spool/mail typically has 775 permissions, owner root, group mail.
The "1" is ignored by Linux (the sticky bit). The "other:rwx" bit is
a tad disturbing.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Batteries not included. Offer not valid in some states. -
- Your mileage may vary. Void where prohibited. -
----------------------------------------------------------------------