Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 08:18:09

Author Topic: Cannot Receive emails on any account  (Read 8319 times)

0 Members and 1 Guest are viewing this topic.

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Cannot Receive emails on any account
« on: 2016-01-29, 15:09:27 »
Hi,
My Kloxo cannot receive any email from any external server.

This is done: Make sure content of '/var/qmail/control/locals' only 'localhost' and then reboot.
Also This: run 'sh /script/fixmail-all'
and I use php_fpm_event

I can send email from my server to any other server successfully.

Current Version:   6.5.0.f-2015083001
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #1 on: 2016-01-29, 15:14:05 »
Information here 'hostname; hostname -s'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #2 on: 2016-01-29, 21:11:16 »
[root@server1 control]# hostname
server1.techroom.ir
[root@server1 control]# hostname -s
server1

Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #3 on: 2016-01-30, 00:18:58 »
Check your domain vis mxtoolbox.com. Maybe something wrong. Also check 'mail queue' in Kloxo-MR panel. Delete mail in list if exists or run 'sh /script/mailqueue -D' from ssh.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #4 on: 2016-01-30, 06:47:37 »
mx test show 1 error:
dmarc   mahansocial.ir   Missing or Invalid Record

Transcript: Connecting to 149.202.20.238
Transcript:
Transcript: SendSMTPCommand: You hung up on us after we connected. Please whitelist us. (connection lost)
Transcript:
Transcript: PWS3v2 1047ms
Transcript:

I have nothing in mail queue
There is not any file like mailqueue in the script folder or anything like that.
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #5 on: 2016-01-30, 10:13:18 »
Go to 'mail auth' in your domain. Set to enable SPF and DMARC.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #7 on: 2016-01-30, 10:18:11 »
Also check your domain to intodns.com.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #8 on: 2016-01-30, 17:25:11 »
I do all
I cannot find any problem, even when I connect trough telnet from ssh, all ports connect successfully.
just when I use Port 25 it connect and close immediately.
Code: [Select]
[root@server1 bin]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

I checked domain by intodns.com and there is a problem:
Code: [Select]
Reverse MX A records (PTR)
ERROR: No reverse DNS (PTR) entries. The problem MX records are:
238.20.202.149.in-addr.arpa -> no reverse (PTR) detected
You should contact your ISP and ask him to add a PTR record for your ips

should I really contact ISP? Can I fix it?
Is the problem relevant to this problem?

Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #9 on: 2016-01-30, 17:27:52 »
Ask to your provider to setup reversedns for your server.

Make sure port 25 open in your server and in provider router.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #10 on: 2016-01-30, 17:34:42 »
port 25 is close from out of server.
can I open it from ssh or kloxo cp?

I asked ISP for reverse DNS
Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #11 on: 2016-01-30, 17:49:00 »
In inside, port 25 already open if qmail running.

To make sure, try 'yum reinstall *-toaster -y; sh /script/fixmail-all; sh /script/restart-mail -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #12 on: 2016-01-30, 18:07:56 »
My Domain: mahansocial.ir

I did, but not solved. Reverse DNS not added still (if it is critical)

In inside, port 25 already open if qmail running.

sh /script/fixmail-all

Code: [Select]
[root@server1 ~]# sh /script/fixmail-all

Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
--------------------------
Reset Qmail Assign for domains (also rcpthosts and virtualdomains)
- assign for 'mahansocial.ir'
- rcpthosts/morercpthosts for 'mahansocial.ir'
- virtualdomains for 'mahansocial.ir'
- assign for 'erm-demo.mahansocial.ir'
- rcpthosts/morercpthosts for 'erm-demo.mahansocial.ir'
- virtualdomains for 'erm-demo.mahansocial.ir'
...
...
...
- assign for 'new.mahansocial.com'
- rcpthosts/morercpthosts for 'new.mahansocial.com'
- virtualdomains for 'new.mahansocial.com'
--------------------------

- For help, type '/script/fixmail --help'
- No argument supplied. Defaulting to localhost (master) servers

Fixing Mail accounts (also 'lists' if exists)
- 'postmaster@dev.mahansocial.ir' ('ali.divani') at 'localhost'
...
...
...
- 'admin@mahansocial.ir' ('admin') at 'localhost'

--------------------------
--------------------------
Horde webmail no exists
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Database installed
Initialize Roundcube files
- Initialize process
T-Dah webmail no exists
Preparing Afterlogic database
- Fixing MySQL commands in import files
cp: cannot stat `/home/kloxo/httpd/webmail/afterlogic/data/settings/afterlogic_settings.xml': No such file or directory
cp: cannot stat `/data/settings/afterlogic_settings.xml': No such file or directory
- Generating password
- Add Password to configuration file
- Database installed
Initialize Afterlogic files
- Initialize process
Preparing Squirrelmail Database
- No need database
Initialize Squirrelmail files
- Initialize process
Preparing Telaen Database
- No need database
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.php': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.languages.php': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/telaen/inc/config/telaen_config.security.php': No such file or directory
Initialize Telaen files
- Initialize process
Install Webmail chooser
- Install process

[root@server1 ~]#

Mohsen RooholAmin
Sepehr Mahan Co

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cannot Receive emails on any account
« Reply #13 on: 2016-01-30, 18:12:40 »
Only provider can set reversedns (except if their vps panel have this feature).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mohsenrag

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • Social Netwrok @ Your Company
Re: Cannot Receive emails on any account
« Reply #14 on: 2016-01-31, 10:18:06 »
Hi,
The Service Provider do Reverse DNS and I Checked it in intodns.com,
But I cannot receive any email.
Also in the mail queue I have not anything,
I define mail forward for some of email account, no chance.

I'm Really Worry
« Last Edit: 2016-01-31, 10:21:25 by mohsenrag »
Mohsen RooholAmin
Sepehr Mahan Co

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.03 seconds with 21 queries.

web stats analysis