Date: Wed, 18 Mar 1998 23:38:54 +0200 (EET) From: Vladimir Kushnir <kushn@dracula.info.kiev.ua> To: Spike Gronim <spork@cncn.com> Cc: fbsdqs <freebsd-questions@FreeBSD.ORG> Subject: Re: fetchmail and dyn ip Message-ID: <Pine.BSF.3.96.980318233024.795A-100000@kushnir.kiev.ua> In-Reply-To: <Pine.BSF.3.96.980318160310.4566A-100000@pigstuy>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Mar 1998, Spike Gronim wrote: > Hello. > > I have dynamic IP. Fetchmail seems to want me to have a valid > hostname, which means I have to set my hostname to "dialinXXX.provide.com" > every time I log in to my ISP. Is there a way to modify this behaviour, > I.E. make it route to localhost instead of dialinXXX.etc.etc? Thanks. > I know of at least 2 such ways: i) You invoke it with "-m" option, like fetchmail -m "/usr/libexec/mail.local your_local_username" ii) (What I do) Include in /etc/rc.conf alias to your local hostname; in my case: I call myself kushnir.kiev.ua and have in /etc/hosts 10.0.0.1 kushnir.kiev.ua kushnir and in /etc/rc.conf ifconfig_lo0_alias0="inet 10.0.0.1 netmask 0xffffffff" This seems to be enough There should be better ways, but these two work as well Hope this helps > > -Spike Gronim > spork@cncn.com > Regards, Vladimir> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980318233024.795A-100000>