Simon Loewen writes:



Sam Varshavchik wrote:
Simon Loewen writes:

Hint: use the passwd command to set the same password for a regular
account. Observe that the contents of /etc/passwd change every time,
even if the password is the same.

I'm a bit confused. The only user in /etc/passwd is vmail.  All other

Fine. However, you asked why you're seeing different encrypted passwords when your cleartext password remains the same.

I offered you a hint, that explains why.

users are in the userdb file and I am not trying to change anything in
/etc/passwd.  I only want to question the use of systempw verses imappw/
pop3pw.  Clearly, I don't understand i) what systempw is meant to
achieve,

systempw is the direct equivalent of a traditional password.

         and ii) how to have a user log in via IMAP or webmail - I note
this because when I set imappw and try and log in the user/passwd is
invalid message is displayed.

Perhaps the documentation is not clear, but imappw is consulted only for userdb and only for IMAP logins. It is not consulted for other kinds of logins (SMTP, or POP3, or sqwebmail). This is present for situations where one wants to have access to an account via IMAP, but not via any other access mechanism.


ii) I have no idea how to specify the imap users Maildir. I thought that
I had done this using userdb as in this command:
userdb "$TLD/$...@$tld" set \
             home=/var/spool/imap/users/$ACT/$TLD/$USR \
             uid=7200 gid=7200

That's the account's home directory.

There is no real difference between mail accounts, and ordinary accounts that you log in to via ssh, telnet, or at the system console. The only difference is where the account's home directory, uid, and gid, is specified: in /etc/passwd+/etc/shadow, or from some other source. Here, the source is the userdb database, and you've just specified the account's home directory.

I'm sure that for your regular login account, you do not get your mail delivered to $HOME, but rather to $HOME/Maildir, so here why would you expect mail delivered straight to the given directory?

If this is the case then how does one set a) the directory for the IMAP
user and b) how does one add or change the password for the IMAP _and_
SMTP-AUTH accounts?

Use systempw.


Attachment: pgpq4Lp652gWH.pgp
Description: PGP signature

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to