'how do I hide the domain name from an email?

I have created a mail server using postfix, dovecot and squirrelmail in centos7.

 For example if the email is [email protected]. How to hide @Something.com and show only abcd in the receiver's inbox?


Solution 1:[1]

Although not really a programming question, the solution is that the "From" header in the email has to have a display name part such as:

From: "My Name" <[email protected]>

Then the "My Name" part will show in most email clients upon arrival. In SquirrelMail (and most other email clients), the way you make sure this happens it to go to the personal information options and make sure you have something filled in the full name field.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Paul Lesniewski