S
S
shdprogrammer2014-10-31 00:31:46
Debian
shdprogrammer, 2014-10-31 00:31:46

How to set custom content in Exim4 for the from field?

Good day. Please tell me how to set custom content of the from field when sending letters by Exim, so that the recipient, for example, who received a letter from the address [email protected] would see in the "from" field not mybox, but for example MyDomain.ru ?
Googling, I realized it seems that this is done through headers_rewrite, but I didn’t really understand how it should be written and to which file.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Glueon, 2014-10-31
@Glueon

If you send from the console, then before entering the contents of the letter, specify the required From:

#sendmail -v [email protected]
From: Valera [email protected]
My random message

Naturally, the title must be formed taking into account the RFC. The above is just an example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question