Recover to Office 365 Mailbox

Issue #1016 resolved
lui0r created an issue

Hello,

Piler Version: 1.3.6 build 998

I’ll try to recover Mails via “Restore selected” or “Bulk Restore Selected”. I try serveral ways:

  1. Restore over imap in /etc/piler/config-site.php:

$config['ENABLE_IMAP_AUTH'] = 1;
$config['IMAP_HOST'] = 'outlook.office.de';
$config['IMAP_PORT'] =  993;
$config['IMAP_SSL'] = true;
$config['RESTORE_OVER_IMAP'] = 1;

2019/09/30 12:50:48 [error] 374#374: *8354 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined property: Zend_Mail_Protocol_Imap::$logout in /var/piler/www/model/mail/mail.php on line 110" while reading response header from upstream, client: XX.XX.XX.XX, server: WEBSITE:8888, request: "GET /index.php?route=message/restore&id=14&_=1569846899167 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "WEBSITE:8888", referrer: "http://WEBSITE:8888/search.php"

2. Local postfix

$config['SMARTHOST'] = '192.168.104.117';
$config['SMARTHOST_PORT'] = 25;
$config['ENABLE_IMAP_AUTH'] = 1;
$config['IMAP_HOST'] = 'outlook.office.de';
$config['IMAP_PORT'] =  993;
$config['IMAP_SSL'] = true;
$config['RESTORE_OVER_IMAP'] = 0;

Sep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: warning: Illegal address syntax from localhost[127.0.0.1] in MAIL command: <no-reply@DOMAIN:8888>Sep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: extract_addr: in: <no-reply@DOMAIN:8888>, result: no-reply@DOMAIN:8888Sep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: > localhost[127.0.0.1]: 501 5.1.7 Bad sender address syntaxSep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: watchdog_pat: 0x55814eaba0d0Sep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: < localhost[127.0.0.1]: RCPT TO: EMAIL@DOMAINSep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: > localhost[127.0.0.1]: 503 5.5.1 Error: need MAIL commandSep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: watchdog_pat: 0x55814eaba0d0Sep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: < localhost[127.0.0.1]: DATASep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: > localhost[127.0.0.1]: 503 5.5.1 Error: need RCPT commandSep 30 13:04:10 1176cf0e3d21 postfix/smtpd[1044]: watchdog_pat: 0x55814eaba0d0

Maybe someone has an idea?

greets

Steffen

Comments (1)

  1. lui0r reporter

    Hi,

    RESTORE_OVER_IMAP works fine. I try to recover to a shared mailbox which does not work. But with the main Account all works fine..........

  2. Log in to comment