On Mittwoch, 8. August 2007 Michael Monnerie wrote:
> I use this to rewrite
> user AT alias DOT domain -> user AT real DOT domain
> without any other checks
Finally I found a way to rewrite only when it's an alias domain, leaving
the other stuff for virtual_mailbox_maps.
The trick was that I didn't think of returning nothing in case I do not
want to rewrite an address. I always wanted to return at least the same
address in case it shouldn't be rewritten, and that was impossible to
achieve.
Again, the simplest solution was the one that works. If I'd thought
about that 10 hours ago, it could have been a nice day. ;-)
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0676/846 914 666 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: EA39 8918 EDFF 0A68 ACFB 11B7 BA2D 060F 1C6F E6B0
// Keyserver: www.keyserver.net Key-ID: 1C6FE6B0
signature.asc
Description: This is a digitally signed message part.
|