[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem sending mail from command line/script
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: problem sending mail from command line/script
- From: kjell_(_at_)_pintday_(_dot_)_org
- Date: Tue, 14 Jan 2003 11:03:52 -0700
> I want to be able to check my IP every few minutes from cron and if my IP
> address has changed I want to send an email to a hotmail account notifying
> me of the change. (eventually I want to automatically reset my NAT and
> restart pf with the new settings, but that is the next goal)
Well, then let me address your next goal.
You don't have to reset NAT and pf. use parenthesis around the interface
name of the external interface, (and use this in your rules), and
the changes will be tracked automagically.
-kj
Visit your host, monkey.org