AFP548

mail store and database on other partition

I'm trying to change the location of the default mail store and mail database to folders on a separate partition.

If I go to Server Admin > Mail > Advanced > Database and change 'Database location' and 'Mail store location' to the folders I want to use on /Volumes/mail, then no mail gets delivered:

When restarting the server after making this change, this appears in system.log:

... master[...]: unable to create lmtpunix listener socket: Invalid argument
... deliver[...]: connect(/Volumes/mail/database/socket/lmtp) failed: Connection refused

And this is in mail.log when trying to send a message:

... to=, relay=cyrus, delay=0, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ )

It seems to be something to do with the ability to create or access a socket for lmtp...

I do have permissions enabled on the volume, and all the relevant folders are owned and writable by cyrusimap:mail

There is a socket at /Volumes/mail/database/socket/lmtp (owned by system:mail and world read/writable).

Anybody know what to do?
Exit mobile version