run limit_body_size on imported emails, which don't go through consume_feed
This commit is contained in:
parent
6e21534f23
commit
fcab22b80f
1 changed files with 1 additions and 0 deletions
|
@ -426,6 +426,7 @@ function onepoll_run(&$argv, &$argc){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$datarray['body'] = escape_tags($r['body']);
|
$datarray['body'] = escape_tags($r['body']);
|
||||||
|
$datarray['body'] = limit_body_size($datarray['body']);
|
||||||
|
|
||||||
logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);
|
logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue