Currently there is not a way from MyRack Manager to modify the FROM: part of all emails generated on BrickStor appliances. As a result, there are instances where one may want to specify a particular email address for any number of reasons, but they are unable to do so. This article attempts to provide an answer to this problem.
Disable mail service before making any further changes.
Edit /etc/postfix/main.cf and add this setting: sender_canonical_maps = regexp:/etc/postfix/sender_canonical so that the before and after look like the following. Notice change on line 26.
Now we create a mapping using a regular expression with the following command. However, replace in this example email@example.com with an appropriate email address specific to your environment. This mapping effectively matches an email address that the machine generates based on its current hostname, which usually won't be internet legal such as firstname.lastname@example.org will rewrite it to email@example.com as in this example.
Enable mail service again which should instantiate this mapping and all new emails produced on the box will have their FROM: field re-written to match the right side of value in step 3.
There is no content with the specified labels