On Tue, 2018-10-09 at 15:30 +0200, Selmeci Tamás wrote: > On Tue, 9 Oct 2018 12:08:00 +0200 Sami Ketola <sami.ket...@dovecot.fi > > wrote: > > > How do you deliver then mails to the server? > >
> > OpenSMTPD and Dovecot run on the same machine. OpenSMTPD receives > incoming mails and stores them in a mailbox (/var/spool/mail/user). > Dovecot then fetches mails from this mailbox file. > Regarding locks, OpenSMTPD's config should match methods AND order of dovecot's mbox_write_locks. Methods known by dovecot are dotlock, flock, fcntl and lockf. I couldn't find out, which methods are used by OpenSMTPD. Dovecot's mbox_read_locks should match too, but dotlock isn't used. https://wiki.dovecot.org/MailLocation/mbox https://wiki.dovecot.org/MboxLocking https://wiki.dovecot.org/MailboxFormat/mbox Martin