Solved

Postfix and cyrus lmtp permission denied

Posted on 2004-03-25
3
999 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 61

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now