<<< Date Index >>>     <<< Thread Index >>>

Re: bounce broken?



On Mon, Jan 12, 2004 at 11:05:50PM +0100, Alain Bench wrote:
>  On Sunday, January 11, 2004 at 11:10:10 PM +0100, Gerhard Öttl wrote:

> >| send-hook .                "my_hdr From: gerhard.oettl@xxxxxx"
> >| send-hook mutt-dev "my_hdr From: gerhard.oettl.ml@xxxxxx"
> > in mutt_bounce_message neither the "resent_from" nor the "from"
> > addresses use the send-hook.
> 
>     More precisely "my_hdr anything" is not used in bounces. And should
> not be: Bounce sends the original header untouched, and only prepends
> required "Resent-*:" fields.

send-hooks are used in bounces at all???

> > my login-name is gerhard, use_domain in .muttrc is on default, but
> > without from in .muttrc (or my_hdr From:) my From address always ends
> > up in "gerhard@".
> 
>     See $hostname and $hidden_host.

> > /etc/mailname and /etc/hostname both contain the name "gerhardnb", but
> > they are not used.
> 
>     I seem to recall having seen patches to make use of those files,
> perhaps in Debian. I prefer $hostname. BTW "gerhardnb" is not fully
> qualified enough, leading to your broken msgids.

Just to state the obvious, you can add the following to your muttrc:
set hostname=`cat /etc/HOSTNAME`
or
set hostname=`hostname --fqdn`
...in order to achieve useful functionality :-)

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpLrNztwew2J.pgp
Description: PGP signature