On Apr 30, 2010 9:17am, Christian Tardif <christian.tardif@servinfo.ca> wrote:<br />> <br />> <br />> <br />>   <br />> <br />> <br />> On 30/04/10 01:39 AM, Carsten Burghardt wrote:<br />> <br />>   Hi all,<br />> <br />> I have multi domain setup where all users are identical. So i added  <br />> the additional domains in the virtual table as @domain2.com @domain.com<br />> However if I try to send a mail as me@domain2.com the sender is  <br />> rejected. If I add me@domain2.com as an alias to the user (in the  <br />> addressbook) it works. I do not really understand this but maybe  <br />> somebody can shed some light on this.<br />>   <br />> <br />> <br />> <br />> What I understand you want to do is provide a domain alias so any mail<br />> sent to someone@domain2.com would end up in someone@domain.com, right?<br />> <br />> <br />> <br />> There's a wiki for that:<br />> http://wiki.kolab.org/index.php/Managing_Domain_aliases<br />> <br />> <br />> <br />> I haven't been able to do it with Method #1. But Method #2 is really<br />> simple as well.<br />> <br />> <br />> <br />> All you have to do is edit /kolab/etc/kolab/templates/virtual.template<br />> <br />> <br />> <br />> In your example, that would be:<br />> <br />> <br />> <br />> domain2.com anything<br />> <br />> @domain2.com @domain.com<br />> <br />> <br />> <br />> Save, and propagate changes with (as root): /kolab/sbin/kolabconf<br />> <br />> <br />> <br />> That's it!  I just done it five minutes ago!  :-)<br />> <br />> <br />> <br />> -- <br /><br />I'm not sure if this is exactly the same thing, but I have some users that need to be able to send email that appear to be coming from a different email address that maps to a shared folder.<br /><br />Inside the network it isn't an issue because we're on the 'trusted network' list or whatever it's called.  The issue was doing it outside the network.  To allow authenticated users to do this (it's not allowed by default I guess, we'd get a 'sender address rejected') I had to modify the main.cf.template:<br /><br />smtpd_sender_restrictions = permit_mynetworks,<br />                  permit_sasl_authenticated,                                                                    <-- that's the line I added<br />                  check_policy_service unix:private/kolabpolicy<br /><br /><br />It doesn't quite sound like what you're wanting to do, but maybe... my issue was I *think* that shared folders don't have a 'delegates' option, I'm guessing if I were to use a group user, and assigned delegates that way that it would have just worked.  But, I haven't tested that...<br /><br />-Skip