Mail Server (postfix) Manual
2 HDE Controller X Mail Server (postfix) Manual
Please note that this user manual may be subjected to change due to product upgrades 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 registered trademarks to each of the groups and products respectively. This manual may only be copied by printing in PDF format. Any other forms of copying, transferring, loaning, adapting, translating, or public distribution of this manual is not allowed. Reprinting or reproducing this manual without HDE's permission is strictly forbidden. 2011 HDE, Inc. 3
How to Read this Manual About this Manual The HDE Controller Installation Manual provides users with instructions to installing OS and the HDE Controller (this Product) as well as steps for configuring the initial settings of the Product. Annotations are provided for any matters requiring special attention and phrase supplements. Any matters which require special attention are marked with this "Alert" icon in bold frame. Contents which provide useful reference for using HDE Controller are marked with this "Hint" icon. 4 HDE Controller X Mail Server (postfix) Manual
HDE Controller X Mail Server (postfix)
1. Basic Settings A Mail Server is a service required for sending/receiving e-mails. It can be 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 mail server 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 server settings if you have upgraded your HDE Controller from any version 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 IMAP is only supported if using Postfix on the mail server and that the mails are stored in Maildir format. If you have upgraded your HDE Controller from any versions prior to version 5.1, you must convert your mails from mbox format to Maildir format using other procedures. You will be required to use other procedures to convert your mails to Maildir format if you have upgraded your HDE Controller from any versions prior to version 5.1 (if conversion is not necessary, you may continue using the service normally). 6 HDE Controller X Mail Server (postfix) Manual
Basic Settings Click on the "Basic Settings" menu to access the configuration screen. Enter the domain name used for receiving incoming e-mails (this example 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 POP server 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 you wish to configure already exists in the list of domains before you attempt to add it. The main server will not be enabled if you do not complete the basic settings. Mail Server (postfix) 7
Detailed Settings Configure detailed settings of the mail server such as pending port number, maximum message size, etc. Detailed Settings IPv6 Check this box if you wish to enable IPv6. Maximum Message Size Configure the maximum message size of the e-mail receivable by this server. For postfix, the maximum message size is specified as 10240000bytes (10MB). If you wish to change this configuration, select "Limit up to and enter the maximum 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
Resolve DNS Host Name Please note that Smart Relay cannot be performed if DNS host names are not properly resolved. In such case, it is necessary to set this setting to "Do not resolve DNS host name". Users are recommended to enable "Resolve DNS Host Name" under normal conditions. Show Version Configure whether to display the postfix version number when connecting 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 the port number of SMTP and make the virus scanner forward mails to its port. The protocol allowed will depending your OS version and mail spool format. Mail Server (postfix) 9
Security Settings Configure SMTP authentication, SSL/TLS settings, and submission settings for the SMTP connection. SMTP Check the "Enabled" box if you wish to use SMTP authentication for user authentication. 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 will only be enabled if SSL/TLS is enabled on the client machine. When using SMTP authentication, it is recommended to enable SSL/TLS for securing your password. 10 HDE Controller X Mail Server (postfix) Manual
Submission Set as "Enabled" if you wish to apply SMTP authentication when using submission 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 Force Encryption of communication will depend on the configuration settings on the client side. Encryption will only be enabled if SSL/TLS is enabled on the client machine. Communication will always be encrypted. The clients will not be able to send out and mails if their SSL/TLS is disabled. This setting will prevent the loss of encryption of communication due to incorrect configurations on the client machine. SMTPS Check the "Enabled" box if you wish to apply SMTP authentication when using 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 if you are using SMTP for communication. The password that can be used for SMTP authentication is the system password. Only plain-text authentication will be applied to the system password. Users may also use APOP password if using Red Hat Enterprise Linux 5 or CentOS 5.x. Users are also able to use DIGEST-MD5 and CRAM-MD5 if using APOP password. Mail Server (postfix) 11
Advanced Settings Configure the advanced settings for the mail server. The size refers to the total size of the mail including not only the body of the message but also the mail header. Please only change these settings when necessary. Users will not be required 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 the maximum 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 before delivering 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
2. Access Control Users are recommended to set access restriction to the mail server as allowing all users to relay mails on the server will result in security risks involving spam or other harmful e-mail related activities. In order to prevent any abuse, please configure the clients who are allowed to send or relay e-mails via this mail server. The "Client" defined in this setting refers to the range of IP address/domain name/network address which are authorized to relay e-mails via this server. If using mail clients which support POP before SMTP or SMTP AUTH, you do not have to explicitly authorize clients in this setting as sending/relaying of emails will be allowed. Mail Server (postfix) 13
Access Control Add a client who is authorized to send e-mails via this server. Enter either the IP address, domain name, or the network address and click the "Add" button to add a client. When a new client is added, it will be displayed in the "The client who can 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 network partitioned by network address. Specify IP Address Range 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 email from 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
3. Smart Relay Settings Configure the smart relay function used for routing and forwarding e-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 an internal address (i.e. addresses with domain after the "@" set as local.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
4. Maximum Transfer Limits the number of forwarded e-mail addresses. Check the "Restrict maximum number of mail transferring" box if you wish to set a maximum to the number of forwarded addresses and enter a numeric value in the "Maximum number of mail transferring" field. Uncheck the "Restrict maximum number of mail transferring" box if you do 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
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 the username (login name). Additionally, the first letter of the username must begin with a lower case character. Enter the username of the local user, or the e-mail address of the remote user 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
Search Aliases To search for existing aliases, enter the search keyword into the "Search Aliases" field. To change the number of returned search results, change the value in the "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 the top of the search result list. To display all registered aliases, click "Show All". Edit Alias Click the Edit button if you wish to edit an alias. Enter the username of the local user, or the e-mail address of the remote user 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
6. APOP Settings The APOP setting is used for deleting the APOP database for all users and authorizing all users to POP authentication. Click on "Initialize APOP Database" if you wish to initialize the APOP database. In that case, any existing APOP database will be deleted. Mail Server (postfix) 19
HDE Controller PRO / LG User Manual April 30, 2011 1st Ed. 10.0-001 HDE, Inc. 16-28, Nanpeidaicho, Shibuya, TOKYO, 150-0036 JAPAN