I’m hoping someone can provide some assistance…
Currently I am able to send emails with no issues using Gmail as my external SMTP provider.
However I am not receiving my voice messages as an email…
I have the configuration setup for extensions but have do not receive an email with a voice message (messages are received on the phone). User config, extension config and Voicemail Admin seem to look okay.
I have checked my maillog (see below) and it looks like it’s sending the email…
status=sent (250 2.0.0 OK 1645015615 z13sm7114956iox.21 - gsmtp)
Feb 16 07:46:55 freepbx postfix/qmgr: F2D5E1825A423: removed
Is it possible that the email provider is blocking a port, or emails with attachments?
Thanks in advance for any guidance
Hi @ASPRA, welcome to the community!
Did you set in Voicemail Admin the correct from email? It must be the gmail address you are sending the emails from.
How did you setup your gmail SMTP on the PBX?
Is there any additional information in the maillog? Can you try to run:
tail -f /var/log/maillog
This should return a couple of lines, press enter a couple of times so there’s a notable space, leave a voicemail and see if you see any more details. If you do, please post it here.
Thank you @PitzKey
Appreciate the assistance.
I checked the voicemail admin to ensure its using the same email (re gmail).
FREEPBX setup using sysadmin module as follows
Use external SMTP server
Hostname: (left blank no entry)
My origin: sentry.spg.ca
My domain: spg.ca
Provider set to Gmail
User: [email protected] ( same as voicemail admin )
Pass: my gamil pass
Ran the mailog file and
Does not provide an update entry when I leave a voicemail message. However does provide an entry when I manually enter in linux (re sudo -u asterisk mail -s testemail [email protected]) also tried debug method using sysadmin and email was received.
Log file as follows…
Feb 17 10:07:44 sentry postfix/pickup: C39D41825A424: uid=995 from=
Feb 17 10:07:44 sentry postfix/cleanup: C39D41825A424: message-id=[email protected]
Feb 17 10:07:44 sentry postfix/qmgr: C39D41825A424: from=[email protected], size=476, nrcpt=2 (queue active)
Feb 17 10:07:45 sentry postfix/local: C39D41825A424: to=[email protected], orig_to=, relay=local, delay=0.36, delays=0.14/0.11/0/0.11, dsn=5.1.1, status=bounced (unknown user: “testemail”)
Feb 17 10:07:46 sentry postfix/smtp: C39D41825A424: to=[email protected], relay=smtp.gmail.com[2607:f8b0:4023:1402::6d]:587, delay=1.9, delays=0.14/0.3/0.74/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK 1645110466 q5sm2115832ilu.64 - gsmtp)
Feb 17 10:07:46 sentry postfix/cleanup: 903E71825A425: message-id=[email protected]
Feb 17 10:07:46 sentry postfix/bounce: C39D41825A424: sender non-delivery notification: 903E71825A425
Feb 17 10:07:46 sentry postfix/qmgr: 903E71825A425: from=<>, size=2289, nrcpt=1 (queue active)
Feb 17 10:07:46 sentry postfix/qmgr: C39D41825A424: removed
Feb 17 10:07:46 sentry postfix/local: 903E71825A425: to=[email protected], relay=local, delay=0.05, delays=0.03/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 17 10:07:46 sentry postfix/qmgr: 903E71825A425: removed
Feb 17 10:23:46 sentry postfix/pickup: 866081825A424: uid=995 from=
Feb 17 10:23:46 sentry postfix/cleanup: 866081825A424: message-id=[email protected]
Feb 17 10:23:46 sentry postfix/qmgr: 866081825A424: from=[email protected], size=500, nrcpt=1 (queue active)
Feb 17 10:23:47 sentry postfix/smtp: 866081825A424: to=[email protected], relay=smtp.gmail.com[2607:f8b0:4023:1401::6c]:587, delay=1.4, delays=0.09/0.03/0.75/0.52, dsn=2.0.0, status=sent (250 2.0.0 OK 1645111427 b6sm1964859ilq.26 - gsmtp)
Feb 17 10:23:47 sentry postfix/qmgr: 866081825A424: removed
I rechecked that setting apply config just to be sure and no updates occurred with the mail log still shows last entry as Feb 17 10:23:47 sentry postfix/qmgr: 866081825A424: removed
Appreciate your support as I work through this
Thanks you very much for you help on this. The product FREEPBX is fantastic and I was able to troubleshoot further with your assistance.
I discovered a custom script in my voicemail/settings/email config/ mail command as follows…
Once I removed this line and reappy config everything works great and I did recieve an email with my voicemail message
Thanks in advance.
P.s I’m on to figuring out why my domain provider is blocking emails from the system while gmail works with no issues. Any advice you can offer on this topic?
Check with them, they should be able to tell you why…
Thanks for your support @PitzKey
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.