nodemailer / haraka-plugin-wildduck

Wild Duck plugin for Haraka
European Union Public License 1.1
26 stars 14 forks source link

How to enable "logdebug" to be written to syslog #1

Closed fcardona closed 6 months ago

fcardona commented 6 years ago

Hello. I am trying to figure out why wildduck is rejecting email. I believe it's related to the haraka-plugin-wildduck and would like to enable debug messages, such as this one, to be logged to file.

Here are some relevant logs which make me suspect that the plugin is not finding the recipient email in case you are interested...

May 18 20:36:48 email-server haraka[1626]: [NOTICE] [7A38DBAF-7414-4151-B8EA-1393939186AD.1] [core] sender <[sender_email]@gmail.com> code=CONT msg=""
May 18 20:36:48 email-server haraka[1626]: [INFO] [7A38DBAF-7414-4151-B8EA-1393939186AD.1] [core]  hook=rcpt plugin=wildduck function=hook_rcpt params=<[recipient_email]> retval=DENYSOFT msg="[object Object]"
May 18 20:36:48 email-server haraka[1626]: [NOTICE] [7A38DBAF-7414-4151-B8EA-1393939186AD.1] [core] recipient <[recipient_email]> code=DENYSOFT msg="[object Object]" sender=[sender_email]@gmail.com
May 18 20:36:48 email-server haraka[1626]: [NOTICE] [7A38DBAF-7414-4151-B8EA-1393939186AD.1] [core] disconnect ip=209.85.218.50 rdns=mail-oi0-f50.google.com helo=mail-oi0-f50.google.com relay=N early=N esmtp=Y tls=Y pipe=Y errors=0 txns=1 rcpts=0/1/0 msgs=0/0/0 bytes=0 lr="554
No valid recipients" time=0.419
msimerson commented 6 months ago

Use the syslog plugin: https://www.npmjs.com/package/haraka-plugin-syslog