lejeczek:
> 
> 
> On 02/11/2021 13:01, Wietse Venema wrote:
> > lejeczek:
> >> hi guys.
> >>
> >> On a very basice deployment would simply "fixing" generic
> >> maps control "FROM" address? Say:
> >> root m...@mine.dom (for system root to send mail)
> >> ? And if so then is it possible to tell Postix to do in such
> >> a way that recipient will se:
> >>   From "It's me <m...@mine.com>"
> > generic_maps replaces an email address. To (also) replace the 'It's
> > me' display name, you would need a header_checks REPLACE action.
> >
> >     Wietse
> Hi & thanks.
> I wonder if I was a bit vague - I do not want to replace 
> "It's me" but I just simply want to add it.

There are several options to ADD "'It's me".

1) header_checks REPLACE action. This requires that the From: header
   already exists.

2) If mail is submitted with /bin/mail (or other any program that
   uses /usr/sbin/sendmail), specify the full name with the NAME
   environment variable.

    export NAME="It's me"
    ...do whatever sends email...

3) Use ``sendmail -F "It's me" ...''

        Wietse

Reply via email to