On Sun, 2004-11-14 at 23:56, David Robertson wrote:
On Sun, 2004-11-14 at 22:21 +0530, rada and gus wrote:
--snip--
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.
Open YaST > Network Services > Mail Transfer Agent. The first window is "General Settings" - select dialup. If you're only going to use this for internal mail, you won't need virus-scanning. The next window is "Outgoing Mail" - leave everything blank. Next is "Incoming Mail" - "accept remote smtp connections" should be unticked. Leave server, protocol, remote user name, password, local user, blank. If something is filled in, select "details" and you will see an account that you can delete. It should all be blank. Fill in the appropriate user for "forward root's mail to xxxxx" and select "procmail" for delivery mode. Check in "aliases" that the destination for root is your user. Finish.
I have 9.1 and have just done all that with no errors, so it should be OK.
Regarding mozilla mail, making a link to your mail directory won't work, I don't think. You will be able to read the messages, but it will not delete old ones. The last time I used mozilla mail, it didn't support reading from /var/spool/mail, but things may have changed now - one solution may be to set up a movemail account. Have a look at the mozilla documentation for advice on this - or consider using another client. Thunderbird, for example, is based on mozilla mail, and does support movemail accounts
Thanks a lot but I tried deleting the info in the outgoing mail screen and when I press next it still gives an error message saying in essence that I have to supply a valid IP address. You are right the link to the mozilla folders does not allow for the deletion of the mail in /var/spool/mail/user but I can see the mail in mozilla and copy the messages to another box. Essentially good enough since the volume of mail to root and to me is low. I am very eagerly awaiting for my copy of 9.2 which I will install on this laptop (compaq presario 2800) so I won't spend time on this unless there is a really easy solution. Your explanation helped me get a handle on the issue. Thanks. Gustav