G'day All,
My first post so I'd like to thank to the folk who provide this forum/list.
How do I change this in exim4 - debian etch?
Mail header reads:
Return-Path: <root@???>
and
From: root <root@???>
If I use this:
:~# exim4 -f admin user@???
at the prompt I get the result I'm after bit I'd prefer to do this or
similar on all emails including system generated emails.
my googling has turned up a couple of possabilities.
1). An article refers vaguely to "In & Out Filters" the out filter might
work but how/where is it?
2).
> Near the end of /etc/exim/exim.conf
> *host.domain \
> "${if eq {${lookup{$1}lsearch{/etc/passwd}{1}{0}}} {1} \
> {$0}{$1@domain}}" frFs
> This rewrites all addresses matching *@host1.domain
>
That looks like the ticket but will it it work in exim4 and what is the
syntax of the code? (looks scary)
3). I found transport-filters but they use perl and after a quick look at
perl this problem does not warrant the learning curve. Unless some kind soul
would offer their perl expertise?
or some search terms so I can search the archive and google would be
helpful.
Thanking you in anticipation,
build
--
View this message in context:
http://www.nabble.com/Rewrite-Return-Path%3A-and-From%3A-tf4801012.html#a13736145
Sent from the Exim Users mailing list archive at Nabble.com.