mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-03-01 02:15:15 +08:00
v1.27.3
This commit is contained in:
parent
ea7d3c5655
commit
6d17dbccf3
4 changed files with 26 additions and 22 deletions
|
@ -25,7 +25,9 @@ module.exports = function(options) {
|
|||
flags: [],
|
||||
modseq: 100,
|
||||
idate: new Date('14-Sep-2013 21:22:28 -0300'),
|
||||
mimeTree: parseMimeTree(Buffer.from('from: sender@example.com\r\nto: to@example.com\r\ncc: cc@example.com\r\nsubject: test\r\n\r\nzzzz\r\n'))
|
||||
mimeTree: parseMimeTree(
|
||||
Buffer.from('from: sender@example.com\r\nto: to@example.com\r\ncc: cc@example.com\r\nsubject: test\r\n\r\nzzzz\r\n')
|
||||
)
|
||||
},
|
||||
{
|
||||
uid: 49,
|
||||
|
@ -44,7 +46,7 @@ module.exports = function(options) {
|
|||
'From: andris@kreata.ee\r\n' +
|
||||
'To: andris@tr.ee\r\n' +
|
||||
'Content-Type: multipart/mixed;\r\n' +
|
||||
' boundary=\'----mailcomposer-?=_1-1328088797399\'\r\n' +
|
||||
" boundary='----mailcomposer-?=_1-1328088797399'\r\n" +
|
||||
'Message-Id: <testmessage-for-bug>;\r\n' +
|
||||
'\r\n' +
|
||||
'------mailcomposer-?=_1-1328088797399\r\n' +
|
||||
|
|
|
@ -493,7 +493,6 @@ module.exports = (db, server, mailboxHandler) => {
|
|||
'/users/:user/mailboxes/:mailbox',
|
||||
tools.asyncifyJson(async (req, res, next) => {
|
||||
res.charSet('utf-8');
|
||||
console.log(req.params);
|
||||
const schema = Joi.object().keys({
|
||||
user: Joi.string().hex().lowercase().length(24).required(),
|
||||
mailbox: Joi.string().hex().lowercase().length(24).allow('resolve').required(),
|
||||
|
|
|
@ -38,6 +38,8 @@ class FilterHandler {
|
|||
gfs: options.sender.gfs,
|
||||
loopSecret: options.sender.loopSecret
|
||||
});
|
||||
|
||||
this.loggelf = options.loggelf || (() => false);
|
||||
}
|
||||
|
||||
getUserData(address, callback) {
|
||||
|
@ -312,6 +314,7 @@ class FilterHandler {
|
|||
let forwardMessage = async () => {
|
||||
if (!filterActions.get('delete')) {
|
||||
// forward to default recipient only if the message is not deleted
|
||||
|
||||
if (userData.targets && userData.targets.length) {
|
||||
userData.targets.forEach(targetData => {
|
||||
let key = targetData.value;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.27.2",
|
||||
"version": "1.27.3",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
@ -73,7 +73,7 @@
|
|||
"smtp-server": "3.7.0",
|
||||
"speakeasy": "2.0.0",
|
||||
"u2f": "0.1.3",
|
||||
"unixcrypt": "^1.0.11",
|
||||
"unixcrypt": "1.0.11",
|
||||
"uuid": "8.2.0",
|
||||
"wild-config": "1.5.1",
|
||||
"yargs": "15.4.1"
|
||||
|
|
Loading…
Reference in a new issue