Re: [exim] Re write Return-Path: and From:

Góra strony
Delete this message
Reply to this message
Autor: Renaud Allard
Data:  
Dla: build, exim-users
Temat: Re: [exim] Re write Return-Path: and From:


build wrote:
>> build wrote:
>>> 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@???>
>>>
>> On 14/11/2007, Renaud Allard <renaud@???> wrote:
>> In debian, there is a /etc/email-addresses which does what you are looking for.
>>
> G'day Renaud,
> Thank you very much for your reply.
> So simple, I can't believe all my googling missed that.
> A small thing the From: part of the header still reads "root".
> From: root <admin@???>
> Can I change that?
>


This field is taken from the real name in your /etc/passwd file.
ex if you want "Charlie" on a Debian system:
root:x:0:0:Charlie:/root:/bin/bash