I've deleted the file and run makeuserdb a few times.  The contents of my
userdb file (while showing control characters in vim) is:

sirena^Iuid=5000|mail=/var/mail/vhosts/
blackwatersiren.com/sirena|home=/var/mail/vhosts/blackwatersiren.com/sirena|systempw=$1$3neVHf6L$.2YOiAkbaXVun1fgKd7Cq51|gid=5000

The ^I is a vertical tab. The 0 at the end of the line is the last
character in the file. There is no blank line appended to it.  This file
was generated with:

userdb sirena set home=/var/mail/vhosts/blackwatersiren.com/sirena
mail=/var/mail/vhosts/blackwatersiren.com/sirena uid=5000 gid=5000
userdbpw -md5|userdb sirena set systempw
(i changed a few characters of the md5 above for the security of my client,
though i don't know if that matters)

On Fri, Aug 24, 2018 at 5:28 PM Sam Varshavchik <[email protected]>
wrote:

> Bearcat M. Şándor writes:
>
> > Yes, i did create a userdb.dat (it's the last line of that gist).  Some
> of
> > the files in /etc/courier/ are owned by root:root instead of
> root:courier and
> > the userdb files are among them.  I tried changing those to root:courier
> but
> > the same error occurred.
> >
> >
> > I could use postfix to map email addresses to mailboxes, but i think
> that
> > portion is working for now, and i'm loathe to mess with that at the
> moment.
> >
> >
> > Anyone have any ideas on what to try next? I'm stymied and need to get
> this
> > fixed today.
>
> Check for any control characters. Check that the makeuserdb script is
> actually reading the right userdb file (try removing it, and see if
> makeuserdb complains). As a measure of last resort, remove the userdb
> file
> entirely and recreate it using the userdb command, as documented, before
> running makeuserdb again.
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
>


-- 
Bearcat M. Şándor
Feline Soul Systems LLC
Voice: 872.CAT.SOUL (872.228.7685)
Fax: 406.235.7070
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to