[Web-cyradm] Username re-write or re-map.
Martin Neumeyer
neumeyer at pebkac.de
Fri Nov 5 20:50:24 CET 2004
Hi.
On Fri, Nov 05, 2004 at 04:49:05PM +0100, Anders Norrbring wrote:
[...]
> So, how can I stop e-mail sent to anders at vdomain.tld to be routed to
> anders at machine.tld ? Those e-mails should bounce as "account
> unknown".
You have to change your postfix main.cf:
(works only with postfix 2.*!)
Remove the mysql virtual domain-lookup from the "mydestination"-directive
and add a line like this:
virtual_alias_domains = mysql:/etc/postfix/mysql-mydestination.cf
No mail will be delivered to local users except for domains listed in
"mydestination".
But be aware that also no mail for postmaster at vdomain.tld will be belivered.
This account should exist (RFC2821 AFAIK?), else your domains might
be listed at rfc-ignorant.org.
Mit freundlichen Gruessen,
Martin Neumeyer
--
More information about the Web-cyradm
mailing list