Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: jnkbcs on May 26, 2012, 07:34:53 pm

Title: Sending mail out
Post by: jnkbcs on May 26, 2012, 07:34:53 pm
Ok i have a domain that is registered at godaddy.com

Domain: jnkbcs.biz

I have configured the Zentyal Server as best i know how and i am getting the following error message:

   connect to alt4.gmail-smtp-in.l.google.com[173.194.67.27]:25: No route to host

Where do i need to start or what needs to be done first.
Title: Re: Sending mail out
Post by: christian on May 26, 2012, 08:06:30 pm
With such error message ("no route to host") I would start with network & gateways rather than mail  ???
What's about traceroute?
Title: Re: Sending mail out
Post by: jnkbcs on May 26, 2012, 08:20:13 pm
Ok attached is all my settings under network under core
Title: Re: Sending mail out
Post by: jnkbcs on May 26, 2012, 08:20:33 pm
And here is the last one
Title: Re: Sending mail out
Post by: christian on May 26, 2012, 10:53:15 pm
Well, this could be also because your provider blocks access via port 25 (I didn't pay enough attention to the error message previously)
Title: Re: Sending mail out
Post by: jnkbcs on May 27, 2012, 05:18:57 pm
How can I check to see if that is blocked?

Il look through google and see what I can find.
Title: Re: Sending mail out
Post by: jnkbcs on May 27, 2012, 05:31:33 pm
Ok i went to:
http://www.canyouseeme.org/ (http://www.canyouseeme.org/)

and this is my result:

Success: I can see your service on 108.244.112.63 on port (25)
Your ISP is not blocking port 25


I then opened a telnet session and here are the results:

telnet> open mail.jnkbcs.biz 25
Trying 108.244.112.63...
Connected to jnkbcs.biz.
Escape character is '^]'.
220 jnkbcsserv001 ESMTP Postfix (Ubuntu

not sure what else i need to do.

Title: Re: Sending mail out
Post by: acon on May 27, 2012, 06:37:56 pm
Ave you checked agaist RBL?
May be your mail is discarded?

Try http://www.anti-abuse.org/multi-rbl-check/
Title: Re: Sending mail out
Post by: jnkbcs on May 27, 2012, 07:33:00 pm
Checked and I am not in any of those lists

I am trying to mail out. I think incoming is fine.
Title: Re: Sending mail out
Post by: christian on May 27, 2012, 07:42:24 pm
problem is not to see YOU but to see alt4.gmail-smtp-in.l.google.com from your server.
While connected to your Zentyal server, can you telnet alt4.gmail-smtp-in.l.google.com on port 25?
Title: Re: Sending mail out
Post by: jnkbcs on May 29, 2012, 05:08:57 am
I get connection failed
Title: Re: Sending mail out
Post by: christian on May 29, 2012, 08:31:46 am
 8) which means that, most likely, your provider is blocking direct outgoing flow on port 25 (this to prevent spammers activity)
This also means that you have, again, most likely, to use your provider's MTA as smart relay...  ;)
Title: Re: Sending mail out
Post by: jnkbcs on May 29, 2012, 07:18:24 pm
I have AT&T dsl. How do I do that? And if that's the case how do I switch ports going out?  I am new to this so I'm learning as I go.
Title: Re: Sending mail out
Post by: jnkbcs on May 29, 2012, 07:41:07 pm
Did some reading and I noticed where some people suggested using smtp  tls ports like 465 and 587. How do I configure zentyal to use those?
Title: Re: Sending mail out
Post by: christian on May 30, 2012, 08:04:26 am
This basically doesn't work because it would require that:
- your ISP authorizes such port
- and ALL target MTA enable such port too.

Reason why you are blocked - assuming our analysis is correct - is that your provider blocks outgoing flow on port 25.
Trying to workaround using another port works only for servers using such port. Unfortunately, your provider blocks port 25 because this is the standard port for SMTP  ;)

Another aspect to be taken in account: port 587 is used from MUA connecting to MTA. Between MTAs, port 25 is used first and then TLS might be activated, for what I understand.

Is there any reason why you don't want to enable smart relay ???
Title: Re: Sending mail out
Post by: jnkbcs on May 30, 2012, 01:02:25 pm
I'm really new at this. Not sure how to do that. Will look this up and see how to implement it.
Title: Re: Sending mail out
Post by: christian on May 30, 2012, 01:14:49 pm
look at Zentyal mail settings. You will find there place to define smart relay.
Retrieve from your ISP his SMTP server information and put it there.
Title: Re: Sending mail out
Post by: jnkbcs on May 30, 2012, 01:19:22 pm
Could I use gmail? I have an account with them. How will that work coming back?
Title: Re: Sending mail out
Post by: christian on May 30, 2012, 01:43:21 pm
Try to listen to what I try to explain and if this is not clear, tell me, I'll try to rephrase it  ;)

If you want to send mail from Zentyal server and if your provider is blocking port 25, the only way is to use you provider's MTA as smart relay defined in Zentyal.  ::)
Title: Re: Sending mail out
Post by: jnkbcs on May 30, 2012, 01:48:52 pm
Ahhh gotcha. So I need to find out what MTA AT&T uses? Correct me if I am wrong
Title: Re: Sending mail out
Post by: christian on May 30, 2012, 02:06:36 pm
YES  ;D ;D you got it now!
I'm sure this is the one you use when you send mail with your mail client without Zentyal  ;)
Title: Re: Sending mail out
Post by: jnkbcs on June 13, 2012, 07:16:13 pm
I did some reading and i see where others are using smart relay. I will have to make a call to ATT to get those settings i presume?

If i sis that would the email leave as userid@jnkbcs.biz?


alos can i change the port from 25 to 26 incoming i can use port triggering or port forward?

I know its allot of questions to ask at once
Title: Re: Sending mail out
Post by: jnkbcs on June 13, 2012, 07:27:12 pm
ok i just tried to telnet in and getting port 25 Connect faild.

here is what i have:

ATT DSL to Netgear VPN firewall - Zentyal Box

on the netgear i have all ports for smtp and web forwarded. I can get to the web port 80 and https. I am stumped