How handy are you with text processing scripting languages (i.e. Perl, awk, etc.)?
My thought is that you could create a script that edits your .pinerc file prior to starting pine. The script could look at another file (/etc/resolv.conf maybe) for domain info that was set by your connection software. I know that dhcpcd sets the domain in my resolv.conf. I'm not sure what pppd does as it has been a couple of years since I have used it. My guess is that it needs to set a domain parameter somewhere, possibly in resolv.conf. You should be able to use that in your script. There may be an easier way to do it. Scripting within Pine perhaps to do exactly what you discuss below. Read an environmental var and to set the SMTP server parameter. Jason On Thu, 9 Mar 2000, Dale Scheetz wrote: > I just added a second ISP to my resources, and I can seem to manage > everything but smtp for pine. In the pine configuration there is a slot to > put the smtp server, but I can only use the server provided by the ISP > that I am logged into at the time, as neither one allows relays. I can > reconfigure every time, but that's pretty obnoxious. > > I set up my ppp connection with a script called "et" that takes commands > of the form "et phone <peer>" (naturally my normal peer is "home" ;-) > This script also moves the proper resolv.conf file into /etc/resolv.con so > that the proper search path and name servers are used for each connection. > What I would like to do is let this script set some kind of system > variable that Pine would recognize as the smtp server name. Can anyone > tell me how to get pine to recognize such a variable, or some other > possible technique? > > Thanks, > > Dwarf > > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >