[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-anubis] Rewriting From: address
From: |
jim . cheetham |
Subject: |
[bug-anubis] Rewriting From: address |
Date: |
Wed, 13 Aug 2003 19:23:33 +1200 (NZST) |
User-agent: |
SquirrelMail/1.4.0 |
Hi,
I've installed anubis to see if I can duplicate the send-hook capability
of the mutt MUA, where it can automatically select a different From:
address depending on the main recipient of a message.
Unfortunately, I can't figure out the correct rule to do this. I need to
do detection based on the To: header, and then modify the From: ... but
I'd like to be able to preserve the original domain of the From: ...
---BEGIN RULE---
if header =^To: targetaddress
modify =^From:.*@(.*) >> From: address@hidden
fi
---END---
This doesn't work - I expect because the matching parameter (.*) can only
be used on the if header= line?
Any advice or working recipe would be welcome ;-)
-jim
- [bug-anubis] Rewriting From: address,
jim . cheetham <=