MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: cmdman on 2014-01-27, 06:34:00

Title: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 06:34:00
hi MR..

i just purchased cloudfare pro service for my domain and moved to cloudfare everything works fine, but all mails stuck in queue..

please anything i need to change to mail to work..
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 06:46:26
To know what's you doing for dns setting, inform here your dns setting for your domain.

Another possibility for 'mail queue' is wrong setting for 'hostname'.

Read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-setup-qmail-on-kloxo-mr/
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 07:03:48
how to get dns setting from MR panel
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 07:27:39
Domains > (select domain) > manage dns
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 07:42:39
i taken screenshot.
(http://i.imgur.com/LAlJypA.png)
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 07:45:34
Click 1 of email in 'mail queue' and you will see what's happen until 'queue'.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 07:46:56
BTW, try update your VPS with 'yum clean all; yum update; sh /script/cleanup'.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 08:03:02
Quote
BTW, try update your VPS with 'yum clean all; yum update; sh /script/cleanup'.

after this mysite crashed its open blank page ok i solved it ,, but stilll mails in queue
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 08:08:50
Update will not fix mail queue. Like I said before, go to 'mail queue' and click 1 queue and then you will see what's happens.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 08:10:43
Log
Quote
Jan 27 02:01:18 server12 send: 1390806078.635640 delivery 2: deferral: Connected_to_187.45.217.20_but_my_name_was_rejected./Remote_host_said:_504_5.5.2_<webmail>:_Helo_command_rejected:_need_fully-qualified_hostname/

Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 08:21:46
So, look like your hostname is bad.

Modified your hostname in your VPS panel (virtualizor/SolusVM/others) with format 'subdom.domain.com'.

For example, this forum hosting in VPS with:
Code: [Select]
> hostname -f; hostname -s; cat /etc/hosts
dev.potissima.com
dev
127.0.0.1               localhost.localdomain localhost
### begin - add by Kloxo-MR
46.105.49.194 dev.potissima.com dev
### end - add by Kloxo-MR

So, you can run 'hostname -f; hostname -s; cat /etc/hosts' to know about your hostname.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 08:26:41
so what you want me to change host name


Quote
[root@server12 script]# hostname -f
server12.mydomain.com
[root@server12 script]# hostname -s
server12
[root@server12 script]#
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 08:28:16
hostname like ok but maybe need modified /etc/hosts.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 08:28:56
After that. run 'sh /script/fixmail-all; sh /script/restart-all'.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-27, 08:29:25
host file info

Quote
### begin - add by Kloxo-MR
### end - add by Kloxo-MR

127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
21.250.37.244 server12.mydomain.com  server12
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@server12 script]#
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-27, 08:32:41
Try click 'flush' in 'mail queue' after running fixmail-all and restart-mail.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 06:15:48
if i send mail to 50 users  and out of 50 10 mails are getting below error..

Quote

Hi. This is the qmail-send program at webmail.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<enyd_vey@hotmail.com>:
User and password not set, continuing without authentication.
55.55.47.504 does not like recipient.
Remote host said: 550 Requested action not taken: mailbox unavailable
Giving up on 55.45.47.144.

--- Below this line is a copy of the message.



Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 06:18:30
I think 'Remote host said: 550 Requested action not taken: mailbox unavailable' is clear. That mean no account on target.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 06:22:24
how abt this error...

Quote
Hi. This is the qmail-send program at webmail.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<tererel@trance.net>:
User and password not set, continuing without authentication.
54.217.238.188 does not like recipient.
Remote host said: 504 5.5.2 <webmail>: Helo command rejected: need fully-qualified hostname
Giving up on 54.217.238.188.

--- Below this line is a copy of the message.

Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 06:23:50
this error..

Quote

Hi. This is the qmail-send program at webmail.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<yesnker_2222@rediffmail.com>:
User and password not set, continuing without authentication.
119.252.147.10 does not like recipient.
Remote host said: 553 sorry, invalid HELO hostname (#5.7.1)
Giving up on 119.252.147.10.

--- Below this line is a copy of the message.


Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 06:28:44
Have you modified hostname according FQDN (also fixmail) ?. If yes, are you sure where above mails sending after modified hostname?.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 06:37:23
this is my hosts file.

Quote
### begin - add by Kloxo-MR
### end - add by Kloxo-MR

127.0.0.1 localhost.localdomain localhost localhost4.localdomain4 localhost4
# Auto-generated hostname. Please do not remove this comment.
45.57.319.55 mail.mydomain.com  mail
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6


my host names

Quote
[root@mail ~]# hostname -f
mail.mydomain.com
[root@mail ~]# hostname -s
mail
[root@mail ~]#
[/quote
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 06:42:46
Did gmail/yahoo inform the same error?. And are sure your target mail server setting up perfectly (no bug in applications and no wrong setting)?.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 06:44:19
Also your 'mail.mydomain.com' able to ping?.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 06:46:53
no gmail and yahoo mails is reaching .. mainly other domains


yes iam able to ping to my mx ip and even i tested with dnsstuff 
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 09:41:41
Ok, send your ssh and kloxo-mr panel access to my PM.

I want to know what's wrong.
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 10:51:23
anything wrong with this..

Quote
Received: from 127.0.0.1  (EHLO webmail) (45.57.229.123)

can tell me under /var/qmail/control/me   what should be there for now webmail  or my domain
same follows 2./control/defaulthost /control/defaultdomain ..

Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: MRatWork on 2014-01-28, 12:02:56
defaultdomain = me = hostname
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 12:11:08
i mean to what should be there in side that 3 files .... now i can(webmail) inside ..

do i need to change to my domain name or hostname etc..
Title: Re: all mails stuck in queue after moving my server to Cloudfare pro
Post by: cmdman on 2014-01-28, 12:48:27
ok thanks.. i resolved the problem

i changed the myname under server mail settings to my FQDN and rebooted server , mail sent to domain and its gone..