Re: [Exim] hiding alias names

Top Pagina
Delete this message
Reply to this message
Auteur: Peter Duffy
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] hiding alias names
In article <Pine.SOL.4.44.0208221408030.16634-100000@???
>, Philip Hazel <ph10@???> writes
>It's always interesting to learn what people thing are "obvious"
>facilities for MTAs. This is the first time I have ever heard anybody
>ask for what you want.


Philip, thanks very much for responding to this. In a way, it's a relief
to know that haven't been missing something obvious (apart from the fact
that I've probably been looking in the wrong direction altogether!)

It's interesting that no one's mentioned this before, but I take the
point that (particularly on a multi-user system) this sort of thing is
probably better done using the MUA than the MTA (up to now, I've
predominantly been using Turnpike under W98, but it's fairly limited in
terms of mailing list support: Ximian Evolution under Linux seems to
offer rather more in the way of possibilities.)

>Actually, I think Exim can sort of do what you want. Investigate the use
>of header rewriting on transports. Check for the headers_rewrite option.
>You could rewrite the address in the To: header to be the address in the
>envelope. However, in order to do this, you would need to set max_rcpt=1
>on the smtp transport, so that it sends a separate copy for each
>recipient. This might have performance implications.


I had a look at using a headers_rewrite line in SMTP transport: however,
I couldn't see how to get at the envelope address within the right-hand
side of the rewrite rule. ($local_part and $domain seem to be still set
to the alias name and the local domain.)

--
Peter Duffy