On Sun, 2004-11-14 at 19:15, David Robertson wrote:
On Sun, 2004-11-14 at 18:21 +0530, rada and gus wrote:
<snip>
I now noticed that I received root's mail in /var/spool/mail/"my user name".
In that file are included 19 messages mostly to root, but also 6 messages to my regular e-mail address! This address is a pop account from which I download (using mozilla) via my local ISP. <snip>
This is really odd. Any ideas? Thanks, Gus.
When you set up the mail transfer agent in YaST, you must have configured fetchmail to collect your pop mail - that's the bit where you enter your pop server details and also where you want root's mail to go (YaST > Network Services > Mail Transfer Agent > Incoming Mail). If you prefer to use Mozilla mail to directly query the pop server, then you'll need to go into YaST and remove those details - but leave the setting to pass root's mail to the user.To get at root's mail, configure an account in Mozilla to access /var/spool/mail/user (I think it has to be set up as a movemail account)).
What's happening at the moment is that Fetchmail is retrieving and removing some of your mail at regular intervals. When you fire up Mozilla, you'll get mail that has arrived in between Fetchmail polls, but miss all the other stuff (which is sitting in /var/spool/mail/user).
David
David, hanks for your really fast reply. Looks like you're right in what the cause is, but I can't fix it with Yast and also keep root's mail being sent to me (I have a laptop and am the only user on my system). The first screen in Yast->Mail Transfer Agent gives three options: 1)permanent 2)dial up 3)no connection. I tried removing the smtp and pop entries in - 2)dial up - but any data I delete and leave blank leads to an error message and I can not move on to the next screen and to finish. 3) - does not give me any option for root's mail. Since I have a dial up then 1) is not an option. I made a link from /var/spool/mail/user to /home/user/.mozilla/~/mypopaccount so the mail appears as a folder in mozilla and I have complete access to the mail. I suspect I have to make a change to some configuration file, perhaps for fetchmail - it's using procmail to fetch and deliver the mail not fetchmail. If preventing fetchmail from getting the mail is easy I'll do it, otherwise I know what is the cause and at least I have a workaround which is not bad. Thanks again. Gustav Degreef.