Voicemail's Email notification breaks

Hi all,

I’m very new to asterisk but I’ve been asigned the task to make the voicemail work in my company.

We used to have it running perfectly in an older version of asterisk (I don’t know the version number right now), but for some reason we had to move to a different server, either way, when we did we just copied the VM configuration file into the new asterisk and hence we got it working… sort of.

For some reason, the email breaks on the header level, which happens to break the whole thing, including the wav file that’s attached, which is presented as some huge blob of text.

Any help or pointers that you can provide me will be very much appreciated.

Thanks in advance,

Roderick Smith

I’ve come to the conclusion that there’s an invalid character between the date header and the From header, but I don’t know how to modify the FROM header for this mail.

Anyone has a clue?

Alright I have narrowed the error to this.

The headers on the notification email are ending the lines with \r\n and my server is not compatible with this newline format, instead I need to use \n.

Anyone has a clue on how to change this setting?