Postfix + virtual domains help me:(
Добавлено: 2013-10-29 8:49:34
Здраствуйте, помогите решать это проблемы. я уже 2 недели мучаю все таки не смог найти решения. на счёт гугл можно не советовать я там сижу круглосуточно. не смог найти решения. так, я установил себя движок b1gmail v7.1. настроил postfix по инструкции с офф сайта b1gmail. (вот пример инструкция) (не реклама) ftp://ftp.b1g.de/b1gmail/b1gMail-Installation.pdf. При отправке почту любому почтовых серверов все успешно отправляется. а вот когда меня отправляет сообщения /var/log/maillog выдает ошибку:
Postfix версия:
Содержимой файл /home/e-mail/public_html/interface/pipe.php
Операционный система: Linux CentOS 6.4 FinalOct 29 10:14:24 e-mail postfix/smtpd[25430]: connect from f169.i.mail.ru[94.100.178.88]
Oct 29 10:14:24 e-mail postfix/trivial-rewrite[25433]: warning: do not list domain e-mail.uz in BOTH mydestination and virtual_alias_domains
Oct 29 10:14:24 e-mail postfix/smtpd[25430]: EF3DCF40089: client=f169.i.mail.ru[94.100.178.88]
Oct 29 10:14:25 e-mail postfix/cleanup[25434]: EF3DCF40089: message-id=<1383023679.864730833@f169.i.mail.ru>
Oct 29 10:14:25 e-mail postfix/qmgr[25421]: EF3DCF40089: from=<system_11@mail.ru>, size=2962, nrcpt=1 (queue active)
Oct 29 10:14:25 e-mail postfix/trivial-rewrite[25433]: warning: do not list domain e-mail.uz in BOTH mydestination and virtual_alias_domains
Oct 29 10:14:25 e-mail postfix/pipe[25435]: EF3DCF40089: to=<b1gmailuser@e-mail.uz>, orig_to=<boburjon@e-mail.uz>, relay=b1gmailtransport, delay=0.23, delays=0.13/0.01/0/0.09, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/bin/php". Command output: PHP Warning: Module 'ionCube Loader' already loaded in Unknown on line 0 [Tue Oct 29 10:14:25 2013] [warn-phpd] The ionCube PHP Loader is disabled because of startup problems. (pid 25436) Could not open input file: /home/e-mail/public_html/interface//pipe.php )
Oct 29 10:14:25 e-mail postfix/cleanup[25434]: 32B50F400C1: message-id=<20131029051425.32B50F400C1@e-mail.uz>
Oct 29 10:14:25 e-mail postfix/qmgr[25421]: 32B50F400C1: from=<>, size=5277, nrcpt=1 (queue active)
Oct 29 10:14:25 e-mail postfix/bounce[25437]: EF3DCF40089: sender non-delivery notification: 32B50F400C1
Oct 29 10:14:25 e-mail postfix/qmgr[25421]: EF3DCF40089: removed
Oct 29 10:14:25 e-mail postfix/smtpd[25430]: disconnect from f169.i.mail.ru[94.100.178.88]
Postfix версия:
Версия двикжка B1gmail v7.1Oct 29 10:14:13 e-mail postfix/postfix-script[25345]: stopping the Postfix mail system
Oct 29 10:14:13 e-mail postfix/master[25195]: terminating on signal 15
Oct 29 10:14:14 e-mail postfix/postfix-script[25417]: starting the Postfix mail system
Oct 29 10:14:14 e-mail postfix/master[25418]: daemon started -- version 2.6.6, configuration /etc/postfix
Содержимой файл /home/e-mail/public_html/interface/pipe.php
- <?php
/*
* b1gMail7
* (c) 2002-2008 B1G Software
*
* Redistribution of this code without explicit permission
* is forbidden!
*
* $Id: pipe.php,v 1.10 2008/06/02 11:20:03 patrick Exp $
*
*/
chdir(dirname(__FILE__));
define('INTERFACE_MODE', true);
include('../serverlib/init.inc.php');
include(B1GMAIL_DIR . 'serverlib/mailprocessor.class.php');
// request temp file
$tempFileID = RequestTempFile(0);
$tempFileName = TempFileName($tempFileID);
$tempFileFP = fopen($tempFileName, 'wb+');
assert('is_resource($tempFileFP)');
// get mail from stdin
$handle = fopen('php://stdin', 'rb');
while(!feof($handle))
{
$buff = fgets2($handle);
fwrite($tempFileFP, rtrim($buff) . "\r\n");
}
fclose($handle);
$inputSize = ftell($tempFileFP);
fseek($tempFileFP, 0, SEEK_SET);
// empty?
if($inputSize < 3)
{
// yes -> log, do not process
PutLog('Message not processed (input size < 3 bytes)',
PRIO_DEBUG,
__FILE__,
__LINE__);
echo('Message processing aborted (no input)');
exit(-1);
}
// too big?
if($inputSize > $bm_prefs['mailmax'])
{
// yes -> log, do not process
PutLog(sprintf('Message not processed (hard limit; %d > %d bytes)',
$inputSize,
$bm_prefs['mailmax']),
PRIO_NOTE,
__FILE__,
__LINE__);
printf('Message processing aborted (hard limit; %d > %d bytes)',
$inputSize,
$bm_prefs['mailmax']);
exit(-1);
}
// recipients passed?
$recps = array();
$passed_h = false;
$timeout = -1;
foreach($_SERVER['argv'] as $param)
if($param == '--')
$passed_h = true;
else if(substr($param, 0, 10) == '--timeout=')
$timeout = (int)substr($param, 10);
else if($passed_h)
$recps[] = $param;
// set timeout?
if($timeout > -1)
set_time_limit($timeout);
// process mail
$mailProcessor = _new('BMMailProcessor', array($tempFileFP));
if(count($recps) > 0)
$mailProcessor->SetRecipients($recps);
$mailProcessor->ProcessMail();
// clean up
fclose($tempFileFP);
ReleaseTempFile(0, $tempFileID);
?>