Comment on I've try to set up my E-Mail server š¬. Dovecot + Postfix. I can sends, but I can't receives.
communism@lemmy.ml āØ13ā© āØhoursā© ago
Just reading the first logs you pasted, it tells you the answer there. You canāt receive emails because youāre trying to receive emails as root, and writing emails to the home directory. Dovecot doesnāt run as root so it canāt write to rootās home directory.
You would ordinarily not receive mail as root. Most people set up root to redirect to your actual user. Look into Postfix aliases.
Try emailing a non-root user. It should write to the inbox. I mean, without your Dovecot configs, I canāt tell if thereās anything else wrong with them, but from the errors it seems Dovecot would work if not for the permissions errors.
Do you mean to donāt write some E-Mail to root@xolat.games? š¤
But thereās the problem, if you mean this! I was try to write to hello@xolat.games, and Iāve already made separated user on my server for this, and have add it to
mailgroup. But, despite on this, I guess that it still tries to put something to root user š¤·āāļøBut whatās the configs do you need? š¤ Dovecot has about 20 separated configuration files! Do I will need to put each of them? š¤
You can, but most email servers redirect mail to root@xolat.games to some other user eg xolatgames@xolat.games. The root user usually does not have their own inbox.
Iām not sure why
hellois trying to write to/home/rootthen, thatās your problem. Do you have any Postfix aliases set up? Check/etc/postfix/aliases(thereās a chance itās in a different location; the output ofpostconf alias_mapswill tell you where it is).Just post the output of
doveconf -n. Redact any sensitive info.