Removed 127.0.0.1 from queued .test()
This commit is contained in:
parent
3e04f82fe2
commit
3ab718705e
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ let server = net.createServer(socket => {
|
|||
log.verbose('POSTFIXBOUNCE', 'Checking message %s for local requeue (status: %s)', queueId, status);
|
||||
if ( status === 'sent' ) {
|
||||
// Save new queueId to update message's previous queueId (thanks @mfechner )
|
||||
queued = / relay=127\.0\.0\.1/.test(line) && line.match(/status=sent \((.*)\)/);
|
||||
queued = / relay=/.test(line) && line.match(/status=sent \((.*)\)/);
|
||||
if ( queued ) {
|
||||
queued = queued[1];
|
||||
queued_as = queued.match(/ queued as (\w+)/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue