LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-05-2007, 04:22 PM   #1
Equin
Member
 
Registered: Oct 2004
Location: Merrimack, NH
Distribution: Ubuntu / Apple
Posts: 46

Rep: Reputation: 15
Sendmail and SMTP relay + Asterisk


Heya everybody,

Let me give a quick overview of what I am doing here. I have an A server running Linux (CentOS) and Asterisk. There are a few other services running to support it such as Apache, OpenSSH, Sendmail, etc. This server accepts all of our analog phone lines, and creates a phone system that our internal IP phones can connect to.

What I am now setting up is a simple system that emails and/or pages one of our employees when they recieve a voicemail message. Asterisk is built to do this by default - it simply uses Sendmail to send mail from itself (Which by default is something like asterisk1.local, I have reconfigured this to be our own domain and hostname). For the most part, this works just fine - Problem is, since it is sending messages directly, some of the emails are being rejected - for example if an employee wishes to have the alert sent to a Comcast account. It is being rejected because the server is behind a firewall on a NAT, with a 192.168.x.x address. The Comcast server will see the 208.65.xxx.xxx address of our NAT, which reverses to something like eth2.mhtxxxx.xxxx.perusesoftware.net - So naturally, the connection is rejected

What I need to do to make this work, is force the server to relay mail through my existing mail server - which is mail.perusesoftware.net. This server requires SMTP authentication even if the domain is local, and several other security measures. Because this server has its own fully routable IP, and a proper reverse to go along with it, it has no issues sending messages.

So to simplify my ranting - I need to know how to make Sendmail relay through another existing email server - this server will require SMTP authentication credentials to be provided by the Asterisk box running Sendmail (I believe it is often refered to as a "smart server")

Thanks a bunch,
-Equin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help in getting sendmail to relay using smtp-auth coolamit78 Linux - Networking 4 01-17-2007 11:20 AM
SMTP "open relay" and SMTP AUTH aikempshall Linux - Security 3 10-11-2006 08:19 AM
sendmail to relay smtp to exchange inaki Linux - Software 1 04-02-2006 08:36 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration