Voicemail emails delivered hours too late

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Voicemail emails delivered hours too late

Postby dspaan » Thu Dec 12, 2019 4:57 pm

We have a server where the voicemail to email feature is delayed. When callers leave a voicemail message the e-mail with .wav file is delivered hours later. I have ruled out the receiving e-mail box being the cause by testing with different email domains. Does anyone have an idea what might cause this?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Voicemail emails delivered hours too late

Postby blackbird2306 » Thu Dec 12, 2019 6:37 pm

Are there any errors or warnings in mail log corresponding to the communication with your email provider? Can you post your mail log only covering the delayed mail with the wav file. It could be a filtering/blacklist/spam problem with you email provider. Just ask them. Does it happen also to mails without attachment file?
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Voicemail emails delivered hours too late

Postby williamconley » Thu Dec 12, 2019 6:43 pm

Mai transport is based on postfix configuration if you are using postfix for delivery. But it is also dependent upon your route. If you are going through a system with a very limited bandwidth for email, a WAV file can take an inordinate amount of time to traverse to the destination and some intermediaries will limit the bandwidth on purpose to discourage abuse and reduce the impact on their pass-through systems. Plus, the reputation/configuration of mail permissions for the domains involved in the mail packge make a difference. If you are sending as "bob@emailmonkey.com" and your server's IP does not have explicit permission to send (Google "SPF email") email on behalf of emailmonkey.com, there can be delay or even (or eventually) a rejection based on that lack of permission. If you are going through a major email system such as google, they will often delay everything to see if you are about to spam everyone. You don't spam? they release after ... an hour or so.

You can set postfix to offload the email to a major mail relay (gmail, live, whoever) by using credentials and an actual mail account on that service to dramatically increase their belief that you are not spamming, but that may not remove any bandwidth chokes from ISPs in the way of the transport.

So: What transport are you using? What email path is in use?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Voicemail emails delivered hours too late

Postby dspaan » Fri Dec 13, 2019 6:28 am

Hi Bill,

I was searching hopelessly for an email log last night but couldn't find anything. We use the vicibox 8 default transport, i don't know if this is sendmail or postfix? How can i check this? I also read in the forums that this is basic asterisk functionality so i searched for that too and all i could find is that by default Asterisk uses sendmail and there should be a /var/log/maillog but it doesn't exist.

I also checked the spam score with https://www.mail-tester.com/ last time there was an issue and changed some things and the score was 7/10. I just tested now again and the testing service is not receiving the e-mail (yet).

On this server we did change /etc/asterisk/voicemail.conf to this:

Code: Select all
[general]
serveremail=no-reply@hostname.serverdomain.nl
emailbody=${VM_DATE},\n\nVoicemail voor ${VM_NAME}:\n\nTelefoonnummer: +${VM_CIDNUM}
fromstring=Serverdomain Voicemail
emailsubject=Nieuwe voicemail van: +${VM_CIDNUM}


Where it says hostname.serverdomain we have set the acual URL that this server resolves to.

We also changed:

/etc/postfix/main.cf

Code: Select all
mydomain=serverdomain.nl
myhostname = hostname.serverdomain.nl
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Voicemail emails delivered hours too late

Postby dspaan » Fri Dec 27, 2019 6:31 pm

Postback: After some help from Blackbird it turns out the voicemail zone for the voicemail box was set to a wrong country as well as the system settings voicemail zone. This caused a wrong time to be displayed in the received e-mail. So the e-mails were not delivered too late at all, the stamp was just wrong.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: Voicemail emails delivered hours too late

Postby williamconley » Tue Dec 31, 2019 3:07 pm

Great postback dennis 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 155 guests