sendmail через форму обратной связи отправляет, на яндексе письмо появляется. на gmail копия не доходит, IP в спам листах. Я думаю что с яндекса дошлоб...
Как я понял проблема связана с тем, что для сервера, на котором расположен сайт, домен является локальным, поэтому сервер пытается отправить письма во внутреннюю директорию не смотря на MX записи.
PHP Mail - письмо на яндексе (регистрировал пользователя на сайте с почтой gmail)
Mail delivery failed: returning message to sender Распечатать сегодня в 10:47 Mail Delivery System <Mailer-Daemon@mihanja80.com>
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
c****hamiha@gmail.com SMTP error from remote mail server after end of data: host gmail-smtp-in.l.google.com [173.194.70.26]: 550-5.7.1 [78.47.176.56 1] Our system has detected an unusual rate of 550-5.7.1 unsolicited mail originating from your IP address. To protect our 550-5.7.1 users from spam, mail sent from your IP address has been blocked. 550-5.7.1 Please visit http://www.google.com/mail/help/bulk_mail.html to review 550 5.7.1 our Bulk Email Senders Guidelines. r4si7163415eem.15 - gsmtp
------ This is a copy of the message, including all the headers. ------
Return-path: <a***n@videorip.info> Received: from mihanja80 by mihanja80.com with local (Exim 4.63) (envelope-from <a***n@videorip.info>) id 1UWMK6-0000SB-NS for c****miha@gmail.com; Sun, 28 Apr 2013 09:47:02 +0200 To: c*****miha@gmail.com Subject: =?utf-8?B?0J/QsNGA0LDQvNC10YLRgNGLINGD0YfQtdGC0L3QvtC5INC30LDQv9C40YE=?= =?utf-8?B?0Lgg0LTQu9GPIGFhYWFhINC90LAg0YHQsNC50YLQtSDQnNC10LHQtdC7?= =?utf-8?B?0Ywg0LIg0JrQvtCy0LXQu9C1?= Date: Sun, 28 Apr 2013 10:47:02 +0300 From: =?utf-8?B?0JzQtdCx0LXQu9GMINCyINCa0L7QstC10LvQtQ==?= <a***n@videorip.info> Reply-to: =?utf-8?B?0JzQtdCx0LXQu9GMINCyINCa0L7QstC10LvQtQ==?= <a***n@videorip.info> Message-ID: <275784605fe1769e72e353ac15dfbee7@ko***bel.com.ua> X-Priority: 3 X-Mailer: PHPMailer 5.2 (http://code.google.com/a/apache-extras.org/p/phpmailer/) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8"
Здравствуйте, *****,
Благодарим вас за регистрацию на сайте *****
взломали сайт, рассилали спам. письмо идет с моего IP?
Тест (limit_conn cglob 20; в nginx. Joomla session -> Xcache):
[****@mihanja80 ~]# ab -n 1000 -c 50 http://www.videorip.info/index.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Concurrency Level: 50
Time taken for tests: 1.312426 seconds
Complete requests: 1000
Failed requests: 10
(Connect: 0, Length: 10, Exceptions: 0)
Write errors: 0
Non-2xx responses: 990
Total transferred: 939023 bytes
HTML transferred: 765433 bytes
Requests per second: 761.95 [#/sec] (mean)
Time per request: 65.621 [ms] (mean)
Time per request: 1.312 [ms] (mean, across all concurrent requests)
Transfer rate: 698.71 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 1.9 1 11
Processing: 0 10 88.6 2 1304
Waiting: 0 9 88.6 1 1303
Total: 2 12 89.0 3 1310
Percentage of the requests served within a certain time (ms)
50% 3
66% 4
75% 4
80% 5
90% 5
95% 6
98% 12
99% 383
100% 1310 (longest request)
Тест (limit_conn cglob 25; в nginx. Joomla session -> Xcache):
[****@mihanja80 ~]# ab -n 1000 -c 50 http://www.videorip.info/index.pxp
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Concurrency Level: 50
Time taken for tests: 0.407189 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Non-2xx responses: 1000
Total transferred: 458000 bytes
HTML transferred: 289000 bytes
Requests per second: 2455.86 [#/sec] (mean)
Time per request: 20.359 [ms] (mean)
Time per request: 0.407 [ms] (mean, across all concurrent requests)
Transfer rate: 1097.77 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 5.8 9 21
Processing: 1 10 4.4 10 19
Waiting: 0 8 5.1 8 18
Total: 17 19 1.8 20 25
Percentage of the requests served within a certain time (ms)
50% 20
66% 21
75% 21
80% 21
90% 22
95% 22
98% 23
99% 24
100% 25 (longest request)
Тест (limit_conn cglob 25; в nginx. Joomla session -> database):
[root@mihanja80 ~]# ab -n 1000 -c 50 http://www.videorip.info/index.php
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Concurrency Level: 50
Time taken for tests: 3.551755 seconds
Complete requests: 1000
Failed requests: 25
(Connect: 0, Length: 25, Exceptions: 0)
Write errors: 0
Non-2xx responses: 975
Total transferred: 1773330 bytes
HTML transferred: 1595855 bytes
Requests per second: 281.55 [#/sec] (mean)
Time per request: 177.588 [ms] (mean)
Time per request: 3.552 [ms] (mean, across all concurrent requests)
Transfer rate: 487.36 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 2.9 0 15
Processing: 2 60 374.9 3 3538
Waiting: 2 60 374.8 3 3538
Total: 2 61 376.5 3 3549
Percentage of the requests served within a certain time (ms)
50% 3
66% 3
75% 3
80% 5
90% 14
95% 26
98% 1393
99% 2636
100% 3549 (longest request)
была замечена периодичная проблема в полночь по Киеву длительностью в 4-6 минут. Сервер зависал. Написал хостеру, вот ответ:
Hello, it look like a high IO load at your
host machine. We can offer you to
migrate your server to another host
machine. This will be a live migration
and your server will be running and
reachable in this time. Should we migrate your VQ server to another
host? Best Regards
Жду переноса...
Mihanja80 добавил 20.09.2011 в 02:31
Перенесли быстро.
Проблема действительно была (MySQL через некоторое время совсем упал):
Так точно, сори, не указал :(
МХ записи на скриншотах... Цитата с яндекса...
Нужно чтобы письма отправлялись с Яндекса...
Для меня "обычная" sendmail через форму обратной
связи ,отправляет и автоматом на яндекс и пытается (при включенном чекбоксе) отправить копию отправителю (указываю гугл почту) на гугл.
Я не админ, много не понимаю в сервере.
Мне нужно smtp чтоб с почты Яндекса письма отправлялись...
sendmail через форму обратной связи отправляет, на яндексе письмо появляется. на gmail копия не доходит, IP в спам листах. Я думаю что с яндекса дошлоб...
я так думаю что проблема аналогична єтой: /ru/forum/785589
Мне тут смотреть?:
/etc/exim/exim.conf
SPAMCBIN=__ISP_SPAMCBIN__
EXIMBIN=/usr/sbin/exim
log_selector = \
+all_parents \
+lost_incoming_connection \
+received_sender \
+received_recipients \
+tls_cipher +tls_peerdn \
+smtp_confirmation \
+smtp_syntax_error \
+smtp_protocol_error
# CONFDIR=__ISP_CONFDIR__
# daemon_smtp_port = 25:465
# tls_certificate = CONFDIR/certificate.crt
# tls_privatekey = CONFDIR/certificate.key
# tls_on_connect_ports = 465
.ifdef MAILMAN_ENABLE
MAILMAN_HOME=__MAILMAN_HOME__
MAILMAN_WRAP=__MAILMAN_WRAP__
MAILMAN_USER=__MAILMAN_USER__
MAILMAN_GROUP=__MAILMAN_GROUP__
.endif
trusted_groups = mgrsecure
trusted_users = apache
domainlist local_domains = lsearch;/etc/exim/domains
domainlist dummy_domains =
hostlist relay_from_hosts = 127.0.0.1 : 78.47.176.56
domainlist relay_to_domains = lsearch;/etc/exim/domains
exim_user = exim
exim_group = exim
**** *** **
что на что менять?
PHP Mail - письмо на яндексе (регистрировал пользователя на сайте с почтой gmail)
сегодня в 10:47
Mail Delivery System <Mailer-Daemon@mihanja80.com>
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
c****hamiha@gmail.com
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [173.194.70.26]:
550-5.7.1 [78.47.176.56 1] Our system has detected an unusual rate of
550-5.7.1 unsolicited mail originating from your IP address. To protect our
550-5.7.1 users from spam, mail sent from your IP address has been blocked.
550-5.7.1 Please visit http://www.google.com/mail/help/bulk_mail.html to review
550 5.7.1 our Bulk Email Senders Guidelines. r4si7163415eem.15 - gsmtp
------ This is a copy of the message, including all the headers. ------
Return-path: <a***n@videorip.info>
Received: from mihanja80 by mihanja80.com with local (Exim 4.63)
(envelope-from <a***n@videorip.info>)
id 1UWMK6-0000SB-NS
for c****miha@gmail.com; Sun, 28 Apr 2013 09:47:02 +0200
To: c*****miha@gmail.com
Subject: =?utf-8?B?0J/QsNGA0LDQvNC10YLRgNGLINGD0YfQtdGC0L3QvtC5INC30LDQv9C40YE=?= =?utf-8?B?0Lgg0LTQu9GPIGFhYWFhINC90LAg0YHQsNC50YLQtSDQnNC10LHQtdC7?= =?utf-8?B?0Ywg0LIg0JrQvtCy0LXQu9C1?=
Date: Sun, 28 Apr 2013 10:47:02 +0300
From: =?utf-8?B?0JzQtdCx0LXQu9GMINCyINCa0L7QstC10LvQtQ==?= <a***n@videorip.info>
Reply-to: =?utf-8?B?0JzQtdCx0LXQu9GMINCyINCa0L7QstC10LvQtQ==?= <a***n@videorip.info>
Message-ID: <275784605fe1769e72e353ac15dfbee7@ko***bel.com.ua>
X-Priority: 3
X-Mailer: PHPMailer 5.2 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"
Здравствуйте, *****,
Благодарим вас за регистрацию на сайте *****
взломали сайт, рассилали спам. письмо идет с моего IP?
Нужен админ :(
Тест (limit_conn cglob 20; в nginx. Joomla session -> Xcache):
Тест (limit_conn cglob 25; в nginx. Joomla session -> Xcache):
Тест (limit_conn cglob 25; в nginx. Joomla session -> database):
Скажите, пожалуйста, это нормальный результат?
была замечена периодичная проблема в полночь по Киеву длительностью в 4-6 минут. Сервер зависал. Написал хостеру, вот ответ:
host machine. We can offer you to
migrate your server to another host
machine. This will be a live migration
and your server will be running and
reachable in this time. Should we migrate your VQ server to another
host? Best Regards
Жду переноса...
Mihanja80 добавил 20.09.2011 в 02:31
Перенесли быстро.
Проблема действительно была (MySQL через некоторое время совсем упал):
Почистил логи и бекапы.
Теперь веселее работает 🍻
Огромное спасибо всем откликнувшимся!
Храни сессии в мемкеше
Andreyka, спасибо за подсказку.
Мемкеша нет, есть xcache. Попробовать в xcache хранить сессии?
Pilat, я просто не знаю как бороться...
Сессии хранятся в базе данных
+
Вот прогнал ночью легкий тест:
Ничего не понял в результате Может кто найдет немного времени и хоть поверхностно объяснит...