GRZMRC
July 25, 2014, 7:51am
1
Hi,
I need to send mail through a SMTP smart host that accepts only a sender named [email protected] .
in Settings - VoiceMail Admin - I put [email protected] in fromstring & in servermail, but the system continue to send mail from [email protected] .
I tryed everything. Please help me to reach my goal. How can I force the system to send mai from a specific sender?
Thanks all
Add these rules to /etc/postfix/generic replacing all with the real data used above for authentication.
root [email protected]
root@localhost [email protected]
root@freepbx [email protected]
[email protected] [email protected]
asterisk [email protected]
asterisk@localhost [email protected]
asterisk@freepbx [email protected]
[email protected] [email protected]
Add the following to the end of /etc/postfix/main.cf
smtp_generic_maps = hash:/etc/postfix/generic
Then run:
postmap /etc/postfix/generic
then
service postfix restart
1 Like
shillamus
(Shillamus)
October 5, 2015, 2:38pm
4
This was a very important ingredient in my quest to get voicemails emailed. Thanks for about sharing /etc/postfix.generic which maps the email addresses asterisk uses to the email you want to send with.
Look at the logs and see who the email is coming from. Voicemails were coming from [email protected] … this was mapped to [email protected] in the table in generic and the emails went through
jored1
(Jacob Burns)
July 12, 2018, 8:54pm
5
Some that were forgotten in the list (are there more we should know about?):
vm@asterisk [email protected]
[email protected] [email protected]
johnjces
(johnjces)
July 12, 2018, 11:45pm
6