I'm still somewhat new to SME and learning a lot each day, but have hit a roadblock here. I've googled the problem and have found a wide array of things, primarily with other linux based OS's with trixbox -- Any assistance would be much appreciated!
SME: 7.5.1SAIL: sail-2.6.1-11 Asterisk: 1.4.28 SME is installed in
Server + Gateway mode; it is behind a router and all traffic passes via SME box.
I am trying to forward my voicemail to a gmail account, but running into some problems.
I have an email account named "voicemail" established. Email (IMAP) to this account works on my local network.
In the "users tab" where user accounts are setup, I have selected "Both deliver locally and forward" - in the forward box, I included the gmail account.
Mail going to this gmail account bounces on my server and returns to admin - see below:
<username@gmail.com>:
Connected to 127.0.0.1 but sender was rejected.
Remote host said: 553 #5.1.8 Domain of sender address <anonymous@xxxxx.local> does not exist
--- Below this line is a copy of the message.
Return-Path: <anonymous@xxxxxx.local>
Received: (qmail 5890 invoked by uid 5003); 16 Jun 2011 17:46:42 -0000
Delivered-To: voicemail@machinename.xxxxxx.local
Received: (qmail 5885 invoked by alias); 16 Jun 2011 17:46:42 -0000
Delivered-To: alias-localdelivery-voicemail@domain.com
Received: (qmail 5881 invoked by uid 0); 16 Jun 2011 17:46:42 -0000
Date: Thu, 16 Jun 2011 13:46:42 -0400
From: "Voicemail" <voicemail@domain.com>
To: "NNNN" <voicemail@domain.com>
Subject: =?ISO-8859-1?Q?New_message_4_in_mailbox_NNNN_from_=22John Doe=22_?=
=?ISO-8859-1?Q?=3C8005551212=3E?=
Message-ID: <Asterisk-4-1826348085-6310-5188@machinename>
X-Asterisk-CallerID: 8885551212
X-Asterisk-CallerIDName: John Doe
notes:
1) xxxxxx = local domain name
2) A pseudonym (goes back to admin) does exist for anonymous - I believe this is a default.
3) The message delivers perfectly to the "voicemail@domain.com" account.
It appears it is my machine doing the rejection - the email doesn't even go any further. I am on a dynamic IP, but use DynDNS and a "mailhop" for outgoing e-mail.
Could this be something in my hosts file, as it is my machine rejecting it (127.0.0.1) ?
in /etc my hosts file is as follows:
#------------------------------------------------------------
# !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://www.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
127.0.0.1 localhost
192.168.1.1 MachineName.LocalDomain.local MachineName
I've done a google on this and have come up with a huge array of similar problems - many that point to the hosts file being the problem. ?
I use a "local only" domain as the primary domain on my box, i.e. mydomain.local and it is setup to resolve locally on manage domains tab. All of my true domains are listed there as well setup to resolve using internet DNS servers. (I use openDNS)
Any help would be kindly appreciated.
W0X0F