redirect mail for a virtual domain(w/o local users) with exim
Hi All,
I wonder if someone can help me with this very simple setup. I have one
primary domain running on my machine and mail comes through to the local
users.
I now have another domain. This is basically a virtual domain because I
am not going to create users for this one, I am just going to redirect
them to other email addresses (some of them part of the primary domain
already hosted on this server)
What is the easiest way of achieving this. I have already tried putting
virtual:
driver = aliasfile
domains = *.domain.co.uk
file = /etc/aliases.$domain
search_type = lsearch*
no_more
with /etc/aliases.domain.co.uk in the form of
alias1 : email@host.com
alias2 : email2@host.com
It however does not seem to work for the aliases that are not already
local users. i.e. if alias1 is a local user, mail delivery still works.
Mail delivery does *not* work for non-local users.
running exim 3.35-1 on a testing system.
Any help very much appreciated.
Regards,
Shri
--
------------------------------------------------------------------------
Shri Shrikumar Vital State
Email: shri@vitalstate.co.uk
Web: http://www.vitalstate.co.uk Open Source FPS Game.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: