Mail Server (Postfix)

Embed Size (px)

Citation preview

  • 7/31/2019 Mail Server (Postfix)

    1/20

    Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    2/20

    2 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    3/20

    Please note that this user manual may be subjected to change due to productupgrades without any prior notice.

    HDE and HDE Controller is a registered trademark of HDE, Inc.

    All group names and product names listed in this manual are registeredtrademarks to each of the groups and products respectively.

    This manual may only be copied by printing in PDF format. Any other formsof copying, transferring, loaning, adapting, translating, or public distribution ofthis manual is not allowed.

    Reprinting or reproducing this manual without HDE's permission is strictlyforbidden.

    2011 HDE, Inc.

    3

  • 7/31/2019 Mail Server (Postfix)

    4/20

    How to Read this Manual

    About this Manual

    The HDE Controller Installation Manual provides users with instructions toinstalling OS and the HDE Controller (this Product) as well as steps forconfiguring the initial settings of the Product.

    Annotations are provided for any matters requiring special attention andphrase supplements.

    Any matters which

    require special attentionare marked with this"Alert" icon in bold frame.

    Contents which provideuseful reference for usingHDE Controller aremarked with this "Hint"icon.

    4 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    5/20

    HDE Controller XMail Server (postfix)

  • 7/31/2019 Mail Server (Postfix)

    6/20

    1. Basic Settings

    A Mail Server is a service required for sending/receiving e-mails. It canbe categorized into two main types: SMTP Server which sends outgoing

    mails and POP server which receives incoming mails.

    This section will provide the instruction on how to configure your mailserver using example.com as an example.

    Please click the Mail Server (postfix) menu in the Main Menu.

    Please note that you must re-configure the mail serversettings if you have upgraded your HDE Controller from anyversion prior to version 5.1. Please be sure to perform the

    basic settings of your mail server.

    If you are using IMAP when receiving e-mails, note that IMAPis only supported if using Postfix on the mail server and thatthe mails are stored in Maildir format.

    If you have upgraded your HDE Controller from any versionsprior to version 5.1, you must convert your mails from mboxformat to Maildir format using other procedures.

    You will be required to use other procedures to convert yourmails to Maildir format if you have upgraded your HDEController from any versions prior to version 5.1 (if conversionis not necessary, you may continue using the servicenormally).

    6 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    7/20

    Basic Settings

    Click on the "Basic Settings" menu to access the configuration screen.Enter the domain name used for receiving incoming e-mails (thisexample will use "example.com").

    Your domain will be added to the list when the "Add" button is pressed.Click on the "Configure" button to complete your basic settings

    configuration.After completing this basic setting, both the SMTP server and the POPserver will be available for use.

    Please note that you are still required to click the "Configure"button to complete the basic settings even if the domain youwish to configure already exists in the list of domains beforeyou attempt to add it.

    The main server will not be enabled if you do not complete thebasic settings.

    Mail Server (postfix) 7

  • 7/31/2019 Mail Server (Postfix)

    8/20

    Detailed Settings

    Configure detailed settings of the mail server such as pending portnumber, maximum message size, etc.

    Detailed Settings

    IPv6Check this box if you wish to enable IPv6.

    Maximum Message SizeConfigure the maximum message size of the e-mail receivable by thisserver.

    For postfix, the maximum message size is specified as 10240000bytes(10MB).

    If you wish to change this configuration, select "Limit up to and enter themaximum message size.

    Click the "Configure" button to complete your configuration.

    Select "Unlimited" if you do not wish to set a maximum message size.

    The size refers to the total size of the mail including not only

    the body of the message but also the mail header.

    8 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    9/20

    Resolve DNS Host NamePlease note that Smart Relay cannot be performed if DNS host namesare not properly resolved.

    In such case, it is necessary to set this setting to "Do not resolve DNShost name".

    Users are recommended to enable "Resolve DNS Host Name" undernormal conditions.

    Show VersionConfigure whether to display the postfix version number whenconnecting via SMTP.

    Mail Service and Port Number Settings

    Specify a port number to each mail service and turn on/off a service.

    If a mail virus scanner is running on this server, you should change theport number of SMTP and make the virus scanner forward mails to itsport. The protocol allowed will depending your OS version and mail spoolformat.

    Mail Server (postfix) 9

  • 7/31/2019 Mail Server (Postfix)

    10/20

    Security Settings

    Configure SMTP authentication, SSL/TLS settings, and submissionsettings for the SMTP connection.

    SMTPCheck the "Enabled" box if you wish to use SMTP authentication for userauthentication.

    User authentication will use the username/password of local accounts.Please note that you cannot perform user authentication with root user.

    For SSL/TLS, select whether to encrypt the communication or not.

    Enabled Encryption of communication will depend on the

    configuration settings on the client side. Encryption willonly be enabled if SSL/TLS is enabled on the clientmachine.

    When using SMTP authentication, it is recommended to enable SSL/TLSfor securing your password.

    10 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    11/20

    SubmissionSet as "Enabled" if you wish to apply SMTP authentication when usingsubmission ports.

    User authentication will use the username/password of local accounts.Please note that you cannot perform user authentication with root user.

    For SSL/TLS, select whether to encrypt the communication or not.

    Disabled Communication will not be encrypted.

    Enabled Encryption of communication will depend on theconfiguration settings on the client side. Encryption willonly be enabled if SSL/TLS is enabled on the clientmachine.

    Force Communication will always be encrypted. The clientswill not be able to send out and mails if their SSL/TLSis disabled. This setting will prevent the loss ofencryption of communication due to incorrectconfigurations on the client machine.

    SMTPSCheck the "Enabled" box if you wish to apply SMTP authentication whenusing SMTPS.

    User authentication will use the username/password of local accounts.Please note that you cannot perform user authentication with root user.

    Please note that you are required to configure SSL on the mail client ifyou are using SMTP for communication.

    The password that can be used for SMTP authentication isthe system password.

    Only plain-text authentication will be applied to the systempassword.

    Users may also use APOP password if using Red HatEnterprise Linux 5 or CentOS 5.x.

    Users are also able to use DIGEST-MD5 and CRAM-MD5 ifusing APOP password.

    Mail Server (postfix) 11

  • 7/31/2019 Mail Server (Postfix)

    12/20

    Advanced Settings

    Configure the advanced settings for the mail server.

    The size refers to the total size of the mail including not onlythe body of the message but also the mail header.

    Please only change these settings when necessary. Users will not berequired to make any changes to these settings under normal conditions.

    Maximal Queue Lifetime (seconds)Specify the maximum time to keep emails in the queue Specify themaximum time to keep the mails in the queue before delivering back due

    to failed delivery.

    Set the "maximal_queue_lifetime" parameter.

    Bounce Queue Lifetime (seconds)Specify the maximum time to keep the bounce mails in the queue beforedelivering back due to failed delivery.

    Set the bounce_queue_lifetime parameter.

    Minimal Backoff Time (seconds)Configure the minimum interval of mail re-delivery.

    Set the "minimal_backoff_time" parameter.

    Maximal Backoff Time (seconds)Configure the maximum interval of mail re-delivery.

    Set the maximum_backoff_time parameter.

    12 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    13/20

    2. Access Control

    Users are recommended to set access restriction to the mail server asallowing all users to relay mails on the server will result in security risks

    involving spam or other harmful e-mail related activities. In order toprevent any abuse, please configure the clients who are allowed to sendor relay e-mails via this mail server.

    The "Client" defined in this setting refers to the range of IPaddress/domain name/network address which are authorizedto relay e-mails via this server.

    If using mail clients which support POP before SMTP orSMTP AUTH, you do not have to explicitly authorize clients inthis setting as sending/relaying of emails will be allowed.

    Mail Server (postfix) 13

  • 7/31/2019 Mail Server (Postfix)

    14/20

    Access Control

    Add a client who is authorized to send e-mails via this server. Entereither the IP address, domain name, or the network address and clickthe "Add" button to add a client.

    When a new client is added, it will be displayed in the "The client whocan send email from this server" list.

    Click the "Configure" button to complete your configuration.

    Setting Item Input Value Specified Range

    IP Address 192.168.0.1 IP Address

    Network Address 192.168.0. Range of networkpartitioned by networkaddress.

    Specify IP AddressRange

    192.168.0.21-24 Range of IP addresses

    Domain Name example.com Enter Domain name

    Deleting an authorized client

    Select the client to be deleted from the "The client who can send emailfrom this server" list and click the "Delete" button.

    When the "Delete" button is clicked, it will switch to the "Undo" button.Click the "Undo" button to cancel deletion.

    Click the "Configure" button to apply your configuration.

    14 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    15/20

    3. Smart Relay Settings

    Configure the smart relay function used for routing and forwardinge-mails when sending outgoing e-mails from a mail server behind a

    firewall.

    Smart Relay Settings

    Configure the smart relay settings of the mail server.

    For the forward target, users can specify the IP address or the FQDN(host name and domain name) and the port number as a pair.

    For example, if you wish to forward (and process) e-mails directed to aninternal address (i.e. addresses with domain after the "@" set aslocal.example.com) to 192.168.12.34 port number "1025", and forward(and process) any e-mails direct to an external address to 192.168.56.78

    port number 25, you would enter "local.example.com" in "Domain Name","192.168.12.34" in "Transmit to", "1025" in "Port Number" and click the"Add" button.

    Mail Server (postfix) 15

  • 7/31/2019 Mail Server (Postfix)

    16/20

    4. Maximum Transfer

    Limits the number of forwarded e-mail addresses.

    Check the "Restrict maximum number of mail transferring" box if youwish to set a maximum to the number of forwarded addresses and entera numeric value in the "Maximum number of mail transferring" field.

    Uncheck the "Restrict maximum number of mail transferring" box if youdo not wish to set any restriction on the number of forwarded mails.

    Click the "Configure" button to complete your configuration.

    16 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    17/20

    5. Mail Alias Settings

    Configure the mail forwarding settings of an e-mail account.

    Mail Alias Settings

    Enter the name of the alias you wish to add into the "Alias Name" field.

    You may use alphabets, hyphens "-", under scores "_" for theusername (login name). Additionally, the first letter of theusername must begin with a lower case character.

    Enter the username of the local user, or the e-mail address of the remoteuser in the "Value" field.

    Separate each entry with a comma "," if multiple entries.

    Click the "Add" button to add an alias.

    Click the "Configure" button to complete your configuration.

    Mail Server (postfix) 17

  • 7/31/2019 Mail Server (Postfix)

    18/20

    Search Aliases

    To search for existing aliases, enter the search keyword into the "SearchAliases" field.

    To change the number of returned search results, change the value inthe "Number of Results" field.

    Click the "Search" button to begin your search.

    To search the aliases by their initials, click the range of alphabets on thetop of the search result list.

    To display all registered aliases, click "Show All".

    Edit AliasClick the Edit button if you wish to edit an alias.

    Enter the username of the local user, or the e-mail address of the remoteuser in the "Alias Value" field.

    Separate each entry with a comma "," if multiple entries.

    Click the "OK" button return to the previous screen.

    Click the "Configure" button to complete your configuration.

    18 HDE Controller X Mail Server (postfix) Manual

  • 7/31/2019 Mail Server (Postfix)

    19/20

    6. APOP Settings

    The APOP setting is used for deleting the APOP database for all usersand authorizing all users to POP authentication.

    Click on "Initialize APOP Database" if you wish to initialize the APOPdatabase. In that case, any existing APOP database will be deleted.

    Mail Server (postfix) 19

  • 7/31/2019 Mail Server (Postfix)

    20/20

    HDE Controller PRO / LG User Manual

    April 30, 2011 1st Ed. 10.0-001

    HDE, Inc.

    16-28, Nanpeidaicho, Shibuya, TOKYO, 150-0036 JAPAN