Forward to an external email address and Active Directory

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

davidedg
Posts: 27
Joined: Mon Oct 02, 2006 1:08 pm

Forward to an external email address and Active Directory

Postby davidedg » Thu Feb 05, 2009 11:57 am

Hi all,

we have Scalix 11.4.3 integrated with an Active Directory domain.
Users and Groups are fetched with a synchronization agreement (omldapsync).

A group is defined in Active Directory.
I would like this group to contain an "entity" (be it a contact or an Internet-mail-user or whatever) that contains an external email address.

So, when email is sent to this AD group, a copy is also sent to this external email address.

I tried with Active Directory Contacts... but when I try to omldapsync, it spits out:

Code: Select all

2009-02-05 16:33:44 STATUS: apply membmodify data against Scalix ...
Enter CAA Password: --------> Sending SOAP Request to Ubermanager@http://scalix01.studio.int/caa/ for method:AddMembersToGroup
--------> Received SOAP Response from Ubermanager@http://scalix01.studio.int/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="12345">
                <Identity name="sxadmin" passwd="xxxxxxxx"/>
            </Credentials>
            <FunctionName>AddMembersToGroup</FunctionName>
            <AddMembersToGroupParameters id="bIUk7pL6pk+0CsRkn2kAGQ==">
                <member fa="CN=Contact Surname,OU=Utenti,DC=studio,DC=int"/>
            </AddMembersToGroupParameters>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>CAA Service Error</faultstring>
            <detail>
                <scalix-caa:fault-details xmlns:scalix-caa="http://www.scalix.com/caa">
                    <message>Failed to obtain CN, MailNode for all the members in the Request SOAP Document from LDAP server scalix01.studio.int</message>
                    <errorcode>UM-1019</errorcode>
                </scalix-caa:fault-details>
            </detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed


Deleted the contact from AD; did a reset of the sync (omldapsync -S), then I also tried with an Internet Mail User:

in Active Directory I created a standard User and, when scalix snap-in kicked in, in Mailbox Type I chose "Internet mail user" and inserted the external email as the address.
1st error/issue: even though the control was disabled, the snapin complained about missing mailnode... so I temporarily switched mailbox type to Premium, chose the mailnode, and switched back to Internet mail user.
I never pressed Apply/OK ... did it only at the end (it was just GUI-related I think...)

Then I tried to synchronize (without even inserting this new user into the group...), but it spitted out:


Code: Select all

[root@scalix01 ~]# omldapsync -u AD_SX1
2009-02-05 16:43:34 INFO: command line is /opt/scalix/bin/omldapsync -u AD_SX1
2009-02-05 16:43:35 STATUS: LDAP dir sync import AD_SX1 started ###############
2009-02-05 16:43:35 INFO: work dir is /var/opt/scalix/s1/s/ldapsync/AD_SX1/import
2009-02-05 16:43:35 STATUS: search source directory on pdc.studio.int ...
2009-02-05 16:43:35 INFO: search base is OU=Utenti,DC=studio,DC=int
2009-02-05 16:43:35 INFO: ... 85 entries to check
2009-02-05 16:43:35 STATUS: find delta and perform mapping ...
2009-02-05 16:43:36 INFO: ... 0 entries to delete
2009-02-05 16:43:36 INFO: ... 1 entries to add
2009-02-05 16:43:36 INFO: ... 0 entries to modify
2009-02-05 16:43:36 WARNING: this sync agreement has no delete limit configured
2009-02-05 16:43:36 STATUS: apply membdelete data against Scalix ...
2009-02-05 16:43:36 INFO: ... 0 entries passed for member.curr
2009-02-05 16:43:36 INFO: ... 0 entries failed for member.curr
2009-02-05 16:43:36 INFO: ... 0 entries warned for member.curr
2009-02-05 16:43:36 STATUS: apply delete data against Scalix ...
2009-02-05 16:43:36 INFO: ... 0 entries passed for delete.curr
2009-02-05 16:43:36 INFO: ... 0 entries failed for delete.curr
2009-02-05 16:43:36 INFO: ... 0 entries warned for delete.curr
2009-02-05 16:43:36 STATUS: apply add data against Scalix ...
Enter CAA Password: error 1002: Scalix user must have local mailnode
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="12345">
                <Identity name="sxadmin" passwd="xxxxxxxx"/>
            </Credentials>
            <FunctionName>AddUser</FunctionName>
            <AddUserParameters>
                <user type="MAIL"/>
            </AddUserParameters>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed
0 entries warned
2009-02-05 16:43:36 ERROR: failed to run omldapagent
2009-02-05 16:43:36 INFO: ... 0 entries passed for add.curr
2009-02-05 16:43:36 INFO: ... 1 entries failed for add.curr


Then I also tried to insert it into the group... but got this:

Code: Select all

2009-02-05 16:58:33 STATUS: apply membmodify data against Scalix ...
Enter CAA Password: --------> Sending SOAP Request to Ubermanager@http://scalix01.studio.int/caa/ for method:AddMembersToGroup
--------> Received SOAP Response from Ubermanager@http://scalix01.studio.int/caa/
error: Response contains failure report
>>>>>>>>SOAP Request
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="12345">
                <Identity name="sxadmin" passwd="xxxxxxxx"/>
            </Credentials>
            <FunctionName>AddMembersToGroup</FunctionName>
            <AddMembersToGroupParameters id="bIUk7pL6pk+0CsRkn2kAGQ==">
                <member fa="CN=Alice Faggin,OU=Utenti,DC=studio,DC=int"/>
            </AddMembersToGroupParameters>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
>>>>>>>>SOAP Response
SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>SOAP-ENV:Server</faultcode>
            <faultstring>CAA Service Error</faultstring>
            <detail>
                <scalix-caa:fault-details xmlns:scalix-caa="http://www.scalix.com/caa">
                    <message>Failed to obtain CN, MailNode for all the members in the Request SOAP Document from LDAP server scalix01.studio.int</message>
                    <errorcode>UM-1019</errorcode>
                </scalix-caa:fault-details>
            </detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
0 entries passed
1 entries failed


Any hints ?
Thank you :)

Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest