Is there a way to change the asterick@ email address to a valid email address via the gui
No. IMO, this should be done by the commercial SysAdmin Pro module, as it touts email config. But it doesn’t. You have to edit the generic file with rewrite rules.
Notes:
Add these rules to /etc/postfix/generic replacing all
“[email protected]” with the real data used above for authentication.
root [email protected]
root@localhost [email protected]
[email protected] [email protected]
root@freepbx [email protected]
[email protected] [email protected]
asterisk [email protected]
asterisk@localhost [email protected]
[email protected] [email protected]
asterisk@freepbx [email protected]
[email protected] [email protected]
vm@asterisk [email protected]
Then run postmap /etc/postfix/generic
What is the best /easiest way to edit, ive tried nano on the cli but cannot be found, Ive had issues loading openssh on a windows server, I dont see these file in config edit, Thank you for your help.
sudo nano /etc/postfix/generic should do it.
Thanks, I ended up downloading Putty, and added the lines to generic, had to add smtp_generic_maps = hash:/etc/postfix/generic to the main.cf then do a postmap /etc/postfix/generic and a service postfix restart and Im now receiving emails from the valid 365 account. One strange thing is I receive the test email to my internal domain email but havent received it at my external account yet, I did check 365 message trace and it says it was delivered. Thank you for your help.
In reviewing the log file trying to determine why external users (non-domain) are not receiving emails it still shows they are coming from asterisk@ and not the user I put in the generic file. The emails received at the domain does should the user I added in the generic file, however the log file show asterisk? Does anyone have any thoughts on what I missed.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.