System Admin - Email Sertup

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]
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]
asterisk [email protected]
[email protected] [email protected]
[email protected] [email protected]
[email protected] [email protected]

Add the following to the end of /etc/postfix/
smtp_generic_maps = hash:/etc/postfix/generic

Then run:
postmap /etc/postfix/generic
service postfix restart

1 Like

It works!!!

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

Some that were forgotten in the list (are there more we should know about?):

[email protected] [email protected]
[email protected] [email protected]

This might relate to an issue I reported.