• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

problems with qmail

D

djalex

Guest
Hello @ all,

we have a grat problem with a server (suse 9.1) and Plesk psa v7.5.2_build75050204.16, the build of qmail is psa-qmail 1.03-suse9.1.build75050128.10.

It start yesterday, the server is ver very slow, the cpu is in use of 98 % and the ddr ram is in use of 97.67% at all the time. When i want to look in the direcory of qmail, the ssh client hang up (not on other server`s). The log file mail.info is per day larger then 100 MB!!! In the log file i can show many many mails who was sendet an rejected, here little cut from the log:

Feb 25 12:37:57 ws2 qmail: 1109335077.732817 info msg 8471343: bytes 9251 from <#@[]> qp 22789 uid 2522
Feb 25 12:37:58 ws2 qmail: 1109335078.303034 starting delivery 175376: msg 8471911 to remote [email protected]
Feb 25 12:37:58 ws2 qmail: 1109335078.303086 status: local 0/10 remote 1/20
Feb 25 12:37:58 ws2 qmail: 1109335078.634523 bounce msg 8473313 qp 22911
Feb 25 12:37:59 ws2 qmail: 1109335079.037451 end msg 8473313
Feb 25 12:37:59 ws2 qmail: 1109335079.038298 new msg 8471366
Feb 25 12:37:59 ws2 qmail: 1109335079.038348 info msg 8471366: bytes 9240 from <#@[]> qp 22901 uid 2522
Feb 25 12:37:59 ws2 qmail: 1109335079.887328 delivery 175376: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:37:59 ws2 qmail: 1109335079.887490 status: local 0/10 remote 0/20
Feb 25 12:38:00 ws2 qmail: 1109335080.068575 starting delivery 175377: msg 8473337 to remote anonymous@ XX.domain.de
Feb 25 12:38:00 ws2 qmail: 1109335080.068627 status: local 0/10 remote 1/20
Feb 25 12:38:00 ws2 qmail: 1109335080.319662 bounce msg 8471911 qp 22913
Feb 25 12:38:00 ws2 qmail: 1109335080.319719 end msg 8471911
Feb 25 12:38:00 ws2 qmail: 1109335080.350940 starting delivery 175378: msg 8471934 to remote anonymous@ XX.domain.de
Feb 25 12:38:00 ws2 qmail: 1109335080.350993 status: local 0/10 remote 2/20
Feb 25 12:38:00 ws2 qmail: 1109335080.351013 delivery 175377: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:00 ws2 qmail: 1109335080.351027 status: local 0/10 remote 1/20
Feb 25 12:38:00 ws2 qmail: 1109335080.746754 bounce msg 8473337 qp 22915
Feb 25 12:38:00 ws2 qmail: 1109335080.746809 end msg 8473337
Feb 25 12:38:00 ws2 qmail: 1109335080.747137 delivery 175378: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:00 ws2 qmail: 1109335080.747617 status: local 0/10 remote 0/20
Feb 25 12:38:00 ws2 qmail: 1109335080.808498 starting delivery 175379: msg 8473360 to remote anonymous@ XX.domain.de
Feb 25 12:38:00 ws2 qmail: 1109335080.808550 status: local 0/10 remote 1/20
Feb 25 12:38:01 ws2 qmail: 1109335081.977155 bounce msg 8471934 qp 22917
Feb 25 12:38:01 ws2 qmail: 1109335081.977564 end msg 8471934
Feb 25 12:38:02 ws2 qmail: 1109335082.245468 starting delivery 175380: msg 8471383 to remote anonymous@ XX.domain.de
Feb 25 12:38:02 ws2 qmail: 1109335082.245522 status: local 0/10 remote 2/20
Feb 25 12:38:02 ws2 qmail: 1109335082.245538 new msg 8470218
Feb 25 12:38:02 ws2 qmail: 1109335082.245562 info msg 8470218: bytes 9303 from <#@[]> qp 22690 uid 2522
Feb 25 12:38:04 ws2 qmail: 1109335084.308022 starting delivery 175381: msg 8473315 to remote anonymous@ XX.domain.de
Feb 25 12:38:04 ws2 qmail: 1109335084.308077 status: local 0/10 remote 3/20
Feb 25 12:38:04 ws2 qmail: 1109335084.308098 delivery 175379: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:04 ws2 qmail: 1109335084.389759 status: local 0/10 remote 2/20
Feb 25 12:38:04 ws2 qmail: 1109335084.389820 delivery 175380: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:04 ws2 qmail: 1109335084.390759 status: local 0/10 remote 1/20
Feb 25 12:38:04 ws2 qmail: 1109335084.390811 new msg 8471322
Feb 25 12:38:04 ws2 qmail: 1109335084.390839 info msg 8471322: bytes 9252 from <#@[]> qp 22785 uid 2522
Feb 25 12:38:05 ws2 qmail: 1109335085.183405 bounce msg 8473360 qp 22921
Feb 25 12:38:05 ws2 qmail: 1109335085.183462 end msg 8473360
Feb 25 12:38:05 ws2 qmail: 1109335085.184410 delivery 175381: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:05 ws2 qmail: 1109335085.184463 status: local 0/10 remote 0/20
Feb 25 12:38:05 ws2 qmail: 1109335085.701136 new msg 8471299
Feb 25 12:38:05 ws2 qmail: 1109335085.701191 info msg 8471299: bytes 9251 from <#@[]> qp 22795 uid 2522
Feb 25 12:38:06 ws2 qmail: 1109335086.052810 starting delivery 175382: msg 8473338 to remote anonymous@ XX.domain.de
Feb 25 12:38:06 ws2 qmail: 1109335086.052859 status: local 0/10 remote 1/20
Feb 25 12:38:06 ws2 qmail: 1109335086.097555 bounce msg 8471383 qp 22922
Feb 25 12:38:06 ws2 qmail: 1109335086.097612 end msg 8471383
Feb 25 12:38:06 ws2 qmail: 1109335086.098024 new msg 8471943
Feb 25 12:38:06 ws2 qmail: 1109335086.098189 info msg 8471943: bytes 9297 from <#@[]> qp 22801 uid 2522
Feb 25 12:38:07 ws2 qmail: 1109335087.392402 bounce msg 8473315 qp 22924
Feb 25 12:38:07 ws2 qmail: 1109335087.392456 end msg 8473315
Feb 25 12:38:07 ws2 qmail: 1109335087.392475 delivery 175382: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:07 ws2 qmail: 1109335087.392490 status: local 0/10 remote 0/20
Feb 25 12:38:07 ws2 qmail: 1109335087.392503 new msg 8473047
Feb 25 12:38:07 ws2 qmail: 1109335087.392517 info msg 8473047: bytes 9248 from <#@[]> qp 22875 uid 2522
Feb 25 12:38:07 ws2 qmail: 1109335087.934803 starting delivery 175383: msg 8473361 to remote anonymous@ XX.domain.de
Feb 25 12:38:07 ws2 qmail: 1109335087.934857 status: local 0/10 remote 1/20
Feb 25 12:38:08 ws2 qmail: 1109335088.355375 bounce msg 8473338 qp 22925
Feb 25 12:38:08 ws2 qmail: 1109335088.355433 end msg 8473338
Feb 25 12:38:08 ws2 qmail: 1109335088.920126 starting delivery 175384: msg 8473339 to remote anonymous@ XX.domain.de
Feb 25 12:38:08 ws2 qmail: 1109335088.920179 status: local 0/10 remote 2/20
Feb 25 12:38:08 ws2 qmail: 1109335088.920199 delivery 175383: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:09 ws2 qmail: 1109335089.789227 status: local 0/10 remote 1/20
Feb 25 12:38:09 ws2 qmail: 1109335089.789287 delivery 175384: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:09 ws2 qmail: 1109335089.817736 status: local 0/10 remote 0/20
Feb 25 12:38:09 ws2 qmail: 1109335089.951766 starting delivery 175385: msg 8473362 to remote anonymous@ XX.domain.de
Feb 25 12:38:09 ws2 qmail: 1109335089.951815 status: local 0/10 remote 1/20
Feb 25 12:38:10 ws2 qmail: 1109335090.783334 bounce msg 8473361 qp 22928
Feb 25 12:38:10 ws2 qmail: 1109335090.784214 end msg 8473361
Feb 25 12:38:10 ws2 qmail: 1109335090.784265 new msg 8471047
Feb 25 12:38:10 ws2 qmail: 1109335090.784282 info msg 8471047: bytes 9251 from <#@[]> qp 22720 uid 2522
Feb 25 12:38:11 ws2 qmail: 1109335091.510036 bounce msg 8473339 qp 22930
Feb 25 12:38:11 ws2 qmail: 1109335091.510095 end msg 8473339
Feb 25 12:38:11 ws2 qmail: 1109335091.510497 delivery 175385: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:11 ws2 qmail: 1109335091.510980 status: local 0/10 remote 0/20
Feb 25 12:38:11 ws2 qmail: 1109335091.511255 new msg 8471231
Feb 25 12:38:11 ws2 qmail: 1109335091.511404 info msg 8471231: bytes 9297 from <#@[]> qp 22730 uid 2522
Feb 25 12:38:12 ws2 qmail: 1109335092.082116 starting delivery 175386: msg 8473293 to remote anonymous@ XX.domain.de
Feb 25 12:38:12 ws2 qmail: 1109335092.082173 status: local 0/10 remote 1/20
Feb 25 12:38:12 ws2 qmail: 1109335092.112692 bounce msg 8473362 qp 22931
Feb 25 12:38:12 ws2 qmail: 1109335092.112747 end msg 8473362
Feb 25 12:38:12 ws2 qmail: 1109335092.114091 new msg 8470932
Feb 25 12:38:12 ws2 qmail: 1109335092.114259 info msg 8470932: bytes 9247 from <#@[]> qp 22759 uid 2522
Feb 25 12:38:13 ws2 qmail: 1109335093.056865 delivery 175386: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
Feb 25 12:38:13 ws2 qmail: 1109335093.056920 status: local 0/10 remote 0/20
Feb 25 12:38:13 ws2 qmail: 1109335093.056936 new msg 8463802

The XX.domain.de stand for our hostname.

We have cheked the Server an many test say that the server is NOT an open relay. What is going on wirth the server, we have all cheked and nothing have an effect:

-Shutting down qmail = no problem solving
-Shutting down Users = no problem solving
-Shutting down server for 1 Hour = no problem solving
-Restart Server = no problem solving

What shall we do?

In two day we have need more than 30 GB on trafik, it is too much for this an in the log we can`t see what or where do the problem or wherever it is.

Thank you for answers
 
Has someone found a solution for that problem?
I am really interested in fixing this issue.
 
The original post appears to have 2 issues. The first is Spam, the second is that his hostname xx.domain.de is not in the /var/qmail/control/locals file.

/var/qmail/control/locals should have all domains which are 'local' to the server listed one per line. The error message "Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/" indicates that xx.domain.de may be the hostname, but was not actually defined as a hosted domain in Plesk, so would have to be added to the locals file, and should probably be added to the /var/qmail/control/virtualdomains file as well, using the same prefix number as the "domain.de" domain.

For example, I have "mydomain.com" defined in Plesk, but I also have the hostname set in Linux as "ns.mydomain.com", so I had to edit the /var/qmail/control/virtualdomains file to show:

mydomain.com:2
ns.mydomain.com:2


where the prefix number is '2', I added the second line with the same number (separated by a colon). And actually I just checked, once I modified the virtualdomains file, I did not need to modify the locals file.

The spam issue is a whole different matter which is well covered in many many other posts...

Hope this helps.
 
Back
Top