Template:Configuration - Validate Recipients/LDAP
From ASSPSMTP
based upon version 1.3.5(9.18)
- Catchall Address for Messages to Postmaster (sendAllPostmaster)
- ASSP will deliver messages addressed to all postmasters of your local domains to this address. For example: postmaster@mydomain.com
- Skip Spam Checks for Postmaster Catchall (sendAllPostmasterNP)
- Catchall Address for Messages to Abuse (sendAllAbuse)
- ASSP will deliver messages to all abuse addresses of your local domains to this address.
- For example: abuse@mydomain.com
- Skip Spam Checks for Abuse Catchall (sendAllAbuseNP)
- Validate local addresses to conform with RFC 822 (DoRFC822)
- If activated, each local address is checked to conform with the email format defined in RFC 822. This requires an installed Email::Valid module in PERL.
- Lookup valid Local Addresses from here* (LocalAddresses_Flat)
- These email addresses are the list of your local addresses. You can list specific addresses (user@mydomain.com), addresses at any local domain (user), or entire domains (@mydomain.com). Wildcards are supported (fribo*@domain.com). (|).
- For example: fribo@thisdomain.com|jhanna|@sillyguys.org
- or place them in a plain ASCII file one address per line:file:files/localuser.txt.
- Accept Remote Sender with Valid Local Addresses (LocalAddressesValid)
- Consider Remote Sender with Valid Local Addresses as NOT spoofed. This will not allow relaying, but will skip delaying. Bayesian will not block but mark only.
- Catchall per Domain* (CatchAll)
- ASSP will send to this addresses/domain if no valid user is found in LocalAddresses_Flat/LDAP.
- For example: catchall@domain1.com|catchall@domain2.com
- Catchall for All Domains (CatchAllAll)
- ASSP will send to this address if no valid user is found in LocalAddresses_Flat/LDAP and no match is found in Catchall per Domain.
- For example: catchall@domain.com
- Accept Mail from Local Domains only* (InternalAddresses)
- These local addresses accept mail only from local domains. Accepts specific addresses (user@domain.com), user parts (user) or entire domains (@domain.com). Wildcards are supported (fribo*@domain.com).
- Separation Character for Subaddressing (SepChar)
- RFC 3598 describes subaddressing with a Separation Character. A star ('*') is not allowed as Separation Character. Everything between Separation Character and @ is ignored (including Separation Character).
- For Example = '+' will allow user+subaddress@domain.com.
- No-Valid-Local-User Reply (NoValidRecipient)
- SMTP reply for invalid Users. Default: '550 5.1.1 User unknown: EMAILADDRESS'
- The literal EMAILADDRESS (case sensitive) is replaced by the fully qualified SMTP recipient (e.g., thisuser@yourcompany.com).
- Do LDAP lookup for valid local addresses wiki (DoLDAP)
- Check local addresses against an LDAP database before accepting the message.
- Note: Checking this requires filling in the other LDAP parameters below. This requires an installed NET::LDAP module in PERL.
- LDAP Host(s) (LDAPHost)
- Enter the DNS-name(s) or IP address(es) of the server(s) that run(s) the LDAP database. Second entry is backup. For example: localhost. Separate entries with pipes: LDAP-1.domain.com|LDAP-2.domain.com
- LDAP Login (LDAPLogin)
- Most LDAP servers require a login and password before they allow queries. Enter the DN specification for a user with sufficient permissions here.
- For example: cn=Administrator,cn=Users,DC=yourcompany,DC=com
- LDAP Password (LDAPPassword)
- Enter the password for the specified LDAP login here.
LDAP Root container (LDAPRoot)
- The LDAP lookup will use this container and all sub-containers to match the query.
- The literal DOMAIN is replaced by the domain part of SMTP recipient (eg. domain.com) during the search.
- For example: DC=yourcompany,DC=com.
- If you use DOMAIN here, you must check "LDAP failures return false" below or non local domains will be treated as local
- LDAP Filter for Local Domains (ldLDAPFilter)
- This filter is used to query the LDAP database. This strongly depends on the LDAP structure.
- The filter must return an entry if the domain must be relayed.
- The literal DOMAIN is replaced by the domain name during the search.
- LDAP Filter for Local Addresses (LDAPFilter)
- This filter is used to query the LDAP database. This strongly depends on the LDAP structure.
- The filter must return an entry if the recipient address matches with that of any user.
- The literal EMAILADDRESS is replaced by the fully qualified SMTP recipient (eg. user@domain.com) during the search.
- The literal USERNAME is replaced by the user part of SMTP recipient (eg. user) during the search.
- The literal DOMAIN is replaced by the domain part of SMTP recipient (eg. domain.com) during the search.
- For example: (proxyaddresses=smtp:EMAILADDRESS)
- LDAP failures return false (LDAPFail)
- If checked when an error occurs in LDAP lookups the test fails.


