Page 1 of 1

Local Mail only

Posted: Mon Jun 26, 2006 9:04 am
by hatcher1981
I have a group setup that I would only like to recevie local mail, only, no mail from any outside domains. Is this possible?

Posted: Tue Jun 27, 2006 3:51 am
by Valerion
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.

Posted: Tue Jun 27, 2006 5:25 pm
by ScalixSupport
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