Sven Jacobs
2007-May-08 00:04 UTC
[asterisk-users] Bug in voicemail module of Asterisk 1.4.2?
Dear users, I think I may found a bug in the voicemail module of Asterisk 1.4.2! Outgoing email notifications should use a real existing domain (let's call it domain.real) instead of the local domain (domain.local) so that some mail servers won't reject the mails. That's why I've set the serveremail option in voicemail.conf to asterisk@domain.real. Unfortunately Asterisk is always sending these mails with the sender asterisk@hostname regardless of the serveremail option. I was able to at least change this behavior to asterisk@hostname.domain.local by changing the line 192.168.100.1 hostname.domain.local hostname in /etc/hosts to 192.168.100.1 hostname.domain.local but not any further. I don't think this is a bug of the MTA (exim4) because sending mails via mutt does work, the emails are sent by username@domain.real then.
Per Jessen
2007-May-08 00:47 UTC
[asterisk-users] Bug in voicemail module of Asterisk 1.4.2?
Sven Jacobs wrote:> Dear users, > > I think I may found a bug in the voicemail module of Asterisk 1.4.2! > > Outgoing email notifications should use a real existing domain (let's > call it domain.real) instead of the local domain (domain.local) so > that some mail servers won't reject the mails. That's why I've set the > serveremail option in voicemail.conf to asterisk@domain.real. > Unfortunately Asterisk is always sending these mails with the sender > asterisk@hostname regardless of the serveremail option.You fix that in your mail-server with aliasing and/or canonicalising. I think the Asterisk behaviour is correct. It is similar to receiving an email from cron or some other daemon. That is sent from "cron@hostname", which is fine for your internal purposes, but if you send it out externally, you'll need to map it to a external address. /Per Jessen, Z?rich -- ENIDAN Technologies GmbH - managed email security. Starting at SFr1/month/user - http://www.spamchek.ch/