Solved

Postfix and cyrus lmtp permission denied

Posted on 2004-03-25
3
1,005 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
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

778 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