We can edit the file below to rewrite outgoing email address.
/etc/mail/genericstable
Add the line below
youraccount
[email protected]
regenerate the hash file
makemap -r hash genericstable.db < genericstable
You can also edit /etc/mail/aliases for local accout
Alias to your alias account
youraccount youaliasaccount
Or alias to your device
youraccount /dev/yourdevice
Remeber use newaliases to update the hash file
No comments:
Post a Comment