Dovecot's vpopmail-auth driver patch

July 28, 2023 by Roberto Puzzanghera 2 comments

Ali Erturk TURKER is maintaining a patch which restores to life the vpopmail-auth driver for Dovecot (more info here).

Patch and configure as follows. Be aware that an autoreconf must be provided, as the configure.ac has been modifed.

patch -p1 < dovecot_x.y.z_vpopmail_auth.patch
autoreconf -f -i
./configure \
--other-options-here \
--with-vpopmail

Modifications of the Dovecot configuration with respect to the sql driver suggested in my guide (more info here):

File 10-master.conf

service auth {
  unix_listener auth-userdb {
    mode = 0600
    user = vpopmail
    group = vchkpw
  }
  user = vpopmail
}

service auth-worker {
  user = vpopmail
  unix_listener auth-worker {
   user = vpopmail
   group = vchkpw
   mode = 0660
  }
}

Comments

Using the patch on Gentoo

Thanks for the excellent collection of all things around dovecot. I never understood why vpopmail support was removed.

To use vpopmail auth on gentoo, just:

mkdir -p /etc/portage/patches/net-mail/dovecot-2.3.20-r3 
cd /etc/portage/patches/net-mail/dovecot-2.3.20-r3
wget https://notes.sagredo.eu/files/qmail/patches/vpopmail/dovecot_vpopmail-auth/dovecot_2.3.20_vpopmail_auth_rev01.patch
EXTRA_ECONF="--with-vpopmail" emerge -v dovecot

Reply |

Using the patch on Gentoo

Thanks for sharing!

Reply |

Recent comments
See also...
Recent posts

RSS feeds