Привет все. Такая сиуация. есть VPS, на нем поднят apache2, php5. Пытаюсь отправить почту.
<?php
$subject = "Тестовое сообщение";
$message = "Текст сообщения";
$headers = "From: macik1@name.com";
mail( "macik2@name.com", $subject, $message, $headers);
?>
Return-Path: <www-data@host1.ua>
Delivered-To: macik1@local.com
Received: from localhost (localhost [127.0.0.1])
by mail.local.com (Postfix) with ESMTP id B1793183A46
for <macik1@local.com>; Fri, 23 Nov 2012 16:38:00 +0200 (EET)
Received: from mail.local.com ([127.0.0.1])
by localhost (mail.local.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id hxHG4gorZJCr for <macik1@local.com>;
Fri, 23 Nov 2012 16:38:00 +0200 (EET)
Received: by mail.local.com (Postfix, from userid 5000)
id 97C36183A47; Fri, 23 Nov 2012 16:38:00 +0200 (EET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.local.com
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
version=3.3.1
Received: from host1.ua (host1.ua [78.47.178.205])
by mail.local.com (Postfix) with ESMTPS id 9B798183A46
for <macik1@local.com>; Fri, 23 Nov 2012 16:37:55 +0200 (EET)
Received: from host1.ua (localhost [127.0.0.1])
by host1.ua (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id qANEXova023753
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
for <macik1@local.com>; Fri, 23 Nov 2012 16:33:50 +0200
Received: (from www-data@localhost)
by host1.ua (8.14.4/8.14.4/Submit) id qANEXoAK023752;
Fri, 23 Nov 2012 16:33:50 +0200
Date: Fri, 23 Nov 2012 16:33:50 +0200
Message-Id: <201211231433.qANEXoAK023752@host1.ua>
To: macik1@local.com
Subject: =?UTF-8?B?w5DCosOQwrXDkcKBw5HCgsOQwr7DkMKyw5A=?=
=?UTF-8?B?wr7DkMK1IMORwoHDkMK+w5DCvsOQwrHDkcKJw5DCtcOQwr3DkMK4w5DCtQ==?=
X-PHP-Originating-Script: 0:php.php
From: macik1@local.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
w5DCosOQwrXDkMK6w5HCgcORwoIgw5HCgcOQwr7DkMK+w5DCscORwonDkMK1w5DCvcOQwrjDkcKP
Помогите как исправить, наверно надо что то настроить в php и apache?!