From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-mail/mailbase/files/aliases | 33 +++++++++++++++++++++++++++++ net-mail/mailbase/files/common-pamd | 7 ++++++ net-mail/mailbase/files/common-pamd-include | 7 ++++++ net-mail/mailbase/files/mailcap | 25 ++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 net-mail/mailbase/files/aliases create mode 100644 net-mail/mailbase/files/common-pamd create mode 100644 net-mail/mailbase/files/common-pamd-include create mode 100644 net-mail/mailbase/files/mailcap (limited to 'net-mail/mailbase/files') diff --git a/net-mail/mailbase/files/aliases b/net-mail/mailbase/files/aliases new file mode 100644 index 000000000000..ea8350591659 --- /dev/null +++ b/net-mail/mailbase/files/aliases @@ -0,0 +1,33 @@ +# 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 diff --git a/net-mail/mailbase/files/common-pamd b/net-mail/mailbase/files/common-pamd new file mode 100644 index 000000000000..5464207607c8 --- /dev/null +++ b/net-mail/mailbase/files/common-pamd @@ -0,0 +1,7 @@ +# Provided by mailbase (dont remove this line!) +# Standard pam.d file for mail service packages. + +auth required pam_nologin.so +auth required pam_stack.so service=system-auth +account required pam_stack.so service=system-auth +session required pam_stack.so service=system-auth diff --git a/net-mail/mailbase/files/common-pamd-include b/net-mail/mailbase/files/common-pamd-include new file mode 100644 index 000000000000..f8ebe560fdb6 --- /dev/null +++ b/net-mail/mailbase/files/common-pamd-include @@ -0,0 +1,7 @@ +# Provided by mailbase (dont remove this line!) +# Standard pam.d file for mail service packages. + +auth required pam_nologin.so +auth include system-auth +account include system-auth +session include system-auth diff --git a/net-mail/mailbase/files/mailcap b/net-mail/mailbase/files/mailcap new file mode 100644 index 000000000000..7c42a55cf635 --- /dev/null +++ b/net-mail/mailbase/files/mailcap @@ -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' -- cgit v1.2.3