Author Topic: Mitel MAS welcome emails not delivered  (Read 8509 times)

Offline capitalZ

  • Contributer
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Mitel MAS welcome emails not delivered
« on: October 02, 2012, 01:55:18 PM »
Hi everyone,

i have tried my hand at a mas setup, with the following info...
i have a domain xxx.local with an ip range 192.168.1.1 - 100 for pc users with dhcp ( email server resides here)
i have a mitel 3300 running in the later range of 192.168.1.101 - 200 outside the domain with sip router as gateway

ok so my server ( dell optiplex) has msl 9x  installed with a lan ip of 192.168.1.105 and gateway of the sip router, the wan ip is 10.0.0.1
which is my DMZ.
extra info, neither the icp or mas can send emails successfully....

what would prevent my welcome and voicemail emails from going through to recipients???? would i need to add them to the domain?
any ideas?



« Last Edit: October 02, 2012, 08:08:22 PM by ralph »


Offline Navarre

  • Jr. Member
  • **
  • Posts: 75
  • Karma: +0/-1
    • View Profile
Re: mas welcome emails not delivered
« Reply #1 on: October 02, 2012, 02:03:10 PM »
Could it be that most mail servers won't deliver email from domains like xxx.local ?

Offline capitalZ

  • Contributer
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: mas welcome emails not delivered
« Reply #2 on: October 02, 2012, 04:17:26 PM »
lol, thanks but xxx.local being any domain name.....

Offline martyn

  • Hero Member
  • *****
  • Posts: 688
  • Country: au
  • Karma: +10/-0
    • View Profile
Re: mas welcome emails not delivered
« Reply #3 on: October 02, 2012, 07:39:27 PM »
What ip addresses are allowed to relay mail through your mail server? If the relay allowed addresses have been locked down to only specified ip addresses then this will block mail from being sent.
Even so, if you telnet to port 25 from your mas server are you able to connect?

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: mas welcome emails not delivered
« Reply #4 on: October 02, 2012, 08:08:02 PM »
Can someone post a script to test port 25?
I forget the exact syntax of how to test an email but if we had something that we could paste into an open session on port 25 that would be useful.

Ralph

Offline martyn

  • Hero Member
  • *****
  • Posts: 688
  • Country: au
  • Karma: +10/-0
    • View Profile
Re: Mitel MAS welcome emails not delivered
« Reply #5 on: October 02, 2012, 08:13:05 PM »
Here is a useful link that I usually refer to.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Mitel MAS welcome emails not delivered
« Reply #6 on: October 02, 2012, 08:25:41 PM »
Thanks for the link martyn.

From what's there I put together a quick "how to".
(Not being where I can test this at the moment )

Basically you modify the options and telnet to your server on port 25 then cut and paste each line in one at a time.   Wait for a response for each one.

(putty should be able to do this)
Telnet <IP of mail server or FQDN of mail server> 25
=================================================
modify below then cut an paste to your telnet session
=================================================

HELO local.domain.name

MAIL FROM: VM@<VM IP Address>

RCPT TO: <email of sender>

DATA

This is sample text for body of email

.

QUIT

Offline acejavelin

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4100
  • Country: us
  • Karma: +133/-0
  • High-tech, heavy metal redneck!
    • View Profile
    • Like what I do and wanna help out? Send me a donation!
Re: Mitel MAS welcome emails not delivered
« Reply #7 on: October 11, 2012, 12:42:55 AM »
Here is a useful link that I usually refer to.
Actually, this link is a very bad way of testing, it is missing some parts of the ITU standard for SMTP, and using these instructions will cause some perfectly good, working configurations to appear to fail, in the standard to and from email addresses should be enclosed in <> brackets, although many (but not all) email servers will allow it without the brackets, newer MS Exchange servers require the brackets...

http://www.simplescripts.de/smtp-check-port-25-telnet-command.htm

SMTP Check Port 25 with the Telnet Command

You can check your SMTP Server on SMTP port 25 with the following Telnet command:

Open a command line and type

telnet smtp-server.domain.com 25

If your server is online a connection will be established on port 25 (SMTP).

An Exchange Server answers with the following output:

220 mailserver.domain.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at  Sat, 22 May 2006 08:34:14 +0200

When you type the ‘help’ command the available commands are listed:

214-This server supports the following commands:
214 HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ATRN ETRN BDAT VRFY

Try the following to send an eMail from the command line:   

220 mailserver.domain.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.5329 ready at  Sat, 22 May 2006 09:01:29 +0200
helo myserver.domain.com
250 mailserver.domain.com Hello [10.1.11.133]
mail from:<myname@mydomain.com>
250 2.1.0 myname@mydomain.com....Sender OK
rcpt to:<recipientname@mydomain.com>
250 2.1.5 recipientname@mydomain.com
data
354 Start mail input; end with <CRLF>.<CRLF>
subject: This is a test mail
to: recipientname@mydomain.com
This is the text of my test mail.
.
250 2.6.0 <exchange.domain.com> Queued mail for delivery
quit

If the mailserver returns a "syntax error" after the "mail from:" command, you've probably forgotten to put the mail address in brackets <>.

There are also several free tools you can use to test SMTP from a Windows PC, here are a few:

http://www.simplecomtools.com/productcart/pc/viewPrd.asp?idproduct=5&idcategory=5

http://download.cnet.com/SMTP-Test/3000-2383_4-10592177.html

http://www.softpedia.com/get/PORTABLE-SOFTWARE/Internet/Servers/Portable-SMTP-Tester.shtml
« Last Edit: October 11, 2012, 12:51:27 AM by acejavelin »

Offline capitalZ

  • Contributer
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Mitel MAS welcome emails not delivered
« Reply #8 on: October 25, 2012, 10:49:46 PM »
Hi, thanks all for ther info, so I was able to send myself and email which is my new bad habit,
I found that there were still a few port ranges blocked on the firewall. It seems to work now.
Thanks to all   


 

Sitemap 1 2 3 4 5 6 7 8 9 10