<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<blockquote cite="mid:TckZqmZSrHvZ.7dS0SvKr@www.inovox.de" type="cite">
  <pre wrap="">I actually followed the Wiki that is why I added these entries to the virtual table as you described. And I do receive emails for both domains correctly. The problem is that when I try to send an email using my normal username and the domain that I added to the virtual table it is rejected.

  </pre>
</blockquote>
<br>
Oh! I see. Someone may correct me, but I think you can't send an email
from a domain which isn't in the list of accepted domains. And the
creation of Domain Aliases doesn't set the somewhat fake domain as a
list of accepted domains and therefore, mails from that domain are
rejected. To my knowledge, this would lead to an open relay situation.<br>
<br>
What you may try is:<br>
<br>
1) put this somewhere in the main.cf.template file:<br>
<br>
        relay_domains = hash:/kolab/etc/postfix/relay_domains<br>
<br>
2) Create the /kolab/etc/postfix/relay_domains file<br>
<br>
3) Put this single line:<br>
<br>
        domain2.com OK<br>
<br>
4) Create the needed db file with the command:<br>
<br>
        /kolab/sbin/postmap /kolab/etc/postfix/relay_domains<br>
<br>
4) Reload the new config with:<br>
<br>
        /kolab/sbin/kolabconf<br>
<br>
Then, postfix should allow you to relay the fake domain2.com domain.
But you still won't be allowed, though, to authenticate with this
domain2.com to send mail, since the domain doesn't really exist in the
kolab config.<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">Christian...</div>
</div>
</body>
</html>