Mdaemon Setup for Mail Relay and LDAP

Document Sample
Mdaemon Setup for Mail Relay and LDAP Powered By Docstoc
					Mdaemon Setup for Mail Relay and LDAP
    NOTE: Substitute your local information in the appropriate
    places In Exchange SMTP, Allow Relay from mail server
    IP Address. Mdaemon is setup as a mail relay to the
    Exchange mail server.
Setup, Primary Domain
   Primary Domain Name: Mailgateway.externaldomainname
   FQDN for this server: mail.externaldomainname
   Machine Name: mail.externaldomainname
Setup, Primary Domain, DNS
   Enter your DNS servers manually, don’t use the Try to use
   DNS servers defined in Windows TCP/IP Settings.
   Security, Relays/ . .
   This settings allows email to be sent from the Exchange
   Server to the Mdaemon Server

   Gateway Editor, Domain Name: externaldomainname
   LDAP Verify/Verification
       Verify accounts using an LDAP server
       Host Name or IP: Port: 389
       Base Entry DN: DC=localdomain,DC=local
       Bind DN: CN=backupexec,CN=Users,DC=localdomain,DC=local
       Bind Password: backupexec password

    Mdaemon Setup for Mail Relay and LDAP                    Page 1 of 3   Revised: 1/7/2012
Alternate Delivery of E-mail through your ISP
   As a workaround for delivery issues, you can set Mdaemon to forward mail to your isp's mail smtp server when the mail fails.
   In Mdaemon, Setup, Primary Domain, Delivery. You would substitute your isp’s smtp server for As spam
   filtering get tighter and tighter, there are more unexpected problems that this setup can resolve.

Sending mail for specific domains out through specific outbound servers
   Some domains will not accept mail from dynamic IP addresses or your MDaemon server may not be able to connect to
   specific mail servers for a variety of reasons. When this is the case, you may use the mxcache.dat file to route mail destined
   for certain domains through another server (for example, your ISP or web hosting mail server).

   Mdaemon Setup for Mail Relay and LDAP                      Page 2 of 3                                           Revised: 1/7/2012
The mxcache.dat file is located in \MDaemon\app. Open the file with Notepad to edit it. Keep a copy as a backup. The
commented text in the mxcache.dat file has instructions and samples:

# Use this file is you want to cache MX hosts for certain domains.
# Keep in mind that all the entries in this file are stored in RAM
# at all times for performance reasons. As a result if you edit
# this file you must either restart MDaemon or create a semaphore
# file called MXCACHE.SEM in the \App\ directory so MDaemon will
# reload any changes.
# Lines beginning with # are comments. Create entries of the form:
# Domain Name Precedence Host [{IP Address}] [AUTH Logon] [AUTH Password].
# Examples:
# 10
# 20 {}
# 001 arvel Password
# 001 {} 123dsaADB Plugh
# 002

Therefore, to send mail for through isp.smarthost.mail, the entry would be: 10 isp.smarthost.mail

If you need to enter a username and password you may do so: 10 isp.smarthost.mail username@isp.mail password

Mdaemon Setup for Mail Relay and LDAP                    Page 3 of 3                                        Revised: 1/7/2012

Shared By:
jianghongl jianghongl http://