Cum pot seta mutt sa-mi seteze adresa de mail, si semnatura in functie
de mai multe pattern-uri? De exemplu, vreau ca toate mail-urile trimise
catre domeniu a.b sa aiba la from [EMAIL PROTECTED] si semnatura specifica,
toate mail-urile trimise la c.d sa aiba la from [EMAIL PROTECTED] (plus
semnatura), iar restul sa aiba adresa default, [EMAIL PROTECTED] (Folosesc
si reverse_name)
Am incercat asa:
send-hook . "set from='George Cristian Birzan <[EMAIL PROTECTED]>'"
send-hook . "set signature='/home/gcbirzan/siggen [EMAIL PROTECTED]|'"
send-hook "~f [EMAIL PROTECTED]" "set signature='/home/gcbirzan/siggen [EMAIL
PROTECTED]|'"
send-hook "~f [EMAIL PROTECTED]" "set signature='/home/gcbirzan/siggen [EMAIL
PROTECTED]|'"
send-hook "~f [EMAIL PROTECTED]" "set signature='/home/gcbirzan/siggen [EMAIL
PROTECTED]|'"
send-hook "~t a\.b" "set from='George Cristian Birzan <[EMAIL PROTECTED]>'"
send-hook "~t a\.b" "set signature='/home/gcbirzan/siggen [EMAIL PROTECTED]|'"
send-hook "~t c\.d" "set from='George Cristian Birzan <[EMAIL PROTECTED]>'"
send-hook "~t c\.d" "set signature='/home/gcbirzan/siggen [EMAIL PROTECTED]|'"
Problema cu acest setup este ca atunci cand trimit mail la [EMAIL PROTECTED],
adresa ramane cea curenta, ea fiind setata in [EMAIL PROTECTED] pentru
mail-ul urmator pe care il trimit.
As fi zis ca ceea ce setez cu 'set from=' este interpretat doar dupa ce
trimit/anulez mailul, dar nici semnatura nu este setata corect,
semnatura care se seteaza in functie de mail-ul la care dau reply (set
reverse_name si send-hook ~t).
Deci, stiti ce gresesc, sau unde as putea citi despre cum se poate face
asta?
--
George Cristian Birzan gcbirzan (at) wolfheart (dot) ro
No discipline is ever requisite to force attendance upon lectures which
are really worth the attending.
-- Adam Smith, "The Wealth of Nations"
-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAbBMUaqNK6cml/6cRAnp/AJ0et9FbZOtISCzi7BXffL34umOSLACfXe+T
+kdX7t65+oYuVz6g1SRV2d8=
=PB26
-----END PGP SIGNATURE-----
---
Detalii despre listele noastre de mail: http://www.lug.ro/