procmail
[Top] [All Lists]

Re: using procmail to alter a domain file...

2000-08-04 16:09:32
Lee Howard asked,

| I have a linux system that is connected to the internet via a dial-up
| connection and receives a dynamically assigned IP number.  Each time it
| connects a script e-mails me the P-t-P line from ifconfig so that I can
| know its IP number.
| 
| Is there a way that I can utilize this e-mail to adjust the domain file and
| restart named?  The dialup connection stays up for several days at a time,
| and it's nice to connect to it by name rather than looking up the IP number
| each time.  So far I've been doing the domain updating by hand.

If there's a predictable place in the message where procmail can find the new
information, and there's a program or script that procmail can invoke which
can do the updating, yes.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>