]> git.pld-linux.org Git - packages/sendmail.git/commitdiff
*** empty log message ***
authoraflinta <aflinta@pld-linux.org>
Mon, 15 Apr 2002 00:23:02 +0000 (00:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sendmail-access-sample -> 1.1
    sendmail-domaintable-sample -> 1.1
    sendmail-mailertable-sample -> 1.1
    sendmail-pam-d-smtp -> 1.1
    sendmail-virtusertable-sample -> 1.1

sendmail-access-sample [new file with mode: 0644]
sendmail-domaintable-sample [new file with mode: 0644]
sendmail-mailertable-sample [new file with mode: 0644]
sendmail-pam-d-smtp [new file with mode: 0644]
sendmail-virtusertable-sample [new file with mode: 0644]

diff --git a/sendmail-access-sample b/sendmail-access-sample
new file mode 100644 (file)
index 0000000..9eea701
--- /dev/null
@@ -0,0 +1,88 @@
+# /etc/mail/access
+# Copyright (c) 1998, Richard Nelson <cowboy@debian.org>.
+# Time-stamp: <1998/10/27 10:00:00 cowboy>
+# GPL'd config file, please feed any gripes, suggestions, etc. to me
+#
+# Function:
+#    Access Control for this smtp server - determines:
+#        * Who we accept mail from
+#        * Who we accept relaying from
+#        * Who we will not send to
+#
+# Usage:
+#    FEATURE(access_db[, type [-o] /etc/mail/access])dnl
+#    makemap hash access < access
+#
+# Format:
+#    lhs:
+#        email addr      <user@[host.domain]>
+#        domain name     unless  FEATURE(relay_hosts_only) is used,
+#                       then this is a fqdn - and relay-domains ($=R)
+#                       must also be fqdns.
+#        network number  must end on an octet boundary, or
+#                       you're stuck going the longwinded way ;-{
+#    rhs:
+#        OK              accept mail even if other rules in the
+#                        running ruleset would reject it.
+#        RELAY           Allow domain to relay through your SMTP
+#                        server.  RELAY also serves an implicit
+#                        OK for the other checks.
+#        REJECT          reject the sender/recipient with a general
+#                        purpose message that can be customized.
+#                        confREJECT_MSG [550 Access denied] will be issued
+#        DISCARD         discard the message completely using
+#                        the $#discard mailer.
+#        ### any text    where ### is an RFC 821 compliant error code
+#                       and "any text" is a message to return for
+#                       the command
+# Examples:
+#   spammer@aol.com         REJECT
+#   FREE.STEALTH.MAILER@    550 Spam not accepted
+#
+# Notes:
+#   With FEATURE(blacklist_recipients) this is also possible:
+#   badlocaluser                 550 Mailbox disabled for this username
+#   host.mydomain.com            550 That host does not accept mail
+#   user@otherhost.mydomain.com  550 Mailbox disabled for this recipient
+#
+# Related:
+#    define(`confREJECT_MSG', `550 Access denied')dnl
+#    define(`confCR_FILE', `-o /etc/mail/relay-domains')dnl <<- $=R
+#    FEATURE(relay_hosts_only)dnl
+#    FEATURE(relay_entire_domain)dnl <<- relays any host in the $=m class
+#    FEATURE(relay_based_on_MX)dnl <<- relaying for boxes MX'd to you
+#    FEATURE(blacklist_recipients)dnl
+#    FEATURE(rbl[,alternate server])dnl
+#    FEATURE(orbs[,alternate server])dnl   <<- Debian addition
+#    FEATURE(orca[,alternate server])dnl   <<- Debian addition
+#    FEATURE(accept_unqualified_senders)dnl
+#    FEATURE(accept_unresolvable_domains)dnl
+#
+# Local addresses 10.x.x.x, 127.x.x.x, 172.16-31.x.x 192.168.x.x can relay
+# Note Well! You *must* make sure these address can't be spoofed externally
+10              RELAY
+127             RELAY
+172.16         RELAY
+172.17         RELAY
+172.18         RELAY
+172.19         RELAY
+172.20         RELAY
+172.21         RELAY
+172.22         RELAY
+172.23         RELAY
+172.24         RELAY
+172.25         RELAY
+172.26         RELAY
+172.27         RELAY
+172.28         RELAY
+172.29         RELAY
+172.30         RELAY
+172.31         RELAY
+192.168         RELAY
+#
+# Hosts that are allowed to talk to me
+#
+#
+# Blacklisted users
+#
+reject@                REJECT
diff --git a/sendmail-domaintable-sample b/sendmail-domaintable-sample
new file mode 100644 (file)
index 0000000..82b3ff7
--- /dev/null
@@ -0,0 +1,26 @@
+# /etc/mail/domaintable
+# Copyright (c) 1998, Richard Nelson <cowboy@debian.org>.
+# Time-stamp: <1998/10/27 10:00:00 cowboy>
+# GPL'd config file, please feed any gripes, suggestions, etc. to me
+#
+# Function:
+#    Specify a mapping from old host name to new host name.
+#    Commonly used to support old (or merged) domain names.
+#    The host name in the lhs will be rewritten to that in the rhs
+#
+# Usage:
+#    FEATURE(domaintable[, type [-o] /etc/mail/domaintable])dnl
+#    makemap hash domaintable < domaintable
+#
+# Format:
+#    old fqdn          new fqdn
+#
+# Examples:
+#    debian.com                debian.org
+#    .debian.com       %0.debian.org
+#
+# Notes:
+#
+# Related:
+#
+#.cv.lexington.ibm.com  %0.lexington.ibm.com
diff --git a/sendmail-mailertable-sample b/sendmail-mailertable-sample
new file mode 100644 (file)
index 0000000..79d950f
--- /dev/null
@@ -0,0 +1,50 @@
+# /etc/mail/mailertable
+# Copyright (c) 1998, Richard Nelson <cowboy@debian.org>.
+# Time-stamp: <1998/10/27 10:00:00 cowboy>
+# GPL'd config file, please feed any gripes, suggestions, etc. to me
+#
+# Function:
+#    Specify a mapping from old host name to new host name.
+#    Commonly used to support old (or merged) domain names.
+#    The host name in the lhs will be rewritten to that in the rhs
+#
+# Usage:
+#    FEATURE(mailertable[, type [-o] /etc/mail/mailertable])dnl
+#    makemap hash mailertable < mailertable
+#
+# Format:
+#    Local recipients:
+#      <address>                local:user
+#      <address>                local:        <<- will use same user
+#    Error messages:
+#      badhost                  error:nohost mail to %0 is prohibited
+#      .baddomain               error:nohost mail to %1%0 is prohibited
+#
+# Examples:
+#    Local recipients:
+#      <address>               local:user
+#      <address>               local:        <<- will use same user
+#    Error messages:
+#      badhost                 error:nohost mail to %0 is prohibited
+#      .baddomain              error:nohost mail to %1%0 is prohibited
+#
+# Notes:
+#
+# Related:
+#
+# Address rewrites for hosts *NOT IN* class $w
+# Direct delivery, %0 is left side
+# friend.dom           smtp:[%0]:[some.smart.host]
+# Direct deliver of domain, smarthost as second choice
+# .friend.dom          smtp:[%1%0]:[some.smart.host]
+# Default route, via smarthost
+# .                    smtp:[some.smart.host]
+#
+badhost                        error:nohost mail to %0 is prohibited
+.baddomain              error:nohost mail to %1%0 is prohibited
+#
+# Sites we deliver directly to, bypassing SMARTHOST:
+#
+# Sites that use DUL: Dialup User Lists (or equivalent)
+#aol.com               esmtp:[relay]
+#primenet.com          esmtp:[relay]
diff --git a/sendmail-pam-d-smtp b/sendmail-pam-d-smtp
new file mode 100644 (file)
index 0000000..db8ee67
--- /dev/null
@@ -0,0 +1,12 @@
+#%PAM-1.0
+#
+# PAM configuration file required by SASL to authenticate a PLAIN password.
+#
+# This file is required if we put "pwcheck_method:pam" in 
+# /etc/sasl/Sendmail.conf
+#
+# Idea by Patryk Szajer <bayer@szpitalna.ngo.pl>.
+#
+# 2002.04.15 by Lucas 'Baseciq' Mozer <baseciq@baseciq.org>
+#
+auth   required        pam_unix.so nullok try_first_pass
diff --git a/sendmail-virtusertable-sample b/sendmail-virtusertable-sample
new file mode 100644 (file)
index 0000000..3512635
--- /dev/null
@@ -0,0 +1,8 @@
+# Address rewrites for incomming mail
+#  user@realdomain (must be in $w)     localuser (may be an alias)
+#      info@foo.com                    foo-info
+#      info@bar.com                    bar-info
+#      @baz.org                        jane@elsewhere.net
+#      @foo.org                        %1@elsewhere.com
+#       @bar.org                       error:nouser User unknown
+#
This page took 0.070487 seconds and 4 git commands to generate.