Add missing mailbase stuff
This commit is contained in:
parent
0dfc96c60a
commit
75d22ff1f7
@ -32,6 +32,11 @@ RUN eclectic config accept-all
|
|||||||
|
|
||||||
##### APPLICATION CONFIG #####
|
##### APPLICATION CONFIG #####
|
||||||
|
|
||||||
|
# copy "mailbase" stuff
|
||||||
|
COPY ./config/mailcap /etc/mailcap
|
||||||
|
COPY ./config/mail /etc/mail
|
||||||
|
COPY ./config/pam.d /etc/pam.d
|
||||||
|
|
||||||
# create dovecot certificates
|
# create dovecot certificates
|
||||||
RUN mkdir -p /var/tmp/dovecot-cert
|
RUN mkdir -p /var/tmp/dovecot-cert
|
||||||
RUN cp /usr/share/doc/dovecot-*/mkcert.sh /var/tmp/dovecot-cert/ ; \
|
RUN cp /usr/share/doc/dovecot-*/mkcert.sh /var/tmp/dovecot-cert/ ; \
|
||||||
|
34
config/mail/aliases
Normal file
34
config/mail/aliases
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Basic system aliases -- these MUST be present.
|
||||||
|
MAILER-DAEMON: postmaster
|
||||||
|
postmaster: root
|
||||||
|
|
||||||
|
# General redirections for pseudo accounts.
|
||||||
|
adm: root
|
||||||
|
bin: root
|
||||||
|
daemon: root
|
||||||
|
exim: root
|
||||||
|
lp: root
|
||||||
|
mail: root
|
||||||
|
named: root
|
||||||
|
nobody: root
|
||||||
|
postfix: root
|
||||||
|
|
||||||
|
# Well-known aliases -- these should be filled in!
|
||||||
|
# root:
|
||||||
|
# operator:
|
||||||
|
|
||||||
|
# Standard RFC2142 aliases
|
||||||
|
abuse: postmaster
|
||||||
|
ftp: root
|
||||||
|
hostmaster: root
|
||||||
|
news: usenet
|
||||||
|
noc: root
|
||||||
|
security: root
|
||||||
|
usenet: root
|
||||||
|
uucp: root
|
||||||
|
webmaster: root
|
||||||
|
www: webmaster
|
||||||
|
|
||||||
|
# trap decode to catch security attacks
|
||||||
|
# decode: /dev/null
|
||||||
|
|
25
config/mailcap
Normal file
25
config/mailcap
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
text/plain; less '%s'; needsterminal
|
||||||
|
application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
|
||||||
|
text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
|
||||||
|
text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
|
||||||
|
text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
|
||||||
|
message/partial; showpartial '%s' %{id} %{number} %{total}; description="An incomplete message"
|
||||||
|
message/external-body; showexternal '%s' %{access-type} %{name} %{site} %{directory} %{mode} %{server}; needsterminal; description="A reference to data stored in an external location"; composetyped="extcompose '%s"'
|
||||||
|
audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; nametemplate=%s.au
|
||||||
|
application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
|
||||||
|
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
|
||||||
|
text/plain; more '%s'; needsterminal
|
||||||
|
application/xrx; view=xrx '%s'; description="remote X application"; test=test "$DISPLAY"; nametemplate=%s.rx
|
||||||
|
text/richtext; richtext '%s'; description="Richtext"; copiousoutput
|
||||||
|
text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
|
||||||
|
text/plain; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
|
||||||
|
text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
|
||||||
|
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
|
||||||
|
text/*; less '%s'; needsterminal
|
||||||
|
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
|
||||||
|
text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test "$DISPLAY" != ""
|
||||||
|
text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
|
||||||
|
text/*; more '%s'; needsterminal
|
||||||
|
*/*; less '%s'; needsterminal
|
||||||
|
*/*; false; print=lpr '%s'
|
8
config/pam.d/imap
Normal file
8
config/pam.d/imap
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Provided by mailbase (dont remove this line!)
|
||||||
|
# Standard pam.d file for mail service packages.
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
auth required pam_nologin.so
|
||||||
|
auth include system-auth
|
||||||
|
account include system-auth
|
||||||
|
session include system-auth
|
1
config/pam.d/imap4
Symbolic link
1
config/pam.d/imap4
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
imap
|
1
config/pam.d/imap4s
Symbolic link
1
config/pam.d/imap4s
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
imap
|
1
config/pam.d/imaps
Symbolic link
1
config/pam.d/imaps
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
imap
|
8
config/pam.d/pop
Normal file
8
config/pam.d/pop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Provided by mailbase (dont remove this line!)
|
||||||
|
# Standard pam.d file for mail service packages.
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
auth required pam_nologin.so
|
||||||
|
auth include system-auth
|
||||||
|
account include system-auth
|
||||||
|
session include system-auth
|
1
config/pam.d/pop3
Symbolic link
1
config/pam.d/pop3
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pop
|
1
config/pam.d/pop3s
Symbolic link
1
config/pam.d/pop3s
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pop
|
1
config/pam.d/pops
Symbolic link
1
config/pam.d/pops
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
pop
|
Loading…
Reference in New Issue
Block a user