Below is the mail header showing the path that it follows. It first starts from a 127.0.0.1 (local host) and is then forwarded to a second SMTP relay of dyndns.org but with the private IP of the server and then as the third stop it enters my exchange border server. My Exchange server is configured to allow for relay from the PBXIAF ip. What I would like to do is to either have Asterisk use my border server as its first hop and eliminate both first hops or to at the minimum have it be the second hop. Since I send mail externally to the domain at some times, I am having trouble with rejections (probably being detected as SPAM) and I want to reduce the hops and have my exchange border do the sending because it is properly configured (reverse DNS, registered server et al) for sending mail and rarely gets rejected. I also need to add a significant signature to the outgoing mail (both a disclaimer and more intentionally a good bit of text to eliminate any appearance of the email being SPAM and having a good signature really helps avoid most heuteristic detection apps) for the same reason as well as to make it appear more professional. Anyway, that is why I keep asking where the email is originated from (PBXIAF, FreePBX or Asterisk) and where sendmail fits into the picture. I also have in webmin only something called "procmail filter" and no entry for sendmail as some of the post say I should have. I did add to and regerate the sendmail cf file and that is in place and the below mail trace is after that is in place. Thanks again for your help... it is really appreciated.
Microsoft Mail Internet Headers Version 2.0
Received: from assi-wpb-dmz-02.assinet.com ([10.1.1.49]) by ASSI-WPB-EMS-01.assinet.com with Microsoft SMTPSVC(6.0.3790.4675);
Fri, 10 Dec 2010 15:28:11 -0500
Received: from pbx.dyndsn.org ([10.1.1.101] RDNS failed) by assi-wpb-dmz-02.assinet.com with Microsoft SMTPSVC(6.0.3790.4675);
Fri, 10 Dec 2010 15:28:11 -0500
Received: from pbx.dyndsn.org (pbx.dyndsn.org [127.0.0.1])
by pbx.dyndsn.org (8.13.8/8.13.8) with ESMTP id oBAKS9Z6006406
for <
[email protected]>; Fri, 10 Dec 2010 15:28:09 -0500
Received: (from
root@localhost)
by pbx.dyndsn.org (8.13.8/8.13.8/Submit) id oBAKS9pZ006405;
Fri, 10 Dec 2010 15:28:09 -0500
Date: Fri, 10 Dec 2010 15:28:09 -0500
From: "ASSI Voicemail" <
[email protected]>
To: "Rob Huseman" <
[email protected]>
Subject: [PBX]: New message 1 in mailbox 2206
Message-ID: <
[email protected]>
X-Asterisk-CallerID: 5700
X-Asterisk-CallerIDName: Rob Huseman
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----voicemail_122063006938850611"
Return-Path:
[email protected]
X-OriginalArrivalTime: 10 Dec 2010 20:28:11.0714 (UTC) FILETIME=[C3CD7220:01CB98A8]