WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   Fetchmail (http://www.wcm.at/forum/showthread.php?t=211856)

ff 12.03.2007 21:53

Fetchmail
 
Kennt jemand eine Moeglichkeit, Fetchmail zu ueberreden, dass es auch mit anderen Rechten als max 0710 arbeitet?

Meldung: fetchmailrc darf nicht mehr Zugriffrechte haben als -rwx--x-- (0710)

Ich haette aber gerne 0620 . . .

lg
ff

gaelic 13.03.2007 22:41

und eine alternative wie getmail, fetchmail kommt nicht infrage

ff 13.03.2007 22:56

Nein. Ich habe eine Weboberflaeche zur Administration von Fetchmail geschrieben und suche jetzt die beste Moeglichkeit, in die Datei zu schreiben. Lesen ist nicht notwendig und das waere auch aus Sicherheitsgruenden nicht gewuenscht. Deshalb 0620.

Wenn man das irgendwo konfigurieren koennte, wuerde ich mir "sudo" ersparen . . .

lg
ff

gaelic 14.03.2007 08:50

Zitat:

The preferred way to set up fetchmail is to write a .fetchmailrc file in your home directory (you may do this directly, with a text editor, or indirectly via fetchmailconf). When there is a conflict between the command-line arguments and the arguments in this file, the command-line arguments take precedence.

To protect the security of your passwords, your ~/.fetchmailrc may not normally have more than 0600 (u=rw,g=,o=) permissions; fetchmail will complain and exit otherwise (this check is suppressed when --version is on).

ff 14.03.2007 14:37

BINGO! fetchmail -V -f '/home/mrpostman/.fetchmailrc' funktioniert!

Herzlichen Dank und
lg
ff

ff 17.03.2007 07:35

Nun, bei der ersten Freude hat der Wunsch etwas mitgeholfen.

Das -V bzw. --version versetzt Fetchmail in eine Art Testmodus. Es wird brav angezeigt, was gemacht wird und es kommen keine Fehlermeldungen bez. der Dateirechte. Aber die Mails bleiben, wo sie sind . . .

ff


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:02 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag