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,
Sam
--
Sam Johnston
+353 85 707 2971
On Fri, 31 Dec 2004 01:02:27 +0000, FRLinux <frlinux at gmail.com> wrote:
> Hello,
>> 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
> maildrop.
>> 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 ?
>> Cheers,
> Steph
> --
> "Step by step, penguins are taking my sanity apart ..."
>> _______________________________________________
> Members mailing list
>Members at lists.sage-ie.org>http://lists.sage-ie.org/mailman/listinfo/members>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!