Hi there,
I’m following this tutorial on how to install Postfix on Ubuntu 18.04 and seem to have encountered an issue at the end of the tutorial under Step 7 which asks you to initialise the directory structure.
In the tutorial, it asks you to run the command echo ‘init’ | s-nail -s ‘init’ -Snorecord sammy. I’m running 'echo ‘init’ | s-nail -s ‘init’ -Snorecord root’ however don’t receive any feedback.
Once I run 'ls -R ~/Maildir (the next step), I receive: ls: cannot access ‘/root/Maildir’: No such file or directory and aren’t able to proceed further.
Hoping someone might be able to push me in the right direction?
Cheers.
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!
Hello, @wisie
In order to follow this guide, you should have access to a non-root user with sudo privileges. You can follow our Ubuntu 18.04 initial server setup guide to create the necessary user. - https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-18-04
From what I can see you are executing the commands as the root user - e.g ~/Maildir is giving the following output - ls: cannot access ’/root/Maildir’: No such file or directory
Hope that helps!
Regards, Alex
Same issue echo 'init' | s-nail -s 'init' -Snorecord sammy doesn’t create Maildir structure
I’ve to create it manually:
mkdir -p ~/Maildir/{cur,new,tmp}
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.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.