Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1029
  • 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
0
tabarin
Asked:
tabarin
2 Solutions
 
gheistCommented:
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
0
 
fyerkCommented:
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.
0
 
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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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