Results 1 to 9 of 9

Thread: Problem with SMTP, Using Zimbra 8.0.7 FOSS, in Ubuntu Server 12.04

  1. #1
    nonosky is offline Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Rep Power
    1

    Default Problem with SMTP, Using Zimbra 8.0.7 FOSS, in Ubuntu Server 12.04

    Hi everybody, I am a Long time reader, first time poster,any thanks for the support all this years but today I got a little problem sending emails from my Zimbra server, I have done a few installations of ZCS before, and everything went smooth, and they are still Up and running, but with this one I have, give me a headache with outgoing mails, all goes deferred even if I re queue them, Internal or the same domain emails are the ones only being delivered.

    So here's my server scenario.

    Registered domain at godaddy.com, MX and A record Configure like the installations before. A goes to Public IP Address, MX goes to correo.cvisualgt.com
    Installed version ZCS Foss 8.0.7 in Ubuntu 12.04 Server

    My hosts file content

    Code:
    127.0.0.1 localhost.localdomain localhost
    186.151.165.206 correo.cvisualgt.com correo
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    Dig of cvisualgt.com any

    Code:
    ; <<>> DiG 9.8.1-P1 <<>> cvisualgt.com any
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46245
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;cvisualgt.com.			IN	ANY
    
    ;; ANSWER SECTION:
    cvisualgt.com.		3600	IN	NS	ns27.domaincontrol.com.
    cvisualgt.com.		3600	IN	NS	ns28.domaincontrol.com.
    cvisualgt.com.		3600	IN	SOA	ns27.domaincontrol.com. dns.jomax.net. 2014060900 28800 7200 604800 3600
    cvisualgt.com.		3600	IN	MX	10 correo.cvisualgt.com.
    cvisualgt.com.		600	IN	A	97.74.215.81
    
    ;; ADDITIONAL SECTION:
    ns28.domaincontrol.com.	61743	IN	A	208.109.255.14
    ns27.domaincontrol.com.	60463	IN	A	216.69.185.14
    
    ;; Query time: 132 msec
    ;; SERVER: 216.230.147.90#53(216.230.147.90)
    ;; WHEN: Sun Jun 15 13:48:56 2014
    ;; MSG SIZE  rcvd: 203
    The errors Iam Getting in /var/log/zimbra.log (Connection timed out or 550 Denied by policy.)
    Code:
    Jun 15 13:47:32 correo postfix/smtp[28844]: connect to alt1.gmail-smtp-in.l.google.com[173.194.75.26]:25: Connection timed out
    Jun 15 13:47:02 correo postfix/smtp[28849]: 2DDB618E1895: to=<bodega@genpowergt.com>, relay=correo.genpowergt.com[201.216.162.114]:25, delay=4255, delays=4254/0.02/0.21/0, dsn=4.0.0, status=deferred (host correo.genpowergt.com[201.216.162.114] refused to talk to me: 550 Denied by policy)
    Also, I am migrating from Google apps, so the account is still active, but all the incoming email its ok, I know that SMTP servers are completely independents.

    Thank you for your time, many thanks for the help!

  2. #2
    jorgedelacruz.es is offline Special Member
    Join Date
    May 2014
    Location
    Madrid
    Posts
    114
    Rep Power
    1

    Default

    Hi nonosky,
    If you try to execute a telnet correo.genpowergt.com 25, from your Zimbra server what response do you obtain?

    Also I don' understand domain genpowergt.com is yours? is it in the same Zimbra?

    Kind regards

  3. #3
    nonosky is offline Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Rep Power
    1

    Default

    Quote Originally Posted by jorgedelacruz.es View Post
    Hi nonosky,
    If you try to execute a telnet correo.genpowergt.com 25, from your Zimbra server what response do you obtain?

    Also I don' understand domain genpowergt.com is yours? is it in the same Zimbra?

    Kind regards
    Hi, thanks for your reply, here's the output. from Cvisual Server.

    Code:
    nonosky@correo:~$ telnet correo.genpowergt.com 25
    Trying 201.216.162.114...
    Connected to correo.genpowergt.com.
    Escape character is '^]'.
    550 Denied by policy
    Connection closed by foreign host.
    I guess the conection has failed.

    Yes, the domain genpowergt.com is another ZCS with the same ISP, in another location, but that server is running great.

    funny thing when I do a telnet for the cvisualgt.com domain. (from cvisualgt.com)

    Code:
    nonosky@correo:~$ telnet correo.cvisualgt.com 25
    Trying 186.151.165.206...
    Connected to correo.cvisualgt.com.
    Escape character is '^]'.
    220 correo.cvisualgt.com ESMTP Postfix

    I'm guessing the problems is my ISP?.

    Many thanks for the help.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by nonosky View Post
    I'm guessing the problems is my ISP?.
    I wouldn't think so, it works for me:

    Code:
    telnet correo.genpowergt.com 25
    
    Trying 201.216.162.114...
    Connected to correo.genpowergt.com.
    Escape character is '^]'.
    220 correo.genpowergt.com ESMTP Postfix
    ehlo fred
    250-correo.genpowergt.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    ^]
    telnet
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    nonosky is offline Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Rep Power
    1

    Default

    Quote Originally Posted by phoenix View Post
    I wouldn't think so, it works for me:

    Code:
    telnet correo.genpowergt.com 25
    
    Trying 201.216.162.114...
    Connected to correo.genpowergt.com.
    Escape character is '^]'.
    220 correo.genpowergt.com ESMTP Postfix
    ehlo fred
    250-correo.genpowergt.com
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    ^]
    telnet
    Yes, correo.genpowergt.com is running great, sends and receive without problem,
    the problem server is correo.cvisualgt.com, .

    and when i do any telnet, to another mail server i get the same error "connection timed out" or "denied by policy". from cvisualgt.com zimbra server.

    Thanks for your help.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    You might also want to take a look at something like this (or any of the other sites like that on the internet) and do some checks to see if all your DNS records and other necessary configurations are correct.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    nonosky is offline Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Rep Power
    1

    Default

    Thnks for that link, I ran a SMTP test for the domain cvisualgt.com It showed me one problem

    Code:
    SMTP Reverse DNS Mismatch	Warning - Reverse DNS does not match SMTP Banner
    this is more, info.

    Code:
    The hostname was not found in the reverse dns lookup.  In other words, the PTR for your server IP address (reverse lookup) does not match the DNS name (forward lookup).
    
    Some receiving mail servers may use this as an indication of a possible spam source in a scoring system.  Most will not reject incoming mail solely on this basis.  We recommend that you contact your ISP and ask them to setup a reverse (PTR) record that matches the hostname of your mail server.
    Also it was Blacklisted on 1 site over 87, so I called my ISP and they are "cleaning" the public IP address.

    Aditional to this I will attach my BIND configuration files and /etc/hosts.

    Code:
    127.0.0.1 localhost.localdomain localhost
    186.151.165.206	correo.cvisualgt.com correo
    
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    Code:
    ;
    ; BIND data file for local loopback interface
    ;
    $TTL	604800
    @	IN	SOA	localhost. root.localhost. (
    			      2		; Serial
    			 604800		; Refresh
    			  86400		; Retry
    			2419200		; Expire
    			 604800 )	; Negative Cache TTL
    ;
    @	IN	NS	correo.cvisualgt.com.
    206.165.151	IN	PTR correo.cvisualgt.com.
    ;
    Code:
    //
    // Do any local configuration here
    //
    
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    
    //configurar zona directa
    zone "cvisualgt.com"{
    	type master;
    	file "/etc/bind/db.cvisualgt.com";
    };
    
    //zona inversa
    zone "192.in-addr.arpa"{
    	type master;
    	file "/etc/bind/db.192";
    };
    Code:
    ;
    ; BIND data file for local loopback interface
    ;
    $TTL	604800
    @	IN	SOA	localhost. root.localhost. (
    			      2		; Serial
    			 604800		; Refresh
    			  86400		; Retry
    			2419200		; Expire
    			 604800 )	; Negative Cache TTL
    ;
    @	IN	NS	correo
    ;
    cvisualgt.com	IN	A	186.151.165.206
    correo		IN	A	186.151.165.206
    ;

  8. #8
    jorgedelacruz.es is offline Special Member
    Join Date
    May 2014
    Location
    Madrid
    Posts
    114
    Rep Power
    1

    Default

    Hi nonosky,
    You watched with your own eyes, when yo try to do a telnet trought port 25 from your server, the other one Denied you by Policy. A dummy question from my side, in correo.genpowergt.com server you will maybe create and forget the domain correo.cvisualgt.com or cvisualgt.com ?

    What do you obtain in the log in the server correo.genpowergt.com when you try to do your failed telnet trought 25 port?

    Kind regards

  9. #9
    nonosky is offline Junior Member
    Join Date
    Jun 2014
    Posts
    5
    Rep Power
    1

    Default

    Quote Originally Posted by jorgedelacruz.es View Post
    Hi nonosky,
    You watched with your own eyes, when yo try to do a telnet trought port 25 from your server, the other one Denied you by Policy. A dummy question from my side, in correo.genpowergt.com server you will maybe create and forget the domain correo.cvisualgt.com or cvisualgt.com ?

    What do you obtain in the log in the server correo.genpowergt.com when you try to do your failed telnet trought 25 port?

    Kind regards
    Hi, I checked the log, in correo.genpowergt.com (everything is OK in this server, just for testing) log is emtpy, cause the mail never leaves and get deferred in correo.cvisualgt.com (wich is the bad "server" outgoing email never leaves), in this one I get the following errors in the log.

    Code:
    Jun 16 08:27:52 correo postfix/smtp[8239]: connect to alt3.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
    Jun 17 00:03:28 correo postfix/smtp[10797]: 3642118E1B12: host gmail-smtp-in.l.google.com[74.125.196.26] refused to talk to me: 550 Denied by policy
    When I do a telnet 25 FROM genpowergt.com (good server) all domain telnet test connection go flawless like this.

    Code:
    telnet gmail.com 25
    Trying 173.194.37.117...
    Connected to gmail.com.
    Escape character is '^]'.
    quit
    Connection closed by foreign host.
    But, when I do it from cvisualgt.com (the bad outgoing server) ALL telnet's 25 tests fail except for the cvisualgt.com domain itself.

    Code:
    telnet correo.genpowergt.com 25
    Trying 201.216.162.114...
    telnet: Unable to connect to remote host: Connection timed out
    Code:
    telnet gmail.com 25
    Trying 173.194.37.117...
    Trying 173.194.37.118...
    Trying 2607:f8b0:4008:805::1016...
    telnet: Unable to connect to remote host: Network is unreachable
    Thanks for the support. very apreciated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 05-25-2012, 05:31 AM
  2. Zimbra FOSS on Ubuntu
    By breejesh in forum Administrators
    Replies: 3
    Last Post: 12-22-2010, 04:35 AM
  3. Replies: 24
    Last Post: 05-20-2008, 09:18 AM
  4. Moving from FOSS to NE server - mysql problem
    By zzzzsg in forum Administrators
    Replies: 5
    Last Post: 03-18-2008, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •