[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-anubis] Envelope rewriting
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-anubis] Envelope rewriting |
Date: |
Mon, 28 Dec 2009 21:15:25 +0200 |
Sergey Poznyakoff <address@hidden> ha escrit:
> > Or may be it's planned for next release?
>
> Quite probably so.
In the meantime, you may try this snapshot:
ftp://download.gnu.org.ua/pub/alpha/anubis/anubis-4.1.90.tar.bz2
To modify "MAIL FROM", add the following section to your /etc/anubisrc:
BEGIN SMTP
regex :extended
if command ["MAIL FROM:"] "<(.*)>(.*)"
modify command ["MAIL FROM:"] "<address@hidden>\2"
fi
END
Of course, don't take it verbatim, but tailor it to your liking.
See the included documentation, section 5.6.6 "Modifying SMTP Commands"
for a discussion and more examples.
Regards,
Sergey