linode / linode/docs

Troubleshooting Problems with Postfix, Dovecot, and MySQL

Open
#2,956 0 comments 0 reactions 1 assignee View on GitHub

@Rajakavitha1 is already working on this.

Since Dec 11, 2019.

Dominant language
Python
Stars
1.4k
Forks
1.2k
Avg merge
9m
Merged PRs (30d)
1

Description

Update the guide based on the comment in Disqus:
*********************************************************A couple comments that might help others avoid difficulties that I experienced in the section pertaining to Dovecot.

In Step 14 of "Virtual Domains and Users" we are given the line
mail_location = maildir:~ #update mail_location

Given the earlier instructions at the start of the section (bullet point 4), this line would be much more helpful if it were instead:
mail_location = maildir:/var/mail/vhosts/example.com/user/

In trying to interpret this instruction, I mistakenly left the "~" in when adding the address, and spent a great deal of time
wondering why emails were not being located. As I was running the tests from root, I somehow ended up with /root/var/mail/vhosts/... and of course no email there as it was being correctly sent to /var not ~/var.

Secondly, the Dovecot site has some very helpful trouble-shooting scripts (in their documentation, under "TestInstallation"). If the reader is following this guide, the place to edit for extra debugging messages to be included in the log file is at /etc/dovecot/conf.d/10-logging.conf, and the logs can be read at /var/log/mail.log. At least, that is where they are for me and I'm trying to follow the instructions as closely as possible.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.