haraka / haraka-plugin-aliases Goto Github PK
View Code? Open in Web Editor NEWEmail aliases for Haraka
Home Page: https://www.npmjs.com/package/haraka-plugin-aliases
License: MIT License
Email aliases for Haraka
Home Page: https://www.npmjs.com/package/haraka-plugin-aliases
License: MIT License
2.8.8
Given the rules
{
"@example.com" : { "action" : "alias", "to" : "[email protected]" },
"foo" : { "action" : "alias", "to" : "[email protected]" }
}
And the recipient [email protected]
The expected replacement recipient is [email protected]
The replacement recipient is [email protected]
Send mail to [email protected]
The reason is that the two if statements "if (config['@'+host]) {" and "if (config[user] || config[match[0]] || config[match[0] + '@' + host]) {" are in the wrong order, they should be reversed.
2.8.8
As per documentation "In short, we do not allow chaining of aliases at this time"
Rules are chained because of missing "else" statements before "if (config['@'+host]) {" and "if (config[user] || config[match[0]] || config[match[0] + '@' + host]) {"
Use this config
{
"[email protected]" : { "action" : "alias", "to" : "[email protected]" },
"@example.com" : { "action" : "alias", "to" : "[email protected]" }
}
Mail for [email protected] is aliased to [email protected] instead of [email protected]
[files]
in package.json. Delete .npmignore.node --test
in v18+We have two domains domainA.de and domainB.dem
The MX record target domainA.de and all mails should go thou haraka and then to an exchange server that has configured the domain domainA.de.
A receive connector has been configured on the Exchange Connector to accept mail from the Haraka IP.
For compliance reasons, we need to redirect one address ([email protected]) to another exchangeserver with the domain domainB.dem and the address [email protected].
We expect, that all address will proceed separate, but i seems like the plugin uses only the first address to proceed all addresses.
Mails with multiple recipients are tried to be delivered to the same Exchange server, although the Alias plugin from [email protected] changes to [email protected].
The delivery is rejected by the Exchange of domainB.de, because it is not responsible for domainA.de.
Haraka | Haraka.js - Version: 3.0.2 |
---|---|
Node | v20.3.0 |
OS | Linux haraka01 5.15.0-75-generic haraka/Haraka#82-Ubuntu SMP Tue Jun 6 23:10:23 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux |
openssl | OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) |
We configured the following alias rule:
{ "[email protected]" : { "action" : "alias", "to" : ["[email protected]"] } }
We have the following configuration in smtp_forward.ini:
[domainA.de]
host=ex01-domainA.de
port=25
enable_tls=true
[domainB.de]
host=mail.domainB.de
port=25
Plugins:
aliases
rcpt_to.in_host_list
queue/smtp_forward
When we send an email to [email protected] it will be redirected to the server with the domain domainB.de and the address [email protected]
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.183Z [DEBUG] [-] [core] addOCSP: not available
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.189Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] connect ip=1.1.1.1 port=47225 local_ip=192.168.1.100 local_port=25
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.190Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running connect_init hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.190Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running connect_init_respond
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.190Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running lookup_rdns hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.223Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running connect hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.224Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 220 haraka01 ESMTP Haraka/3.0.2 ready
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.339Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] C: EHLO mail-oa1-f42.google.com state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.340Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running ehlo hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.341Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] running capabilities hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.341Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 250-haraka01 Hello mail-oa1-f42.google.com [1.1.1.1]Haraka is at your service.
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.341Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 250-PIPELINING
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.341Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 250-8BITMIME
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.342Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 250-SMTPUTF8
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.342Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] S: 250 SIZE 0
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.457Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9] [core] C: MAIL FROM:<[email protected]> SIZE=2281 state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.460Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running mail hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.461Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running mail hook in rcpt_to.in_host_list plugin
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.461Z [DEBUG] [-] [rcpt_to.in_host_list] checking gmail.com in config/host_list
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.462Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] hook=mail plugin=rcpt_to.in_host_list function=hook_mail params=<[email protected]> retval=CONT msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.462Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] sender <[email protected]> code=CONT msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.462Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] S: 250 sender <[email protected]> OK
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.463Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] C: RCPT TO:<[email protected]> state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.464Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running rcpt hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.464Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running rcpt hook in aliases plugin
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.464Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [aliases] aliasing <[email protected]> to [email protected]
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.465Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] hook=rcpt plugin=aliases function=aliases params=<[email protected]> retval=CONT msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.465Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running rcpt hook in rcpt_to.in_host_list plugin
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.466Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [rcpt_to.in_host_list] Checking if <[email protected]> host is in host_list
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.466Z [DEBUG] [-] [rcpt_to.in_host_list] checking domainA.de in config/host_list
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.466Z [INFO] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] hook=rcpt plugin=rcpt_to.in_host_list function=hook_rcpt params=<[email protected]> retval=OK msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.466Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running rcpt_ok hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.467Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] recipient <[email protected]> code=OK msg="" [email protected]
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.467Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] S: 250 recipient <[email protected]> OK
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.467Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] C: DATA state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.468Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running data hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.469Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] S: 354 go ahead, make my day
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.702Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running data_post hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.702Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] message mid=<CAEdv-_fWOQ5Mf03FxKpDwrdxJfiTao4OZKzAN9_4iRLuCEOm-w@mail.gmail.com> size=2284 rcpts=1/0/0 delay=0 code=CONT msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.703Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running queue hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.703Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running queue hook in aliases plugin
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.703Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] hook=queue plugin=aliases function=discard params="" retval=CONT msg=""
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.703Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running queue hook in queue/smtp_forward plugin
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.705Z [INFO] [-] [core] [smtp_client] uuid=75575106-C001-4CE9-A219-FB05C4BB2883 host=mail.domainB.de port=25 created
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.706Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] Got smtp_client: 75575106-C001-4CE9-A219-FB05C4BB2883
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.706Z [INFO] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] forwarding to mail.domainB.de:25
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.711Z [DEBUG] [-] [core] socket.remoteAddress undefined
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.713Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 220 EX01.domainB.de Microsoft ESMTP MAIL Service ready at Thu, 6 Jul 2023 07:52:30 +0200\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.713Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] C: EHLO haraka01
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.714Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-EX01.domainB.de Hello [2.2.2.2]\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.714Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-SIZE 104857600\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.714Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-PIPELINING\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-DSN\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-ENHANCEDSTATUSCODES\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-STARTTLS\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-X-ANONYMOUSTLS\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-AUTH NTLM\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.715Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-X-EXPS GSSAPI NTLM\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.716Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-8BITMIME\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.716Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-BINARYMIME\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.716Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-CHUNKING\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.716Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250-SMTPUTF8\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.716Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250 XRDST\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.717Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] C: MAIL FROM:<[email protected]>
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.718Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250 2.1.0 Sender OK\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.718Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] C: RCPT TO:<[email protected]>
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.719Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250 2.1.5 Recipient OK\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.719Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] C: DATA
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.720Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 354 Start mail input; end with <CRLF>.<CRLF>\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.842Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [queue/smtp_forward] S: 250 2.6.0 <CAEdv-_fWOQ5Mf03FxKpDwrdxJfiTao4OZKzAN9_4iRLuCEOm-w@mail.gmail.com> [InternalId=82974473191468, Hostname=EX01.domainB.de] 3784 bytes in 0.103, 35,867 KB/sec Queued mail for delivery\r\n
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.842Z [INFO] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] hook=queue plugin=queue/smtp_forward function=queue_forward params="" retval=OK msg="2.6.0 <CAEdv-_fWOQ5Mf03FxKpDwrdxJfiTao4OZKzAN9_4iRLuCEOm-w@mail.gmail.com> [InternalId=82974473191468, Hostname=EX01.domainB.de] 3784 bytes in 0.103, 35,867 KB/sec Queued mail for delivery"
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.843Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running queue_ok hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.843Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] queue code=OK msg="2.6.0 <CAEdv-_fWOQ5Mf03FxKpDwrdxJfiTao4OZKzAN9_4iRLuCEOm-w@mail.gmail.com> [InternalId=82974473191468, Hostname=EX01.domainB.de] 3784 bytes in 0.103, 35,867 KB/sec Queued mail for delivery (4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1)"
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.843Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] S: 250 2.6.0 <CAEdv-_fWOQ5Mf03FxKpDwrdxJfiTao4OZKzAN9_4iRLuCEOm-w@mail.gmail.com> [InternalId=82974473191468, Hostname=EX01.domainB.de] 3784 bytes in 0.103, 35,867 KB/sec Queued mail for delivery (4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1)
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.844Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running reset_transaction hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.844Z [DEBUG] [-] [core] [smtp_client] 75575106-C001-4CE9-A219-FB05C4BB2883 releasing, state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.845Z [DEBUG] [-] [core] [smtp_client] 75575106-C001-4CE9-A219-FB05C4BB2883: [mail.domainB.de:25] SMTP connection closed (state=4)
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.959Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] C: QUIT state=1
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.959Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running quit hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.960Z [PROTOCOL] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] S: 221 haraka01 closing connection. Have a jolly good day.
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.960Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] client has disconnected
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.960Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] running disconnect hooks
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.960Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] client has disconnected
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.961Z [DEBUG] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] client has disconnected
Jul 6 07:52:31 haraka01 haraka[481720]: 2023-07-06T05:52:31.961Z [NOTICE] [4CC8EAE6-84C4-4FA7-9E0E-EB1C699811A9.1] [core] disconnect ip=1.1.1.1 rdns=mail-oa1-f42.google.com helo=mail-oa1-f42.google.com relay=N early=N esmtp=Y tls=N pipe=N errors=0 txns=1 rcpts=1/0/0 msgs=1/0/0 bytes=2284 lr="" time=0.774
When we send an email to [email protected] it will be redirected to the server with the domain domainA.de and the address [email protected]
When we send an email with two or more address in the to/CC/BCC field e.g., [email protected], [email protected] all emails will be redirected to the server with the domain domainB.de. All mails will be rejected.
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.543Z [DEBUG] [-] [core] addOCSP: not available
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.547Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] connect ip=1.1.1.1 port=42071 local_ip=192.168.1.100 local_port=25
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.547Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running connect_init hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.547Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running connect_init_respond
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.547Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running lookup_rdns hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.573Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running connect hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.573Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 220 haraka01 ESMTP Haraka/3.0.2 ready
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.722Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] C: EHLO mail-pj1-f49.google.com state=1
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.722Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running ehlo hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.723Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] running capabilities hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.723Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 250-haraka01 Hello mail-pj1-f49.google.com [1.1.1.1]Haraka is at your service.
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.723Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 250-PIPELINING
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.723Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 250-8BITMIME
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.723Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 250-SMTPUTF8
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.724Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] S: 250 SIZE 0
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.872Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B] [core] C: MAIL FROM:<[email protected]> SIZE=2282 state=1
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.874Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running mail hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.875Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running mail hook in rcpt_to.in_host_list plugin
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.875Z [DEBUG] [-] [rcpt_to.in_host_list] checking gmail.com in config/host_list
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.875Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=mail plugin=rcpt_to.in_host_list function=hook_mail params=<[email protected]> retval=CONT msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.875Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] sender <[email protected]> code=CONT msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.876Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 250 sender <[email protected]> OK
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.876Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] C: RCPT TO:<[email protected]> state=1
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.880Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.880Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hook in aliases plugin
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.881Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [aliases] aliasing <[email protected]> to [email protected]
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.881Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=rcpt plugin=aliases function=aliases params=<[email protected]> retval=CONT msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.881Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hook in rcpt_to.in_host_list plugin
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.881Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [rcpt_to.in_host_list] Checking if <[email protected]> host is in host_list
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.882Z [DEBUG] [-] [rcpt_to.in_host_list] checking domainA.de in config/host_list
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.882Z [INFO] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=rcpt plugin=rcpt_to.in_host_list function=hook_rcpt params=<[email protected]> retval=OK msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.882Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt_ok hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.882Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] recipient <[email protected]> code=OK msg="" [email protected]
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.882Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 250 recipient <[email protected]> OK
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.883Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] C: RCPT TO:<[email protected]> state=1
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.884Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.885Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hook in aliases plugin
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.885Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=rcpt plugin=aliases function=aliases params=<[email protected]> retval=CONT msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.885Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt hook in rcpt_to.in_host_list plugin
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.885Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [rcpt_to.in_host_list] Checking if <[email protected]> host is in host_list
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.885Z [DEBUG] [-] [rcpt_to.in_host_list] checking domainA.de in config/host_list
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.886Z [INFO] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=rcpt plugin=rcpt_to.in_host_list function=hook_rcpt params=<[email protected]> retval=OK msg=""
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.886Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running rcpt_ok hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.886Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] recipient <[email protected]> code=OK msg="" [email protected]
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.886Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 250 recipient <[email protected]> OK
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.886Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] C: DATA state=1
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.887Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running data hooks
Jul 6 07:54:07 haraka01 haraka[481720]: 2023-07-06T05:54:07.887Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 354 go ahead, make my day
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.177Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running data_post hooks
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.178Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] message mid=<CAEdv-_eCjBXz6K5LCP+RGs5zAFVFLnPuotp5oPQVwjak1EXV+A@mail.gmail.com> size=2285 rcpts=2/0/0 delay=0.001 code=CONT msg=""
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.178Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running queue hooks
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.178Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running queue hook in aliases plugin
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.178Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=queue plugin=aliases function=discard params="" retval=CONT msg=""
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.179Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running queue hook in queue/smtp_forward plugin
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.180Z [INFO] [-] [core] [smtp_client] uuid=818A5A77-0CA3-496D-9328-380340693636 host=mail.domainB.de port=25 created
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.180Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] Got smtp_client: 818A5A77-0CA3-496D-9328-380340693636
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.180Z [INFO] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] forwarding to mail.domainB.de:25
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.182Z [DEBUG] [-] [core] socket.remoteAddress undefined
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.183Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 220 EX01.domainB.de Microsoft ESMTP MAIL Service ready at Thu, 6 Jul 2023 07:54:07 +0200\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.183Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] C: EHLO haraka01
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.184Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-EX01.domainB.de Hello [2.2.2.2]\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.184Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-SIZE 104857600\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.184Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-PIPELINING\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.184Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-DSN\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-ENHANCEDSTATUSCODES\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-STARTTLS\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-X-ANONYMOUSTLS\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-AUTH NTLM\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-X-EXPS GSSAPI NTLM\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.185Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-8BITMIME\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.186Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-BINARYMIME\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.186Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-CHUNKING\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.186Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250-SMTPUTF8\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.186Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250 XRDST\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.186Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] C: MAIL FROM:<[email protected]>
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.188Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250 2.1.0 Sender OK\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.188Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] C: RCPT TO:<[email protected]>
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.189Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 250 2.1.5 Recipient OK\r\n
Jul 6 07:54:08 haraka01 haraka[481720]: 2023-07-06T05:54:08.190Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] C: RCPT TO:<[email protected]>
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.199Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [queue/smtp_forward] S: 550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain\r\n
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.200Z [INFO] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] hook=queue plugin=queue/smtp_forward function=queue_forward params="" retval=DENY msg="5.7.54 SMTP; Unable to relay recipient in non-accepted domain"
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.200Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running deny hooks
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.200Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] queue code=DENY msg="5.7.54 SMTP; Unable to relay recipient in non-accepted domain (BB535B99-4A7A-440F-942F-4421015ED98B.1)"
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.200Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain (BB535B99-4A7A-440F-942F-4421015ED98B.1)
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.200Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running reset_transaction hooks
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.201Z [DEBUG] [-] [core] [smtp_client] 818A5A77-0CA3-496D-9328-380340693636 releasing, state=1
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.202Z [DEBUG] [-] [core] [smtp_client] 818A5A77-0CA3-496D-9328-380340693636: [mail.domainB.de:25] SMTP connection closed (state=4)
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.349Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] C: QUIT state=1
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.350Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running quit hooks
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.350Z [PROTOCOL] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] S: 221 haraka01 closing connection. Have a jolly good day.
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.350Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] client has disconnected
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.350Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] running disconnect hooks
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.351Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] client has disconnected
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.351Z [DEBUG] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] client has disconnected
Jul 6 07:54:13 haraka01 haraka[481720]: 2023-07-06T05:54:13.351Z [NOTICE] [BB535B99-4A7A-440F-942F-4421015ED98B.1] [core] disconnect ip=1.1.1.1 rdns=mail-pj1-f49.google.com helo=mail-pj1-f49.google.com relay=N early=N esmtp=Y tls=N pipe=N errors=0 txns=1 rcpts=2/0/0 msgs=0/0/1 bytes=2285 lr="550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain (BB535B99-4A7A-440F-942F-4421015ED98B.1)" time=5.806
I don't think the logging is working. I see the alias plugin rcpt hook is running, but there is no logging shown for this plugin.
Looking at the code in this plugin I see logging looks like this:
connection.loginfo(plugin, `unknown action: ${action1}`)
In the hello.checks plugin logging looks like this:
this.loginfo(connection, `SKIPPING: ${test_name}`);
I'm not sure if these are logically equivalent, but as logging is not working I was wondering if something had changed in Haraka that had broke logging on this plugin.
2.8.8
aliases config file no effect
hook=queue plugin=aliases function=discard params="" retval=CONT msg=""
When rename aliases config to aliases.ini, aliases.json or aliases, it is no have any effect.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.