Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...

[Решено] Не отправляется почта


 Поделиться

Рекомендованные сообщения

Здравствуйте!

Поставил ИМ на VDS  с предустановленным Debian 7 и никак не получается настроить отправку почты с ИМ на mail.ru. Показывает, что типа уходит, а на мейле пусто(

Может, кто подскажет, как правильно её настраивать? Второй день голову ломаю...

Вот, что в апаче (заменил свой сайт на "syte")
NameVirtualHost *:443

ServerName www.example.com:443
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/server.key

Include /usr/local/ispmgr/etc/ispmgr.inc

ServerName syte.ru
CustomLog /var/www/httpd-logs/syte.ru.access.log combined
DocumentRoot /var/www/syte/data/www/syte.ru
ErrorLog /var/www/httpd-logs/syte.ru.error.log
ServerAdmin [email protected]
ServerAlias www.syte.ru
SuexecUserGroup syte syte
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
php_admin_value open_basedir "/var/www/syte/data:."
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]"
php_admin_value upload_tmp_dir "/var/www/syte/data/mod-tmp"
php_admin_value session.save_path "/var/www/syte/data/mod-tmp"


php.ini

[mail function]
; For Win32 only.
http://php.net/smtp
SMTP = localhost
http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
http://php.net/sendmail-from
;sendmail_from = [email protected]

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
http://php.net/sendmail-path
;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

Ссылка на комментарий
Поделиться на других сайтах


установил движок и готово.

какая почта "не ходит"? уверен, что "не ходит", а не "падает в спам"?

что в логах сервера? почтового демона?

Ссылка на комментарий
Поделиться на других сайтах

Почта типа, заказа обратного звонка... Уверен, в спаме нет ничего, смотрел постоянно
Вот логи sendmail

 

 

Apr 27 07:56:50 chudodeti27 sendmail[19451]: t3QLuo9i019451: Authentication-Warning: chudodeti27.ru: www-data set sender to [email protected] using -f
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9i019451: [email protected], size=365, class=0, nrcpts=1, msgid=<[email protected]> , bodytype=8BITMIME, relay=www-data@localhost
Apr 27 07:56:51 chudodeti27 sendmail[19451]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-GCM-SHA384, bits=256/256
Apr 27 07:56:51 chudodeti27 sm-mta[19452]: STARTTLS=server, relay=localhost.localdomain [127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-GCM-SHA384, bits=256/256
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9i019451: [email protected], delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30365, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9i019451: t3QLuo9j019451: DSN: Data format error
Apr 27 07:56:51 chudodeti27 sm-mta[19452]: t3QLupXq019452: <[email protected]>... No such user here
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9j019451: [email protected], delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31389, relay=[127.0.0.1], dsn=5.3.0, stat=User unknown
Apr 27 07:56:51 chudodeti27 sm-mta[19452]: t3QLupXq019452: from=<>, size=1389, class=0, nrcpts=0, bodytype=8BITMIME, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9j019451: t3QLuo9k019451: return to sender: User unknown
Apr 27 07:56:51 chudodeti27 sm-mta[19452]: t3QLupXs019452: <[email protected]>... No such user here
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9k019451: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32413, relay=[127.0.0.1] [127.0.0.1], dsn=5.3.0, stat=User unknown
Apr 27 07:56:51 chudodeti27 sm-mta[19452]: t3QLupXs019452: from=<>, size=2413, class=0, nrcpts=0, bodytype=8BITMIME, proto=ESMTP, daemon=MTA-v4, relay=localhost.localdomain [127.0.0.1]
Apr 27 07:56:51 chudodeti27 sendmail[19451]: t3QLuo9j019451: Saved message in /var/lib/sendmail/dead.letter

 

А вот, что сам dead.letter пишет

 

 

The original message was received at Mon, 27 Apr 2015 07:56:50 +1000
from www-data@localhost

----- The following addresses had permanent fatal errors -----
[email protected]
(reason: 553 5.3.0 <[email protected]>... No such user here)
(expanded from: [email protected])

----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> MAIL From:<[email protected]> SIZE=365 BODY=8BITMIME
<<< 553 5.3.0 <[email protected]>... No such user here
501 5.6.0 Data format error

--t3QLuo9j019451.1430085411/chudodeti27.ru
Content-Type: message/delivery-status

Reporting-MTA: dns; chudodeti27.ru
Arrival-Date: Mon, 27 Apr 2015 07:56:50 +1000

Final-Recipient: RFC822; [email protected]
Action: failed
Status: 5.3.0
Diagnostic-Code: SMTP; 553 5.3.0 <[email protected]>... No such user here
Last-Attempt-Date: Mon, 27 Apr 2015 07:56:51 +1000

--t3QLuo9j019451.1430085411/chudodeti27.ru
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Return-Path: <[email protected]>
Received: (from www-data@localhost)
by chudodeti27.ru (8.14.4/8.14.4/Submit) id t3QLuo9i019451;
Mon, 27 Apr 2015 07:56:50 +1000
Date: Mon, 27 Apr 2015 07:56:50 +1000
Message-Id: <[email protected]>
X-Authentication-Warning: chudodeti27.ru: www-data set sender to [email protected] using -f
To: [email protected]
Subject: Обратный звонок
X-PHP-Originating-Script: 500:unico_call_back.php
MIME-Version: 1.0
Content-type: text/html; charset=utf-8
From: [email protected]

Заказ обратного звонка от: SlavaM

Телефон заказчика: 2323

Чудо Дети
http://chudodeti27.ru/index.php?route=common/home



--t3QLuo9j019451.1430085411/chudodeti27.ru--


From MAILER-DAEMON Mon Apr 27 08:00:02 2015
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by chudodeti27.ru (8.14.4/8.14.4/Submit) id t3QM01ZH019509;
Mon, 27 Apr 2015 08:00:02 +1000
Date: Mon, 27 Apr 2015 08:00:02 +1000
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <[email protected]>
To: www-data
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="t3QM01ZH019509.1430085602/chudodeti27.ru"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--t3QM01ZH019509.1430085602/chudodeti27.ru

The original message was received at Mon, 27 Apr 2015 08:00:01 +1000
from www-data@localhost

----- The following addresses had permanent fatal errors -----
root
(reason: 553 5.3.0 <[email protected]>... No such user here)
(expanded from: root)

----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> MAIL From:<[email protected]> SIZE=416 [email protected]
<<< 553 5.3.0 <[email protected]>... No such user here
501 5.6.0 Data format error

--t3QM01ZH019509.1430085602/chudodeti27.ru
Content-Type: message/delivery-status

Reporting-MTA: dns; chudodeti27.ru
Arrival-Date: Mon, 27 Apr 2015 08:00:01 +1000

Final-Recipient: RFC822; [email protected]
Action: failed
Status: 5.3.0
Diagnostic-Code: SMTP; 553 5.3.0 <[email protected]>... No such user here
Last-Attempt-Date: Mon, 27 Apr 2015 08:00:02 +1000

--t3QM01ZH019509.1430085602/chudodeti27.ru
Content-Type: message/rfc822

Return-Path: <www-data>
Received: (from www-data@localhost)
by chudodeti27.ru (8.14.4/8.14.4/Submit) id t3QM01ZG019509
for root; Mon, 27 Apr 2015 08:00:01 +1000
Date: Mon, 27 Apr 2015 08:00:01 +1000
Message-Id: <[email protected]>
From: root (Cron Daemon)
To: root
Subject: Cron <www-data@chudodeti27> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/www>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=www-data>

/usr/share/awstats/tools/update.sh: 22: cd: can't cd to /etc/awstats

--t3QM01ZH019509.1430085602/chudodeti27.ru--
Ссылка на комментарий
Поделиться на других сайтах


попробуй в настройках магазина на вкладке Почта добавить в поле @Параметры функции почты:@

[email protected]
Ссылка на комментарий
Поделиться на других сайтах

В общем сделал, вписал этот параметр в почту и в ISPmanager создал ящик с именем webmaster и в его настройках поставил пересылку на [email protected] и оно пришло!!! ))))

 

УРА!!! СПАСИБО!!!

Ссылка на комментарий
Поделиться на других сайтах


попробуй в настройках магазина на вкладке Почта добавить в поле @Параметры функции почты:@

[email protected]

спасибо!!!

Ссылка на комментарий
Поделиться на других сайтах


Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас
 Поделиться

  • Сейчас на странице   0 пользователей

    • Нет пользователей, просматривающих эту страницу.
×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обработка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфиденциальности.