Can't cannocilazie "home/user/Maildir"

by Car Paradise   Last Updated May 28, 2018 11:02 AM

I just started learning ubuntu and trying to set up mail system (To use roundcube) I am using online tutorial, to set up Postfix. Did everything like in tutorial, but are stuck here:

Copy info from tutorial:

Send the email by piping a string to the mail command. Adjust the command to mark your Linux user as the recipient:

echo 'init' | mail -s 'init' -Snorecord username

You should get the following response:

Can't canonicalize "/home/sammy/Maildir"

This is normal and will only show during this first message. We can check to make sure the directory was created by looking for our ~/Maildir directory:

ls -R ~/Maildir

You should see the directory structure has been created and that a new message file is in the ~/Maildir/new directory:

Output
/home/username/Maildir/:
cur  new  tmp

/home/username/Maildir/cur:

/home/username/Maildir/new:
1463177269.Vfd01I40e4dM691221.mail.example.com

/home/username/Maildir/tmp:

But at this point I get stuck :

ls: cannot access 'home/username/Maildir': no such file or directory



Answers 1


I had a similar problem until I changed the username in the documentation to what is specific to mine - bitnami. Username for some Ubuntu intallations are ec2-user, admin, root, etc. You will need to confirm from your documentation.

Once you confirm the username, type this command at the prompt to re-adjust that setting in Postfix mail settings: sudo dpkg-reconfigure postfix

Then continue configuration from that point of the documentation. I hope that helps.

Tosin
Tosin
May 28, 2018 10:11 AM

Related Questions


Postfix SMTP mail server External smtp relay

Updated February 06, 2017 14:00 PM

Undo posmap and posconf commands

Updated May 27, 2018 14:02 PM

Cannot Get Postfix to Start on Ubuntu Server

Updated February 23, 2016 04:01 AM

sending a mail simply

Updated June 09, 2017 02:02 AM

Postfix to send email using gmail address

Updated May 03, 2018 06:02 AM