Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting Problems with Postfix, Dovecot, and MySQL #2956

Open
Rajakavitha1 opened this issue Dec 11, 2019 · 0 comments
Open

Troubleshooting Problems with Postfix, Dovecot, and MySQL #2956

Rajakavitha1 opened this issue Dec 11, 2019 · 0 comments
Assignees

Comments

@Rajakavitha1
Copy link
Collaborator

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.

@Rajakavitha1 Rajakavitha1 self-assigned this Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant