set default server mail address via UI/Setting
-
Cloudron system mails are send out by default via via no-reply@CLOUDRONDOMAIN.XX. It would be great to set the "from:" name also in the ui.
My current problem is, that I would like to use PostmarkApp to send our cloudron system mails, but this is not possible, due to the problem, that cloudron sends mails (with a from mail which is not configurable.) I would like to send system mails eg. Via offic@SOMEOTHERDOMAIN.XX instead of no-reply@CLOUDRONDOMAIN.XX which is the default.
-
I get this in email log:
{
"ts": 1705660417456,
"type": "bounce",
"direction": "outbound",
"uuid": "EC066014-7A57-446F-A979-A5FDC8DD32F5.1",
"messageId": null,
"mailFrom": "<>",
"spamStatus": null,
"mailbox": null,
"quotaPercent": null,
"rcptTo": [
"no-reply@mydomain.de"
],
"message": "Some recipients failed: no-reply@mydomain.de",
"mx": {
"exchange": "mxext2.mailbox.org",
"priority": 10,
"family": "A",
"bind_helo": "mail.mydomain.de"
},
"bounced_rcpt": [
{
"original": "no-reply@mydomain.de",
"user": "no-reply",
"original_host": "mydomain.de",
"host": "mydomain.de",
"reason": "550 5.1.1 no-reply@mydomain.de: Recipient address rejected: User unknown in relay recipient table",
"dsn_action": "failed",
"dsn_smtp_code": "550",
"dsn_smtp_extc": "5.1.1",
"dsn_status": "5.1.1",
"dsn_smtp_response": "no-reply@mydomain.de: Recipient address rejected: User unknown in relay recipient table",
"dsn_remote_mta": "mxext2.mailbox.org"
}
]
} -
@lukas Just a guess : I think mailbox.org wants you to create a mailbox named
no-reply
. I think it will work after that. Note that if this is the case, you have to create a mailbox for the apps as well i.e the MAIL FROM address you set in https://docs.cloudron.io/apps/#email . -
Incidentally, I have similar problems with mailbox.org as a relay- server.
After Calibre somehow „forgot“ my account and I tried to reset the password, I have the following in my mail log:{ "ts": 1705738207792, "type": "denied", "direction": "inbound", "uuid": "52672D92-55A1-45FD-8A51-8BFAC2E026A5.1", "messageId": null, "mailFrom": "<books.app@domain.net>", "spamStatus": null, "mailbox": null, "quotaPercent": null, "rcptTo": [], "remote": { "ip": "fd00:c107:d509::6", "port": 48958, "host": "21633ae0-9125-4384-9d2e-bd040ed31952.cloudron", "info": "21633ae0-9125-4384-9d2e-bd040ed31952.cloudron", "closed": false, "is_private": true, "is_local": true }, "authUser": null, "relaying": false, "pluginName": "rcpt_to.in_host_list", "errorCode": 902, "message": "Mail from domain 'domain.net' is not allowed from your host", "rejectionCountLastHour": 0 }
-
@necrevistonnezr that looks like maybe the SPF record is not correct . Does the SPF record have mailbox.org in it?
-
Yes
v=spf1 include:mailbox.org ~all
-
@necrevistonnezr said in set default server mail address via UI/Setting:
"authUser": null,
this seems to be the bug. Because there is no authentication user, Cloudron thinks it's an incoming mail. I think it's a miconfiguration in the app maybe. Let me check.
-
Thank you very much!