Wednesday, June 13, 2007

Using MDaemon PRO as a MAIL Server

MDaemon is one of the utilized software as server mail besides other mail server software.

Hardware requirement for MDaemeon as a Mail Server is :

  • For small usage any Pentium Class With RAM 32Mb
  • For biggest usage min. Pentium III With RAM 128Mb
  • Operating System: Windows '98, Windows NT, Windows 2000, Windows 2003 (My suggestion is use Windows NT or Windows 2000, Windows 2003 so that security system and the stability can be improved)

  • Service E-Mail Protocol


      There are two protocol which often use in E-mail service as a main protocol:

      1. Simple Mail transfer protocol (SMTP)
      2. Post Office Protocol Version 3 (POP3

      Besides the protocol above, also recognized Internet Mail Access Protocol ( IMAP ) which its function like POP3 with a few excess. Following will be explained function and way of activity for each protocol (See my previous posted about the protocol).

      Simple Mail Transfer Protocol (SMTP)
      Main function of SMTP is to submit E-Mail from a host to other host in network. This protocol do not have ability to conduct depository and intake of E-Mail from a Mailbox. TCP port protocol for SMTP service is 25, representing service standard port SMTP. Because SMTP do not have depository ability in mailbox E-mail, hence needed other protocol to run the function that is POP3 and IMAP.
      From E-Mail client side, SMTP server represent medium to conduct connection outgoing or delivering message. While for the incoming of connection used by POP3 protocol.

      Post Office Protocol version 3 (POP3)
      Version 3 is a POP Protocol, more popular as a POP3 in this time. This protocol function is to get E-Mail in mailbox for every user in server mail, what usually also function at the same time as a SMTP server. As have been explained previously that SMTP do not have depository mechanism of E-Mail to mailbox and distributing it every user, so that POP3 protocol to take the function. POP3 server keep the E-Mail of every user for temporary before finally download by user use E-Mail client like Outlook and also Eudora. In course of the intake of E-Mail Client Connected to the Mail server use POP3 protocol at TCP port 110.

      Function of DNS server in Email service
      In E-Mail DNS server service personate indicator to the route an E-Mail. If there are an E-Mail, DNS server will check the name of domain that found on address of target.
    E-Mail Services in LAN
    E-Mail service in LAN environment generally aim to facilitate coordination between internal of an organization. The Scope of LAN in fact can be extended in WAN scale. This mode is not used public network or Internet.



    Email service in WAN
    Forwarding of E-Mail in public network using internet or WAN, an E-Mail will passed through some server, before is finally accepted by address of target. As have been explained at previous, DNS server function is vital as indicator to route passed by the email.


    sending email through internet can be use by: Relay SMTP Server and MX Record at DNS Server. To get an email can be choose with ETRN, Domain POP, Multi POP, SMTP.

    Setting MDaemon at LAN
      MDaemon can be used at LAN to send and received an E-mail like Email via WAN.
      There are three step to configure MDaemon at LAN:

      1. Make Domain at Local Network
      2. Make Account and Mailbox each user
      3. Configure E-Mail client each user

      Setting Primary Domain
      First step of server mail configuration is to make domain for the account of E-Mail in network. Because you will only using it in local network which not connected to the internet, hence you can make to the name of domain freely without needing registration to Internic and also other registration.
      Open the Main Window of MDaemon, then Setup -> Primary Domain.


      Domain/ISP is a main tab of Primary Domain Configuration that contain of Primary Domain Server mail. Fill the form as below:

      1. Domain Name: (fill with organization domain)
      2. HELLO Domain: (name of domain which [is] used in SMTP instruction HELLO/ehlo in process delivery of E-Mail.)
      3. Machine Name: (Domain Name)
      4. Domain IP: (Computer IP at Local Network)
      5. Bind listening sockets to this IP only: (Leave it blank for single Domain, usually this fill use for multiple domain)
      6. ISP or Smart host’s IP or domain name: (Leave it blank for E-mail at LAN)

      Other fill using for WAN email account purposed.

      Create Account Mail
      Create Account to be used in LAN environment and internet use menu and way of which is same. An account can relate to internet hence must be done some configuration according to delivery method and selected acceptance.
      For LAN purposed, create the account and password determine to the domain only.
      To create the account choose Account -> New Account.



      Stuffing configuration for the tab of Account shall be as follows:

      1. Full Name: filled with complete name of user
      2. Mailbox Account: Filled with name to be used as E-Mail address
      3. Allow this account to be accessed with POP/IMAP mail clients: is used to give rights so that the account can be accessed from POP client /IMAP like Outlook and Eudora.
      4. Account password: Password for the account.
      5. Comments on this Account: Column to fill in various note lionized for the account.

      To see mailbox tab content click Mailbox at Account Editor menu.
      Mailbox configuration conducted to every account. This shares function to determine depository location of E-Mail every user in server MDAEMON before downloaded by pertinent user.


      The Menu Mailbox content shall be as follows.

      1. Message directory: location of directory path where E-Mail keep
      2. Storage Format: representing depository format of file in folder for every user.
      3. Enable automatic extraction of MIME encoded attachments: if this choice is activated, MDAEMON will extract E-Mail attachment which have found by MIME format to every E-Mail which enter. This facility is used especially for the client of E-Mail which do not have ability of MIME file extract.
    Setting MDaemon at WAN
    Steps to conduct MDAEMON configuration for internet connection shall be as follows:
    1. Modem Configuration, DialUp Networking to ISP, RAS DialUp/DialDown in MDaemon.
    2. DNS Configuration.
    3. Sending Email Configuration.
    4. Receipt Email Configuration.

    5. RAS DialUp/DialDown
      Before doing configuration at this session, we have to check: Modem already installed and DialUp connection to the ISP via Internet has been installed and running well.

      For Setting RAS DialUp at MDaemon with press F7 or Setup -> RAS Dialup/dialdown.



      Dialup Setting Tab and ISP Logon Setting is a main menu must enter for MDaemon connected to the Internet. At Dialup tab setting there are some configuration type as follows:
      1. Enable RAS dialup/dialdown engine: To activation Dialup function.
      2. Make this many attemps to establish a session: Is used to determine how many times MDAEMON repeat dial to ISP.
      3. After dialing, wait this many seconds for a valid connection: This shares determine how long MDAEMON await to get link to ISP
      4. Connection persistence: you can decide MDAEMON will continuously
        connect, or determined by] certain time interval (in minute) before finally MDAEMON disconnect with ISP, if there is no activity.

      The other Important things for RAS Dialup Settings menu is containing ISP Logon Settings tab of information concerning ISP account.


      Configuration type in this shares shall be as follows:

      1. Use any currently active dialup session: To determine what is MDAEMON will use conection which is active to deliver of and acceptance of E-Mail,
        so that no need to dial.
      2. Logon name: Filled with got account from your ISP.
      3. Logon password: Password for the logon to ISP.
      4. Use this RAS dialup profile: Is available internet connection type choice combo box. This box present networking dialup choice as according to internet connection which have installed in Windows.

      DNS Configuration
      Besides usage of Primary Domain which enlist, also need DNS configuration, MDAEMON use for look domain address in internet.

      Configuration of DNS conducted from DNS tab at Primary Domain configuration menu.


      DNS number got from your ISP.

      Sending E-mail using SMTP Relay

      This method using your ISP SMTP server or hosting Mail as a relay machine to the Internet. (same parameter with MDaemon on LAN, except: the ISP smart host 's IP or domain name with your SMTP ISP Server, then choose Send every outbound email message to this host).


      Receive E-mail using MultiPOP
      E-Mail address is usually equiped by POP3 facility for download of E-Mail from server to client like Outlook and Eudora. In MultiPOP Outlook role method as E-mail client replaced by MDAEMON later on distribute the E-Mail to every user.

      MultiPOP can use as following:
      1. If ISP or hosting web do not provide DomainpPOP facility and also ETRN.
      2. MultiPOP using as ETRN and DomainPOP
      3. You wish free E-Mail service host in MDAEMON, so that user in network do not
        need connection to internet to get the E-Mail.


        The configuration as follows:

        1. Enable MultiPOP mail collection for this account: to activate MultiPOP function
        2. Server: POP3 server name - got from ISP
        3. Logon: User account in POP3 server
        4. Password: Password in POP3 server or APOP shared secret
        5. Use APOP (password field contains shared secret: Make this active if authentication password is APOP
        6. a copy of message on POP server: Keep the E-mail in POP3 server even MDaemon already downloaded, later you can read your mail from other location.
        7. messages once [xx] or more have accumulated (0 = never): Maximum Email keeping in POP3 server
        8. download messages larger than [xx] kb (0 = no limit: The limit of E-Mail size download.
    >>>>  I will continue this Mail server setting compare with others apps.

    1 comment:

    Anonymous said...

    I must say your blog is very intresting and informative

    Linux Software RAID

    Introduction The main goals of using redundant arrays of inexpensive disks (RAID) are to improve disk data performance and provide data re...