LMTPD sockets

David Korpiewski davidk at cs.umass.edu
Fri Aug 18 09:43:21 EDT 2006

Hi all,
    Yes, I did find this option in imapd.conf later on and this did 
"solve" the problem that I was trying.   By changing the cyrus.conf 
file's socket location and also specifying lmtpsocket location in the 
imapd.conf, I was able to have two lmtpds running on two different 
servers using the same location to hold their socket information.

    I'm experimenting with XSAN 1.4, which is still in development and 
Apple did fix much of their locking issues.  However, after giving the 
lmtp daemon its own socket, both systems accessing the same database 
lead to an almost instant database corruption.    So Apple's locking 
must not be complete enough to keep this corruption from happening. 
However, the good news is that you can actually store a database on the 
xsan now.  It used to be that simply putting the database on the xsan 
lead to almost instant corruption with a single server.   So as long as 
you are swapping from one server to the other, you can use the same 
database for cyrus.

Thanks to all

Ben Poliakoff wrote:
> * David Korpiewski <davidk at cs.umass.edu> [20060817 14:03]:
>> This is building on my original discussion about simultaneous access:
>> We are having a problem where two servers accessing the same SAN now 
>> give us a LMTPD error because they are stomping on each other's sockets 
>> (they share the same database on the SAN with the same socket 
>> directory).  Is there any way to prevent this from happening or easily 
>> configuring them not to not to use the same sockets?
>> I've gone into cyrus.conf and changed the socket directory listed for 
>> lmtpd but for some reason the deliver still fails on accessing the 
>> original socket directory.   So somewhere else in the system it is 
>> trying to access configdirectory/socket/lmtpd.
> I suspect you need to look at modifying the 'lmtpsocket:' option in
> imapd.conf:
>>From the man page:
>        lmtpsocket: {configdirectory}/socket/lmtp
>             Unix domain socket that lmtpd listens on, used by
>             deliver(8). This should match the path specified in
>             cyrus.conf(5).
> Ben

David Korpiewski                     Phone: 413-545-4319
Software Specialist I                Fax:   413-577-2285
Department of Computer Science       ICQ:   7565766
University of Massachusetts Amherst

More information about the Info-cyrus mailing list