<<< Date Index >>>     <<< Thread Index >>>

Re: Mutt strating up.



Michelle Konzack wrote:

Am 2005-04-07 17:22:06, schrieb Erik Jakobsen:

I have that path:

erikja@lajka3:/> ls -al /var/mail/erikja/
total 0
drwxr-xr-x  2 root root 48 2005-03-31 13:36 .
drwxrwxrwt  3 root root 72 2005-03-31 13:36 ..

Perhaps its a matter of permission ?. I can see, that its root:root that has the owenership.

An empty Directory ?
Yes.

Become root and delete it.

Now its done.

"/var/mail/erikja" should be a file.

I made it by touch erikja in /var/mail


ls -al /var/mail/erikja
-rw-r--r--  1 erikja users 0 2005-04-07 18:37 /var/mail/erikja

1. Most common solution: configure the "fetchmail" program to download
your mail automatically from POP3 servers every x minutes, storing it
into /var/mail/<username> where mutt can find it.
I'm not very familiar with fetchmail.

apt-get install fetchmai procmail
They are already being installed by default:

lajka3:~ # rpm -q procmail
procmail-3.22-40

lajka3:~ # rpm -q fetchmail
fetchmail-6.2.5-54


man fetchmail

Ok.

 __( '/etc/fetchmailrc' )______________________________________________
/
| ####################################################################
| # Global
| ####################################################################
| set no bouncemail
| set postmaster        blubber@xxxxxxxxxxxxxxx
| set invisible
| | ####################################################################
| # Defaults
| ####################################################################
| defaults:
| antispam -1 | batchlimit 10
|     warnings          300
| fetchall | expunge 1
|     mda               "/usr/bin/procmail -d %T"
| dropstatus | | poll <your-isp-server-here> proto <pop3|imap>
| user <your_account> pass <your_secret> is <your_local_account> here
\______________________________________________________________________



Well even if an rpm -ql tells me, that I should find fetchmailrc under /etc, its not visible ther.

Ok, I will read about fetchmail.

OK

Where can I find where its specified ?.

~/.bashrc

MAIL=$HOME/Mail/


There I cannot find any MAIL ?.

# Sample .bashrc for SuSE Linux
# Copyright (c) SuSE GmbH Nuernberg

# There are 3 different types of shells in bash: the login shell, normal shell
# and interactive shell. Login shells read ~/.profile and interactive shells
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
# settings made here will also take effect in a login shell.
#
# NOTE: It is recommended to make language settings in ~/.profile rather than # here, since multilingual X sessions would not work properly if LANG is over-
# ridden in every subshell.

# This might be helpful for Linux newbies who previously used DOS...
test -f /etc/profile.dos && . /etc/profile.dos

# Some applications read the EDITOR variable to determine your favourite text # editor. So uncomment the line below and enter the editor of your choice :-)
#export EDITOR=/usr/bin/vim
#export EDITOR=/usr/bin/mcedit

# For some news readers it makes sense to specify the NEWSSERVER variable here
#export NEWSSERVER=your.news.server

# If you want to use a Palm device with Linux, uncomment the two lines below.
# For some (older) Palm Pilots, you might need to set a lower baud rate
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
#
#export PILOTPORT=/dev/pilot
#export PILOTRATE=115200

test -s ~/.alias && . ~/.alias

Erik

Greetings
Michelle

Erik