Postfix & Cyrus woes on Fedora (FC5)
tkaczma
no-reply-gw at fcp.homelinux.org
Fri Jul 14 18:26:57 UTC 2006
I'm struggling with setting up Postfix to deliver to Cyrus via LMTP unix socket.
I receive the following errors and mail just sits in the queue:
Jul 13 11:32:09 server0 postfix/lmtp[21956]: fatal: match_list_parse:
open file /var/lib/imap/socket/lmtp: No such device or address
Jul 13 11:32:10 server0 postfix/master[21119]: warning: process
/usr/libexec/postfix/lmtp pid 21956 exit status 1
Jul 13 11:32:10 server0 postfix/master[21119]: warning:
/usr/libexec/postfix/lmtp: bad command startup -- throttling
---
Initially, I had some problems with SELinux when it was set to Enforce, but I created a policy to allow Cyrus to access the socket.
Furthermore, after the permission problems went away I changed the policy to permissive to just avoid any possible hidden problems while I figure out what's going on
I am able to deliver mail via the LMTP unix socket to Cyrus using a simple unix socket "telnet" client I wrote, so it appears the Cyrus side is working fine.
As for Postfix, here is the lmtp line out of master.conf:
lmtp unix - - n - - lmtp
main.conf:
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
An ls -lZ of the socket:
srwxrwxrwx root root user_u:object_r:cyrus_var_lib_t /var/lib/imap/socket/lmtp
And, the directories leading up to the socket:
drwxr-x--- cyrus mail system_u:object_r:cyrus_var_lib_t /var/lib/imap/socket
drwxr-x--- cyrus mail system_u:object_r:cyrus_var_lib_t /var/lib/imap
drwxr-xr-x root root system_u:object_r:var_lib_t /var/lib
drwxr-xr-x root root system_u:object_r:var_t /var
drwxr-xr-x root root system_u:object_r:root_t /
---
The version of Postfix I'm working with is 2.2.8-1.2.
Could someone please give me some ideas about what's wrong.
--
This is an email sent via the webforum on http://fcp.homelinux.org
http://fcp.homelinux.org/modules/newbb/viewtopic.php?post_id=99790&topic_id=23876&forum=24#forumpost99790
More information about the fedora-list
mailing list