In Usermin’s Read Mail module, how can I set users’ From addresses when my server hosts multiple virtual domains?

By default, when a user composed email the From field contains username@systemhostname. This can be changed by following these steps :

Login to Webmin on the same server, and enter the Usermin Configuration module.

Click on Usermin Module Configuration.

Click on Read Mail.

In the Default hostname for From: addresses field, enter the domain or hostname that you want to appear after the @ in users’ From addresses.

If you want to stop users from changing their From address (to prevent mail forging), set the Allow editing of From: address option to No.

If you have multiple virtual domains and want different users to have different domains in their From addresses, you will need to set the

From: address mapping file to the name of a file that maps real email addresses to virtual domain email addresses.

This must be a text file, with each line containing :

username fromaddress

The username part of each line must be the user’s Usermin login, and the fromaddress is the new From address to assign to that user. The

username can also be the user’s full email address as it currently appears, such as joe@yourserver.com.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.