Настройка автоответчика
Добавлено: 2010-06-10 13:50:22
Необходимо настроить автоответчик с возможностью управления для рядовых юзеров.
ОС Debian Lenny
exim 4.69-9
mysql 5.0.51a-24+lenny3
postfixadmin 2.3
При включении автоответчика через postfixadmin, например, у юзера test@example.com добавляется соответствующая запись в таблицу vacation, а также добавляется в таблицу alias в поле goto test#example.com@example.com. Соответственно ничего не работает.
Кусок в config.inc.php:
Если $CONF['vacation_domain'] сделать пустым, то в таблицу алиасов добавляется test#example.com@
Соответственно когда шлем письмо на test@example.com, когда на нем активирован автоответчик, получаем оутлуп:
ОС Debian Lenny
exim 4.69-9
mysql 5.0.51a-24+lenny3
postfixadmin 2.3
При включении автоответчика через postfixadmin, например, у юзера test@example.com добавляется соответствующая запись в таблицу vacation, а также добавляется в таблицу alias в поле goto test#example.com@example.com. Соответственно ничего не работает.
Кусок в config.inc.php:
Код: Выделить всё
$CONF['vacation'] = 'YES';
$CONF['vacation_domain'] = 'example.com';
$CONF['vacation_control'] ='YES';
$CONF['vacation_control_admin'] = 'YES';Соответственно когда шлем письмо на test@example.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:
test#example.com@example.com
(generated from test@example.com)
Unknown user
------ This is a copy of the message, including all the headers. ------
Return-path: <111@example.com>
Received: from admin.example.local ([192.168.37.11]:38131)
by example.com with esmtpa (Exim 4.69)
(envelope-from <111@example.com>)
id 1OMew9-0002CY-V3
for test@example.com; Thu, 10 Jun 2010 13:24:38 +0300
Message-ID: <4C10BD65.4060505@example.com>
Disposition-Notification-To: 111 <111@example.com>
Date: Thu, 10 Jun 2010 13:24:37 +0300
From: 111 <111@example.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4
MIME-Version: 1.0
To: storm <test@example.com>
Subject: 13132
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit