Re: host-hook

2002-10-13 Thread Hanspeter Roth
On Oct 13 at 18:49, Nicolas Rachinsky spoke: > Write a shellscript, which outputs the info you want (depending on > whatever you want) and source it with 'source "pathtoscript"|'. Ok. Thank you. -Hanspeter

Re: host-hook

2002-10-13 Thread Nicolas Rachinsky
* Hanspeter Roth <[EMAIL PROTECTED]> [2002-10-13 18:04 +0200]: > On Oct 13 at 02:20, Bernard Massot spoke: > > > hostname = `hostname` > > Is it what you want ? > > No. I want something like this: > > if [ `hostname` == host1 ]; then > set hostname=host2 > fi > > It should also affect

Re: host-hook

2002-10-13 Thread Hanspeter Roth
On Oct 13 at 02:20, Bernard Massot spoke: > hostname = `hostname` > Is it what you want ? No. I want something like this: if [ `hostname` == host1 ]; then set hostname=host2 fi It should also affect the domain in the envelope when using bounce. -Hanspeter

Re: host-hook

2002-10-13 Thread Nicolas Rachinsky
* Hanspeter Roth <[EMAIL PROTECTED]> [2002-10-13 00:08 +0200]: > is there a host-hook in mutt 1.4 or later? > I would like to set the `hostname' variable depending on the > hostname. What about "set hostname=`hostname`"? Nicolas

Re: host-hook

2002-10-13 Thread Thorsten Haude
Hi, * Hanspeter Roth <[EMAIL PROTECTED]> [02-10-13 00:08]: >I would like to set the `hostname' variable depending on the >hostname. For your own hostname, `hostname` should do, for the receiver's hostname, a sendhook should work. Thorsten -- If you don't claim your humanity, you will become a

host-hook

2002-10-13 Thread Hanspeter Roth
Hello, is there a host-hook in mutt 1.4 or later? I would like to set the `hostname' variable depending on the hostname. -Hanspeter

Re: host-hook

2002-10-13 Thread Bernard Massot
On Sun, Oct 13, 2002 at 12:08:18AM +0200, Hanspeter Roth wrote: > Hello, > > is there a host-hook in mutt 1.4 or later? > I would like to set the `hostname' variable depending on the > hostname. hostname = `hostname` Is it what you want ? -- Bernard Massot msg31756/pgp0