Commit e3bc5061 authored by nimrod's avatar nimrod
Browse files

Shell function for creating a new mailbox folder.

parent 504c9ed0
Loading
Loading
Loading
Loading

.bashrc.d/host01

0 → 100644
+6 −0
Original line number Diff line number Diff line
# shellcheck shell=bash
# vim: ft=sh

new-mail-folder () {
    docker --host=ssh://host01.shore.co.il exec mail-imap-1 install -o "$(id -u)" -g dovecot -m 660 /dev/null "/var/mail/nimrod/${1}"
}