[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sender address rewriting
On 26-11-2003 at 01:56:53PM +0100, Vladislav Kurz wrote:
VK> Well, I read this one, but didn't understand it. I applied the hack to
VK> crossbar.cf, but I don't understand the note about "enabled relation
VK> masquerades in router.cf." I can't find anything about that in archives. And
VK> where should I put the list of login:real-email pairs. Will it use userdb or
VK> what?
VK>
1) Unhash line 168 from crossbar.cf:
setf "$(user $from)" "$tmp"
2) Read:
$ZMAILER/db/userdb
3) If You need to change FROM header somelogin@host.name.org into user.name@domain.org
add to userdb:
somelogin@host.name.org:mailname user.name@domain.org
After this:
# $ZMAILER/bin/zmailer newdb
And this will do what You need :-)
GPG-key-ID: 0x948DE45D - http://www.bartek.indigo.pl/public_key.txt
Fingerprint: 95E9 8E2D 1801 7864 2244 6EAA 03E5 764D 948D E45D
PGP signature