Hi,
I noticed I’m not getting the MFA e-mail to set up MFA for my user account. I had this issue before and somehow got the e-mail to work but it had went to Spam. We use Amazon SES, and had it working before, but it seems this is what happens: When I use e-mail debug, it sends with the domain specified in My Origin of System Admin → Email Setup. However, when I use PBX MFA, it just ignores that and sends using the hostname of the device, not the hostname set in settings. Amazon isn’t using that information so it rejects. Here, using replacements for domains as %MY_ORIGIN% and %MY_HOSTNAME%, are the logs from e-mail debug. You can see it works when I do my test e-mail, but fails when PBX MFA tries to send me an e-mail to config.
2025-09-02T13:22:44.875784-05:00 pbx3 postfix/pickup[3612756]: D58F912A020D: uid=999 from=<asterisk>
2025-09-02T13:22:44.876513-05:00 pbx3 postfix/cleanup[3612888]: D58F912A020D: message-id=<20250902182244.D58F912A020D@%MY_HOSTNAME%>
2025-09-02T13:22:44.879584-05:00 pbx3 postfix/qmgr[3612757]: D58F912A020D: from=<asterisk@%MY_ORIGIN%>, size=463, nrcpt=1 (queue active)
2025-09-02T13:22:45.630622-05:00 pbx3 postfix/smtp[3612890]: D58F912A020D: to=<tom@%MY_ORIGIN%>, relay=email-smtp.us-east-1.amazonaws.com[3.224.1.122]:587, delay=0.76, delays=0.01/0/0.52/0.23, dsn=2.0.0, status=sent (250 Ok 010001990baac717-4136e1c6-1737-4f69-82b3-f9423d555e19-000000)
2025-09-02T13:22:45.631069-05:00 pbx3 postfix/qmgr[3612757]: D58F912A020D: removed
2025-09-02T13:23:02.740600-05:00 pbx3 postfix/pickup[3612756]: B4AFC12A020E: uid=999 from=<asterisk@%MY_HOSTNAME%>
2025-09-02T13:23:02.741268-05:00 pbx3 postfix/cleanup[3612888]: B4AFC12A020E: message-id=<68b73606aecb7@%MY_HOSTNAME%>
2025-09-02T13:23:02.742955-05:00 pbx3 postfix/qmgr[3612757]: B4AFC12A020E: from=<asterisk@%MY_HOSTNAME%>, size=7014, nrcpt=1 (queue active)
2025-09-02T13:23:03.440819-05:00 pbx3 postfix/smtp[3612890]: B4AFC12A020E: to=<tom@%MY_ORIGIN%>, relay=email-smtp.us-east-1.amazonaws.com[54.157.237.25]:587, delay=0.71, delays=0.01/0/0.52/0.17, dsn=5.0.0, status=bounced (host email-smtp.us-east-1.amazonaws.com[54.157.237.25] said: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: asterisk@%MY_HOSTNAME% (in reply to end of DATA command))
2025-09-02T13:23:03.443191-05:00 pbx3 postfix/cleanup[3612888]: 6BD0A12A020F: message-id=<20250902182303.6BD0A12A020F@%MY_HOSTNAME%>
2025-09-02T13:23:03.446018-05:00 pbx3 postfix/qmgr[3612757]: 6BD0A12A020F: from=<>, size=9413, nrcpt=1 (queue active)
2025-09-02T13:23:03.446674-05:00 pbx3 postfix/bounce[3613012]: B4AFC12A020E: sender non-delivery notification: 6BD0A12A020F
2025-09-02T13:23:03.446887-05:00 pbx3 postfix/qmgr[3612757]: B4AFC12A020E: removed
2025-09-02T13:23:03.451280-05:00 pbx3 postfix/local[3613013]: 6BD0A12A020F: to=<asterisk@%MY_HOSTNAME%>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
2025-09-02T13:23:03.451583-05:00 pbx3 postfix/qmgr[3612757]: 6BD0A12A020F: removed
I am using the same method as this guy: Email configuration using AWS - SES