Hardware: VPS YunoHost version: 18.104.22.168 I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
How can I use multiple domains for mailing? I can only send mail from my main-domain which is mgmt.deckplosion.de so sending from @mgmt.deckplosion.de works but If I want to send mails from @deckplosion.de it brings the follow error:
Jan 02 12:53:06 postfix/smtpd: NOQUEUE: reject: RCPT from localhost[::1]: 553 5.7.1 <firstname.lastname@example.org>: Sender address rejected: not logged in; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<mgmt.deckplosion.de>
Jan 02 12:53:06 postfix/smtpd: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=0/1 quit=1 commands=3/4
Seems like I need to tell yunohost that it is allowed to send mails from users @deckplosion.de or at any other domain I have in my yunohost-domain-list?
I tried it via snappymail - when my Account Mail is set to email@example.com everything works fine. I can send and receive mails. But when I change it in the account settings to firstname.lastname@example.org (I also have this domain configured in “Domains”) sending mail fails with the mentioned error from above.
If I add my account to thunderbird, I get a Certificate Error, when I Import it I can send mails. So theres something wrong how certificates are set up?
You know howto set the server up so you can use one subdomain for mx for all domains? like use mail.deckplosion.de for all my domains (or mgmt. it doesnt matter)? Thats how it is typícally done, because you can also set one ptr per server usually. I really love yunohost, but the mail thing is kinda hard to understand whats going on on the server.
I believe there’s nothing special to do apart from following the recommended DNS conf / what the Diagnosis tells you about DNS records. Your current issue doesnt seem to be related to DNS records anyway.
That’s probably a different issue, something related to SNI which you need to force-regen due to a bug fixed in 11.1 … the workaround is somewhere on the forum but i’m in the middle of something else and don’t have time to look it up
Can you confirm that this address is defined as an alias for your yunohost account ?
Yeah no problem I have a month to migrate my old server to a new one, that best would run via yunohost Its 5-6 different domains with mailing + wordpress so nothing big but would be nice to have it up and running with this beautíful software. Looking forward for the bug your mentioned, maybe you can post it in the next days.
Regarding dns records: Its kinda strange that it says I should set a mx record to each of my domain to itself, when the server could and should (?) only send from one mail-srv? Usually I would set the mx record for a second domain to the same value as on my first domain as they use the same mailserver.
I tried both it still doesnt work. I setup mailcow just to try out if something is wrong with my dns or I dont know just to know and … mailing works out of the box there with simplified dns records. Problem is it takes all of my ram from my server guess there wont be enough ram for the websites left as it runs as a docker container. So I would like to stick with yunohost it feels way more light then mailcow (and its only mailserver not like yunohost a complete solution for all your needs)