• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1031
  • Last Modified:

Postfix and cyrus lmtp permission denied

Sending mail works, when receiving mail for a user I get lmtp permission denied in /var/log/maillog any help
2 Solutions
lmtp runs as user incapable to write maillog.
This is bad, maillog is written via syslog, so others should not write to it.
Consider using another logfile with appropriate permissions
If you are running Cyrus-IMAP under the user 'cyrus' make sure it has permissions to write to /var/spool/imap and /var/imap (or wherever your imap spool and data directories are located).

Generally, the LMTP socket is under /var/imap/socket, so if the 'cyrus' user has permissions to /var/imap, that should fix the problem.
tabarinAuthor Commented:
Thanks, right after I posted this question the problem was fixed by adding the user postfix to the cyrus group which allows it to access the lmtp socket file
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now