38.8. Editing Global Qmail Options

Qmail has several settings that apply to all email messages that it processes, related to the hostname that it uses, SMTP timeouts, and the maximum message size. The steps below explain how to set them and what they mean.

1.
On the main page of the module, click on the QMail Options icon to bring up a form showing and allowing the editing of global options.

2.
The Local host name field can be used to tell Qmail your system's hostname. It should be set to the Internet domain or hostname, such as example.com.

3.
To set the hostname that Qmail will send to remote SMTP servers, select the second option for the Hostname for SMTP HELO field and fill in its text box. If Default is selected, the hostname from the previous field will be used.

4.
To change the amount of time that your server will wait for a remote MTA to accept an SMTP connection, fill in the SMTP connection timeout field. If Default is selected, a timeout of 60 seconds will be used. It may be useful to lower this to prevent your system wasting too much time trying to contact down servers—60 seconds is usually far too long to wait.

5.
To set the number of seconds that Qmail will wait for a response to each SMTP command sent to a remote server, modify the SMTP outgoing response timeout field. If Default is chosen, a 20-minute timeout is used.

6.
To stop your MTA from accepting large emails, select the second button in the Maximum message size field and enter the maximum number of bytes that an email can contain in the text box next to it. If Unlimited is chosen, mail of any size will be accepted. Setting a limit can be useful on systems with limited disk space or network bandwidth.

7.
To set the amount of time that Qmail will wait for new data from a remote mail server connecting to your system, fill in the SMTP incoming data timeout field. The default is 20 minutes.

8.
When your server accepts a message to an address like [email protected] where 1.2.3.4 is one of the system's local IP addresses, it will convert that address into the hostname specified in the Hostname for email to local IP address field. Even though email is not supposed to be addressed like this, it can sometimes happen and Qmail can deal with it. If Default is selected, the host or domain name from the Local host name field is used instead.

9.
To change the greeting that Qmail will present to SMTP clients when they connect, choose the second radio button in the SMTP greeting message field and enter some text into the adjacent text box. This message should start with the system's hostname, and if Default is selected, that is all it will contain.

10.
Click the Save button to update the Qmail configuration files with the new settings.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.98.111