[ILUG] Re: [SAGE-IE] courier/authdb with virtual domain on postfix
samjie at gmail.com
Fri Dec 31 10:07:21 GMT 2004
You're on the right track, but you probably want to be writing to
/etc/courier/userdb and using makeuserdb to create
/etc/courier/userdb.dat from it (courier reads a database file for
speed/scalability rather than a flat text file). I believe there is
also a userdb command for safely manipulating this file (although
you're welcome to script it or use your own editor too).
Happy new year,
+353 85 707 2971
On Fri, 31 Dec 2004 01:02:27 +0000, FRLinux <frlinux at gmail.com> wrote:
> I am using postfix on a Debian server with courier as the pop/imap
> server. I have both real accounts and since today, a new virtual
> domain that i am trying to administer via postfix/courier. Receiving
> mail is not a problem, i have them handled by postfix directives to
> The difficult bit is getting a valid authentication via courier with
> authdb. I then created a /etc/courier/authdb file with the following :
> user uid=666|gid=666|home=/var/spool/mail/virtual/virtualdomain/user|systempw=encryptedpw
> I encrypted the passwd using userdbpw both with and without -md5 but
> am still getting a login failed in the mail logs.
> I am using standard sid packages from debian and have these modules
> listed in /etc/courier/authmodulerc "authpam authuserdb"
> Does it sound familiar to anyone ?
> "Step by step, penguins are taking my sanity apart ..."
> Members mailing list
> Members at lists.sage-ie.org
More information about the ILUG