Такая себе мини заметка, оказывается в exim уже интегрирован механизм смены email адреса отправителя. В debian пакетах так точно.
Достаточно в файл /etc/email-addresses добавить то, что нам нужно.
Стандартное содержимое файла
# cat /etc/email-addresses
1
2
3
4
5
6
7
8
9
|
# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: [email protected]
#otheruser: [email protected]
|