Fw: Re: [plug] exim question

Jeremy Malcolm Jeremy at Malcolm.id.au
Tue Feb 11 21:37:38 WST 2003


In article <1044931349.991.17.camel at locutus.borg.apana.org.au> you
wrote:

> Now, I want to be able to send email to auser at borg.apana.org.au and
> have it accept, but to auser at john.org.au and have it bounce.  It also
> needs to work the other way - anotheruser at borg.apana.org.au bounces,
> but anotheruser at john.org.au doesn't.  And there are users who need to
> get email in either domain (john at borg.apana.org.au and
> john at john.org.au). Where a username works in both domains, it will
> always be the _same_ user.

qualify_preserve_domain is what you need.  Adding this to your virtual
director (if you have followed the virtual domains setup instructions
in the documentation then you will have a "virtual" director in your
exim.conf) means that virtual domain users prevail over local users, in
other words it will look in your virtual domain aliases file for "fred"
rather than looking in your main aliases file or delivering to a local
user by that name.  Unfortunately it doesn't "fall back" if there is no
virtual domain user, it just fails.  This is overcome by adding aliases.
Similarly, if you have two users with the same name you will have to
call one of them "fred1" and the other "fred2" and use aliases.

-- 
JEREMY MALCOLM <Jeremy at Malcolm.id.au> Personal: http://www.malcolm.id.au
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GPG key: finger.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 258 bytes
Desc: not available
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20030211/128b3a34/attachment.pgp>


More information about the plug mailing list