By Penguinlvt
As I follow the tutorial https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-22-04#step-1-installing-postfix
I stucked at: echo ‘init’ | s-nail -s ‘init’ -Snorecord myuser It do not create directory structure
/home/myuser/Maildir/: cur new tmp
Please help, thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
The problem may be due to the absence of a correctly configured mailbox for the user myuser on your Ubuntu server. Postfix needs this mailbox for storing and managing emails.
To ensure proper Postfix configuration and mailbox setup, please follow these steps:
- sudo adduser myuser
- sudo su - myuser
- mkdir -p Maildir/{cur,new,tmp}
- exit
- echo 'init' | s-nail -s 'init' -Snorecord myuser
For more in-depth information, you can always refer to Postfix docs:
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.