fetchmail..zacatky

David Sauer davids na orfinet.cz
Středa Červenec 21 15:26:47 CEST 1999


>>>> "Vojtech" == Vojtech Moravek <moravek na czcom.cz> writes:

    Vojtech> Dobry den, mam problem potrebuji ze serveru stahnout pomoci
    Vojtech> fetchmailu ze schranky maily a potrebuji to zautomatizovat..

    Vojtech> uvazoval jsem, ze dam do cronu prikaz

    Vojtech> fetchmail server.domena.cz -u uzivatel pass heslo -p pop3

'pass' nepatri na prikazovy radek, ale do .fetchmailrc prislusneho uzivatele

    Vojtech> a prave tady je problem, heslo se nechce zadat automaticky a
    Vojtech> porad to po me chce manualni zadani..zkousel jsem heslo strkan
    Vojtech> na ruzna pozice do toho radku, ale se stejnym vysledkem..
    Vojtech> Pokud vite poradte...

man fetchmail:

[...]
      
       The  default  behavior  of  fetchmail is to prompt you for
       your mailserver password before the connection  is  estab-
       lished.   This  is  the  safest  way  to use fetchmail and
       ensures that your password will not be  compromised.   You
       may  also  specify  your  password  in your ~/.fetchmailrc
       file.  This is convenient when using fetchmail  in  daemon
       mode or with scripts.

       If  you  do  not  specify a password, and fetchmail cannot
       extract one from your .fetchmailrc file, it will look  for
       a .netrc file in your home directory before requesting one
       interactively; if an  entry  matching  the  mailserver  is
       found  in that file, the password will be used.  Fetchmail
       first looks for a match on poll name; if it finds none, it
       checks  for  a match on via name.  See the ftp(1) man page
       for details of the syntax of the .netrc file.  (This  fea-
       ture  may allow you to avoid duplicating password informa-
       tion in more than one file.)


[...]


-- 
* David Sauer, student of Czech Technical University
* electronic mail: davids na orfinet.cz (mime compatible)


Další informace o konferenci Linux