Re: fetchmail - welcher user

From: Andreas Braukmann <braukmann(at)tse-online.de>
Date: Mon, 16 Aug 2004 13:42:54 +0200

--On Montag, 16. August 2004 12:29 Uhr +0200 Christian Schmidt <christian.schmidt(at)chemie.uni-hamburg.de> wrote:

> Aus der Linux-Welt kenne ich die Variante, den entsprechenden Aufruf
> durch dass "ip-up"-Skript ausfuehren zu lassen, welches nach einer
> PPP(oE)-Einwahl abgearbeitet wird.
> Ob des das bei *BSD auch gibt, kann ich leider (noch) nicht sagen...

man ppp
/linkup

Ein einfacher Blick in die ppp(8) Handbuchseite haette
geholfen:

     If the /etc/ppp/ppp.linkup file is available, its contents are executed
     when the PPP connection is established. See the provided ``pmdemand''
     example in /usr/share/examples/ppp/ppp.conf.sample which runs a script in
     the background after the connection is established (refer to the
     ``shell'' and ``bg'' commands below for a description of possible substi-
     tution strings). Similarly, when a connection is closed, the contents of
     the /etc/ppp/ppp.linkdown file are executed. Both of these files have
     the same format as /etc/ppp/ppp.conf.

> S.o. Evtl. gibt es einen Weg, den Aufruf "vom pppd" anstossen zu
> lassen...

Falls tatsaechlich pppd(8) zum Einsatz kommt, sollte man
in der zugehoerigen Man-Page nach "ip-up" suchen:

/etc/ppp/ip-up
     A program or script which is executed when the link is available
     for sending and receiving IP packets (that is, IPCP has come
     up). It is executed with the parameters
     interface-name tty-device speed local-IP-address remote-IP-
     address ipparam

-Andreas

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 16 Aug 2004 - 13:43:11 CEST

search this site