Configuring the mail server to accept a specific domain
You can specify a domain name for which the mail server will accept email messages. By default, if a domain name does not appear in the locals configuration file, then the mail server will not accept the email message. The email message is only accepted if the domain name is listed in the rcpthosts configuration file. In the following example, the domain name that is added to the rcpthosts configuration file is corel.com.
To configure the mail server to accept a specific domain
1. Click Application Starter, Corel File Manager.
2. Type /var/qmail/control/ in the Address box.
3. Double-click on rcpthosts to open it in a text editor.
4. Add the domain name in rcphosts file.
corel.com
5. Save the rcphosts file.
Notes
If you delete or rename the rcpthosts configuration file, the mail server will function as an open relay mail server.
You can add as many domain names as you like to the rcpthosts configuration file.