set tilde # Indicate empty lines in the pager.
set tmpdir=~/tmp # Temporary files aren't stored in public places.
set use_domain=no # Don't qualify local addresses with $domain
+set use_envelope_from=yes
set use_ipv6=no # Speed up DNS
set wait_key=no # Do not wait for a key after running external programs, pipes
# Restore defaults
folder-hook .* "\
+ set envelope_from_address="phd@phdru.name"; \
my_hdr From: Oleg Broytman <phd@phdru.name>; \
my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
my_hdr X-Url: http://phdru.name/; \
# Restore defaults
send-hook .* "\
+ set envelope_from_address="phd@phdru.name"; \
my_hdr From: Oleg Broytman <phd@phdru.name>; \
my_hdr Reply-To: Oleg Broytman <phd@phdru.name>; \
my_hdr X-Url: http://phdru.name/; \
my_hdr Reply-To: Олег Бройтман <phd@phdru.name>; \
set signature='iconv -f koi8-r ~/mail/signatures/phd@phdru.name-ru|'"
-send-hook "~L '@(mail|list|inbox|bk)\.ru'" "\
+send-hook "~L '@(mail|list|inbox|bk|sweb|spaceweb|ulmart)\.ru'" "\
+ set envelope_from_address="phd@mail.ru"; \
+ my_hdr From: Олег Бройтман <phd@mail.ru>; \
my_hdr Reply-To: Олег Бройтман <phd@mail.ru>; \
my_hdr X-Url: http://my.mail.ru/mail/phd; \
set signature='iconv -f koi8-r ~/mail/signatures/phd@mail.ru|'"
send-hook "~L '(@|\.)(((ya|yandex|narod)\.ru)|(yandex\.com)|yandex-team\.ru)$'" "\
- my_hdr From: Олег Бройтман <phd@phdru.name>; \
+ set envelope_from_address="phd2@yandex.ru"; \
+ my_hdr From: Олег Бройтман <phd2@yandex.ru>; \
my_hdr Reply-To: Олег Бройтман <phd2@yandex.ru>; \
my_hdr X-Url: http://phd2.ya.ru/; \
set signature='iconv -f koi8-r ~/mail/signatures/phd2@yandex.ru|'"