User Tools

Site Tools


software:dovecot:archiveserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
software:dovecot:archiveserver [2023/07/28 18:41] rodolicosoftware:dovecot:archiveserver [2023/09/25 14:42] rodolico
Line 25: Line 25:
 ===== Create a user and store for the e-mail ===== ===== Create a user and store for the e-mail =====
  
-We should use a different user/group for this and all mail will be owned by that user/group. Additionally, we don't want a login, so we'll set the shell to /dev/false. We'll also tell the adduser script to not create the home directory (we'll create it ourselves),+We should use a different user/group for this and all mail will be owned by that user/group. Additionally, we don't want a login, so we'll set the shell to /bin/false. We'll also tell the adduser script to not create the home directory (we'll create it ourselves),
  
 Message store (ie, home directory) can be anyplace. I'm going to set it up in /srv/vmail. This will be the head of a tree of subdirectories for individual users. Note, I use useradd (vs Debian's adduser) for simplicity. Message store (ie, home directory) can be anyplace. I'm going to set it up in /srv/vmail. This will be the head of a tree of subdirectories for individual users. Note, I use useradd (vs Debian's adduser) for simplicity.
  
 <code bash> <code bash>
-useradd --home-dir /srv/vmail --no-create-home --shell /dev/false --user-group --comment 'Used for vmail only' vmail+useradd --home-dir /srv/vmail --no-create-home --shell /bin/false --user-group --comment 'Used for vmail only' vmail
 mkdir -p /srv/vmail mkdir -p /srv/vmail
 chmod 755 /srv/vmail chmod 755 /srv/vmail
software/dovecot/archiveserver.txt · Last modified: 2023/09/25 15:19 by rodolico