Question: Email works - Voicemail messages not recieved

Hi.

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…

MAIL LOG
status=sent (250 2.0.0 OK 1645015615 z13sm7114956iox.21 - gsmtp)
Feb 16 07:46:55 freepbx postfix/qmgr[1503]: 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[26092]: C39D41825A424: uid=995 from=
Feb 17 10:07:44 sentry postfix/cleanup[32551]: C39D41825A424: message-id=[email protected]
Feb 17 10:07:44 sentry postfix/qmgr[1493]: C39D41825A424: from=[email protected], size=476, nrcpt=2 (queue active)
Feb 17 10:07:45 sentry postfix/local[32554]: 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[32553]: 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[32551]: 903E71825A425: message-id=[email protected]
Feb 17 10:07:46 sentry postfix/bounce[32555]: C39D41825A424: sender non-delivery notification: 903E71825A425
Feb 17 10:07:46 sentry postfix/qmgr[1493]: 903E71825A425: from=<>, size=2289, nrcpt=1 (queue active)
Feb 17 10:07:46 sentry postfix/qmgr[1493]: C39D41825A424: removed
Feb 17 10:07:46 sentry postfix/local[32554]: 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[1493]: 903E71825A425: removed
Feb 17 10:23:46 sentry postfix/pickup[26092]: 866081825A424: uid=995 from=
Feb 17 10:23:46 sentry postfix/cleanup[3172]: 866081825A424: message-id=[email protected]
Feb 17 10:23:46 sentry postfix/qmgr[1493]: 866081825A424: from=[email protected], size=500, nrcpt=1 (queue active)
Feb 17 10:23:47 sentry postfix/smtp[3174]: 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[1493]: 866081825A424: removed

Is this set to Yes?

Hi @PitzKey

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[1493]: 866081825A424: removed

Appreciate your support as I work through this

@PitzKey

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…
/usr/local/bin/htmlsend

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
Problem resolved

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.