[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail holt keine Mails



Hi,

On Sunday 13 June 2004 22:59, Ulrich Fürst wrote:
> Daniel Leidert schrieb:
> > Am So, den 13.06.2004 schrieb Ulrich Fürst um 15:38:
> >>Also jetzt hab ich mal noch eine ~/.fetchmailrc angelegt.
> >>und dann mit der Testfunktione von fetchmailconf getestet. Das
> >> schien zu funktionieren. Wenn man mal davon absieht das keinen
> >> Mails auf der Platte erschienen sind. Aber die Meldungen waren
> >> alle o.k.
> >>
> >>ein "fetchmail -a -v" auf der console tut aber weiterhin nichts.
> >>Was mach ich da falsch.
> >
> > 2 mögliche Ursachen:
> > 1. In deiner fetchmailrc steht, dass er das Syslog benutzen soll
> > (das gehört IMO eher in /etc/default/fetchmail). Und in diesem
> > Fall missachtet er IIRC die Option -L und schreibt auch nichts
> > auf die Console. Entweder soll er in das Syslog schreiben oder in
> > ein separates Logfile. Schau mal, ob sich fetchmail im Syslog
> > verewigt, wenn du es aufrufst.
>
> stimmt tut er (obwohl in der /etc/fetchmailrc steht das er
> /var/log/fetchmail nehmen soll. Also verwendet er wohl
> /etc/fetchmailrc nicht.
>
> > 2. Übergib ihm den Ort der fetchmailrc mittels -f
> > /etc/fetchmailrc.
>
> als root:
> > debian:~# fetchmail -v -a -f /etc/fetchmailrc
> > File /etc/fetchmailrc must be owned by you.
> >
> > debian:~# ll /etc/fetchmailrc
> > -rw-------    1 fetchmai root          287 13. Jun 18:18
> > /etc/fetchmailrc
>
> hm, soll ich jetzt die /etc/fetchmailrc root geben (die Einstellung
> stammt aber wohl vom Packet).
>
> > debian:~# cp /etc/fetchmailrc /root/.fetchmailrc
> >
> > debian:~# ll /root/.fetchmailrc
> > -rw-------    1 root     root          287 13. Jun 22:53
> > /root/.fetchmailrc
> >
> >
> > debian:~# fetchmail -v -a -f /root/fetchmailrc
> > fetchmail: es wurden keine Mailserver spezifiziert.
>
> /root/fetchmailrc
>
> > # Configuration created Sun Jun 13 13:40:52 2004 by fetchmailconf
> > set logfile "/var/log/fetchmail"
> > set postmaster "ulrich"
> > set bouncemail
> > set no spambounce
> > set properties ""
> > set daemon 300
> >
> > poll mail.vr-web.de protocol POP3
> >       user "backports" password "jetzt_anders" is "ulrich"
> > fetchall
>
> 2. Variante
>
> > poll mail.vr-web.de protocol POP3
> >       user "backports" there with password "password" is "ulrich"
> > here options fetchall
>
> bringt auch nichts.

Wenn du schon fetchmail als root ausführen willst:
ein kleiner Tip: leg dir eine .fetchmailrc (Punkt davor!) in dein root 
Verzeichnis, dann kannst du fetchmail einfach per
fetchmail
als root aufrufen.
Also als root:
cp /etc/fetchmailrc /root/.fetchmailrc
chmoid 600 /root/.fetchmailrc



Reply to: