Solved

Postfix and cyrus lmtp permission denied

Posted on 2004-03-25
3
1,012 Views
Last Modified: 2013-11-22
Sending mail works, when receiving mail for a user I get lmtp permission denied in /var/log/maillog any help
0
Comment
Question by:tabarin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 45 total points
ID: 10685767
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
 
LVL 1

Assisted Solution

by:fyerk
fyerk earned 80 total points
ID: 10708900
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
 

Author Comment

by:tabarin
ID: 10785203
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question