Re: [SOGo] Add additional email Address (samba4/openchange).

2015-04-08 Thread Mihamina Rakotomandimby

On 04/07/2015 09:52 PM, Tom wrote:

Hello all,

I was able to create SOGO users with

samba-tool user add user.name http://user.name openchange_newuser 
--create user.name http://user.name samba-tool user setexpiry 
user.name http://user.name --noexpiry


But how can an additional e-Mail address being added to thos user 
user.name http://user.name ?





According to me, if you need an additional email address, it is for the 
purpose to have an alias.
For example, if the additional email of user.name is ceo@ , then email 
to ceo@ should be delivered to user.name.


If what I think is right (and please correct me if I'm wrong), this is 
handled by the MTA.
You need to tell the MTA (Postfix or Exim or whatever you used) where to 
find the aliases correspondances.
This could be achieved in several ways and one of the simplest is to add 
an entry in /etc/aliases.


Anyway, the alias lookup can be done by querying Samba or any storage 
supported by the MTA.


Is it mandatory for you to have aliases provisionned in Samba directory?

HTH
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Add additional email Address (samba4/openchange).

2015-04-08 Thread Martin Simovic

 On 08 Apr 2015, at 12:24, Mihamina Rakotomandimby 
 mihamina.rakotomandi...@rktmb.org wrote:
 
 On 04/07/2015 09:52 PM, Tom wrote:
 Hello all,
 
 I was able to create SOGO users with 
 
 samba-tool
   user add user.name http://user.name/
   openchange_newuser --create user.name http://user.name/
   samba-tool user setexpiry user.name http://user.name/ 
 --noexpiry
 
 But how can an additional e-Mail address being added to thos user user.name 
 http://user.name/ ?
 
 
 
 According to me, if you need an additional email address, it is for the 
 purpose to have an alias.
 For example, if the additional email of user.name is ceo@ , then email to 
 ceo@ should be delivered to user.name.
 
 If what I think is right (and please correct me if I'm wrong), this is 
 handled by the MTA. 
 You need to tell the MTA (Postfix or Exim or whatever you used) where to find 
 the aliases correspondances. 
 This could be achieved in several ways and one of the simplest is to add an 
 entry in /etc/aliases.
 
 Anyway, the alias lookup can be done by querying Samba or any storage 
 supported by the MTA.
 
 Is it mandatory for you to have aliases provisionned in Samba directory?

You are right, this is MTA’s job. Alias addresses can be perfectly configured 
within samba LDAP directory, or example myself I use otherMailbox schema 
attribute for this.

Regards
Martin.



smime.p7s
Description: S/MIME cryptographic signature


[SOGo] Add additional email Address (samba4/openchange).

2015-04-07 Thread Tom
Hello all,

I was able to create SOGO users with

samba-tool user add user.name openchange_newuser --create user.name
samba-tool user setexpiry user.name --noexpiry

But how can an additional e-Mail address being added to thos user user.name
?

Best regards and thanks for your help in advance.

Thomas.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists