Local Mail only

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hatcher1981
Posts: 30
Joined: Tue May 23, 2006 4:14 pm

Local Mail only

Postby hatcher1981 » Mon Jun 26, 2006 9:04 am

I have a group setup that I would only like to recevie local mail, only, no mail from any outside domains. Is this possible?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Jun 27, 2006 3:51 am

You can give it an uncommon email address (dummy.address.1@domain.com), then use a RECIPIENT rule in the SMTP relay to block mail to that specific address. Internal people using SWA or Outlook will be able to send to the name instead of the address.

Of course, if you have internal people that need to send to the email address (IMAP clients, for example), I would only do the RECIPIENT rule.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jun 27, 2006 5:25 pm

How to hide PDLs from external users

This can be done as follows:

omaddaci -l "PDL Name" -g default -c "-read"

This will remove READ access from anybody other than named users,
administrators or local users. However, by default, SWA does not use
LDAP authentication when accessing the SYSTEM directory and so is
regarded as an external user by the LDAP server. To work around this,
you need to configure SWA to use an authenticated bind for SYSTEM. This
requires editing partner.xml in release 9 and swa.properties in release 10.

For the ldap source in partner.xml which is identified as:

<ldapSource>
<type>system</type>

replace:

<authtype>none</authtype>

with

<authtype>simple</authtype>

and add a line underneath that which reads:

<binddn>rfc822mailbox=%u</binddn>

For the ldap source in swa.properties which is identified as:

swa.ldap.1.type=system

look for:

swa.ldap.1.authType=none

change that to simple and just below add

swa.ldap.1.bindDN=rfc822mailbox=%u

You will need to restart tomcat for this change to be picked up.

You will then see that SWA users can access the PDL but external users
will not be able to mail to it. They should receive a message similar to:

Message could not be delivered to the following recipient:

All.Tardis@tardis.uk.scalix.com

because: Recipient name not found at destination

Regards,
Don


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 0 guests

cron