<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 30/04/10 01:39 AM, Carsten Burghardt wrote:
<blockquote cite="mid:20100430073901.17832k98af02h6gl@www.inovox.de"
type="cite">
<pre wrap="">Hi all,
I have multi domain setup where all users are identical. So i added
the additional domains in the virtual table as @domain2.com @domain.com
However if I try to send a mail as <a class="moz-txt-link-abbreviated" href="mailto:me@domain2.com">me@domain2.com</a> the sender is
rejected. If I add <a class="moz-txt-link-abbreviated" href="mailto:me@domain2.com">me@domain2.com</a> as an alias to the user (in the
addressbook) it works. I do not really understand this but maybe
somebody can shed some light on this.
</pre>
</blockquote>
<br>
What I understand you want to do is provide a domain alias so any mail
sent to <a class="moz-txt-link-abbreviated" href="mailto:someone@domain2.com">someone@domain2.com</a> would end up in <a class="moz-txt-link-abbreviated" href="mailto:someone@domain.com">someone@domain.com</a>, right?<br>
<br>
There's a wiki for that:
<a class="moz-txt-link-freetext" href="http://wiki.kolab.org/index.php/Managing_Domain_aliases">http://wiki.kolab.org/index.php/Managing_Domain_aliases</a><br>
<br>
I haven't been able to do it with Method #1. But Method #2 is really
simple as well.<br>
<br>
All you have to do is edit /kolab/etc/kolab/templates/virtual.template<br>
<br>
In your example, that would be:<br>
<br>
domain2.com anything<br>
@domain2.com @domain.com<br>
<br>
Save, and propagate changes with (as root): /kolab/sbin/kolabconf<br>
<br>
That's it! I just done it five minutes ago! :-)<br>
<br>
<div class="moz-signature">-- <br>
<style type="text/css" media="screen">
#container {
position: relative;
}
#top {
position: relative;
}
#logo {
position: relative;
float: left;
}
#infos {
position: relative;
float: left;
}
#bottom {
position: relative;
width: 100%;
clear: both;
}
</style>
<div id="top"></div>
<div id="bottom"><br>
Christian<br>
</div>
</div>
</body>
</html>