Outbound email - Domain does not exist

One of our managers recently got a blackberry and instead of setting it up like everyone else, wants the email alerts for voicemail sent directly to the blackberry (everyone else checks the local work server).

The issue we have run into is that the blackberry mail server rejects the emails we send out. Until this point, we have had the name pbx.local assigned to the server (since our email server doesn’t care where it’s coming from).

We changed /etc/hosts and /etc/sysconfig/network to reflect a domain name with an external name

(ourdomain is where our actual domain goes :slight_smile: )

/etc/sysconfig/network is now

/etc/hosts now reads pbx.ourdomain.ca pbx.local localhost localhost.localdomain

I thought this to be correct, however, the asterisk mail log at /var/mail/asterisk reports the following line

Action: Failed
Status: 5.1.3
Diagnostic-Code; SMTP; 553 #5.1.8 Domain of sender address [email protected] does not exist.

I don’t want to create a DNS entry for pbx.ourdomain.ca. Is there a proper way to get it to send the email as [email protected]?

Thanks in advance.

Trevor Watson