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-30, 21:35:23

Author Topic: qmail problem cant receive mails  (Read 5137 times)

0 Members and 1 Guest are viewing this topic.

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
qmail problem cant receive mails
« on: 2014-03-15, 18:07:08 »
Hi guyz i need your help with qmail
suddenly cant receive mails at all..!

if i upgrade latest qmail then i have problem with qmail-remote and cant send.. if i downgrade qmail 2 times then send works but i cant receive mails with all versions tested...

What should i look ???

A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.36-1.ius.el5
   2. PHP: php53u-5.3.28-2.ius.el5
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.11-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.31.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
   7. Dns: bind-9.9.5-1.el5

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2560       1600        959          0          0        511
   -/+ buffers/cache:       1088       1471
   Swap:         2560          0       2560


*mailog doesnt have anything related to receive

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: qmail problem cant receive mails
« Reply #1 on: 2014-03-15, 18:18:24 »
ADD to spamdyke.conf
Code: [Select]
tls-certificate-file=/var/qmail/control/servercert.pem

then:

qmailctl stop;qmailctl start

* I am assuming you have spamdyke enabled, since this is normal reason for this problem.
« Last Edit: 2014-03-15, 18:31:39 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: qmail problem cant receive mails
« Reply #2 on: 2014-03-15, 18:31:16 »
Chris did that and also upgraded qmail and everything related to latest version... still all mails stuck on queue and nothing works.. also cant run qmail remote problem re apeared.. any other idea my friend ?

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: qmail problem cant receive mails
« Reply #3 on: 2014-03-15, 18:34:08 »
After upgrade try

sh /script/fixmail-all
sh /script/restart-mail
« Last Edit: 2014-03-15, 18:35:55 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: qmail problem cant receive mails
« Reply #4 on: 2014-03-15, 18:41:19 »
Tried all... Nothing works...
I also tried yum clean all; yum reinstall qmail*; yum update qmail*
yum reinstall *-toaster
restarted qmail... nothing...


  i have all mails stuck on mail queue.. Any other idea ? fix ?
« Last Edit: 2014-03-15, 18:50:12 by djscooby »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: qmail problem cant receive mails
« Reply #5 on: 2014-03-15, 18:49:45 »
Any errors in maillog?  What is the permission set to on /var/qmail/bin/qmail-remote?

Can you flush the queue?   Does mail resume as soon as you downgrade qmail?

Have you customized or changed anything relating to qmail configuration?
« Last Edit: 2014-03-15, 18:51:53 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: qmail problem cant receive mails
« Reply #6 on: 2014-03-15, 18:53:56 »
Try reboot.  I normally don't feel it neccessary, but last resort to try.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: qmail problem cant receive mails
« Reply #7 on: 2014-03-15, 19:03:14 »
/var/qmail/bin/qmail-remote is set to 755 group qmail owner root
if i downgrade i can send mails but i still cant receive and also new mails that arrive now doesnt show up at all in queue..

i tried after downgrade to flush but still all stucked in queue.


Please chris can u have a look on it if you have time... Do you want me to send u root credentials ?

Tried also rebooting a couple of times

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: qmail problem cant receive mails
« Reply #8 on: 2014-03-15, 19:05:34 »
if im not mistaken because its been a while without any problems i think i applyed this fix before some time :

Code: [Select]
cd /tmp
yum install perl-Mail-DKIM
wget http://cc-server1.us/dkimsign.pl
wget http://cc-server1.us/qmail-remote.new
cp dkimsign.pl /usr/bin/
chmod 755 /usr/bin/dkimsign.pl
qmailctl stop
mv /var/qmail/bin/qmail-remote /var/qmail/bin/qmail-remote.orig
cp qmail-remote.new /var/qmail/bin/qmail-remote
chown root:qmail /var/qmail/bin/qmail-remote
chmod 755 /var/qmail/bin/qmail-remote
rm /var/qmail/bin/qmail-queue
mv /var/qmail/bin/qmail-queue.orig /var/qmail/bin/qmail-queue
qmailctl start


but im not very sure of this... do you think its related on that ?

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: qmail problem cant receive mails
« Reply #9 on: 2014-03-15, 19:15:25 »
PM sent.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: qmail problem cant receive mails
« Reply #10 on: 2014-03-15, 19:39:12 »
Chris after doing
Code: [Select]
yum clean all
yum update
sh /script/cleanup
sh /script/restart-all

now mail queue unstucked finally !! But now when i send mail i get the known problem "unable to run qmail-remote" BUT i can receive mails normaly...

i cant understand where is the problem... Is this related to spamdyke ??

PS: i updated all the run files as you wrote regarding the spamdyke.conf

=======================

Update :

after downgrading qmail twice now mails work fine...
6. Qmail: qmail-toaster-1.03-1.3.31.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5
This is working the most recent and previous dont..

any idea chris ?
« Last Edit: 2014-03-15, 20:03:05 by djscooby »

Offline befree22

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-1
    • View Profile
Re: qmail problem cant receive mails
« Reply #11 on: 2014-03-19, 02:15:51 »
I'm too am unable to receive mail but I can send mail.
Also, there is NO mail queue in admin > Web Mail Database > Mail Queue and I've been sending mail for over 2 weeks now. Since there is no mail queue it difficult to troubleshoot the problem.

I only have qmail but @djscooby has qmail AND courier-imap in admin > servers > localhost > services

Do I have to install courier-imap to get incoming mail working?
I already ran @chris commands but problem persists.

Could you help me troubleshoot this problem?

I have same problem but let me know if I should create a new thread.

« Last Edit: 2014-03-19, 02:26:46 by befree22 »

 


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

Page created in 0.067 seconds with 21 queries.

web stats analysis