Closed ravivgolov closed 2 months ago
Try installing it as the docs show. Put the dhparams.pem file the root of the config directory and set dhparam=dhparams.pem
.
I did as the docs show, it will always throw an error.
This error is not relevant, the more important. Do you know why the bounces are not sent to the sender-path? I triggered in purposes bounces, but they do not return to the sender-path.
I can see the bounce trigger in the console, but not sending to the sender.
I did as the docs show, it will always throw an error.
This is a useless response. When you ask for help, you have a responsibility to not be wasting others time. Ask smarter questions. Read the error messages. If you don't understand the logs, post them and the messages surrounding them.
Bounces are just email messages like any other. Troubleshoot their delivery the same as any other message. What do the logs show? Is it stuck in the queue?
2024-04-23T15:09:11.511Z [INFO] [21D5EE97-9C65-4617-96DC-31CAC5E3F5D2.1.1] [outbound] bouncing mail: Some recipients failed: <raviv@outlook.com>
2024-04-23T15:09:11.512Z [INFO] [-] [outbound-logger] Bounced Record Added.
{"level":"info","time":"2024-04-23T15:09:11.511Z","pid":76264,"hostname":"relay.mymta.com","name":"outbound_logger","type":"bounced","job_id":"21D5EE97-9C65-4617-96DC-31CAC5E3F5D2.1.1","queue_time":"2024-04-23T15:09:10.358Z","recipient":"raviv@outlook.com","from":"raviv@customdomain.com","subject":"Testing email delivery","dsn_status":"550","dsn_message":"Requested action not taken: mailbox unavailable (S2017062302). [DU2PEPF00028D0B.eurprd03.prod.outlook.com 2024-04-23T15:09:11.466Z 08DC6181F4FA603C]","dsn_action":"failed","undelivered_reason":"550 5.5.0 Requested action not taken: mailbox unavailable (S2017062302). [DU2PEPF00028D0B.eurprd03.prod.outlook.com 2024-04-23T15:09:11.466Z 08DC6181F4FA603C]"}
2024-04-23T15:09:11.512Z [INFO] [21D5EE97-9C65-4617-96DC-31CAC5E3F5D2.1.1] [outbound] hook=bounce plugin=outbound-logger function=handle_bounced params="" retval=OK msg=""
2024-04-23T15:09:11.512Z [INFO] [21D5EE97-9C65-4617-96DC-31CAC5E3F5D2.1.1] [outbound] Plugin responded with: 906. Not sending bounce.
Bounce settings:
[check]
reject_all=false
single_recipient=true
empty_return_path=true
bad_rcpt=true
bounce_spf=true
non_local_msgid=true
[reject]
single_recipient=true
empty_return_path=true
bounce_spf=false
non_local_msgid=false
I appreciate your help.
[outbound] Plugin responded with: 906. Not sending bounce.
Please read that slowly and carefully. Then explain to me which part isn't clear.
I understand it, but why? How to enable sending the bounce? this bounce is important.
This is why: Plugin responded with: 906
. Don't install or use plugins you don't understand.
Oh, thank you, that was the outbound-logger settings: ;stop_at_bounce = true Should be stop_at_bounce = false
Superb matt! so lucky you help me with a very good answer.
By the way, the plugin has a bug. stop_at_bounce = false not affecting, I had to remove the plugin. some one need to update this plugin to work.
How do I change the 250-mail.example.com Hello client.example.com [192.168.1.1], Haraka is at your service. "Haraka is at your service"
How do I get rid of this error message?
Additionally to the above issue, I am not able to figure out how to connect via the secured port 465. Created cert successfully using https://github.com/acmesh-official/acme.sh, compiled into one file:
cat /home/ubuntu/.acme.sh/my.haraka.com_ecc/my.haraka.com.key /home/ubuntu/.acme.sh/my.haraka.com_ecc/my.haraka.com.cer /home/ubuntu/.acme.sh/my.haraka.com_ecc/ca.cer > /opt/haraka/config/tls/my.haraka.com.pem
TLS.ini file:
folder path files:
Output haraka:
swaks --to email@gmail.com --from my@email.com --server localhost --port 465 --auth-user test --auth-password test --header "Subject: Test DKIM signing":
While I am trying 587: ubuntu@relay:~$ telnet localhost 587
smtp.ini: ; address to listen on (default: all IPv6 and IPv4 addresses, port 25) ; use "[::0]:25" to listen on IPv6 and IPv4 (not all OSes) ; listen=[::0]:587 listen=127.0.0.1:587, 127.0.0.1:465, 127.0.0.1:25
Ports 587, 25, and 465 are opened in the Ubuntu firewall.