summaryrefslogtreecommitdiff
path: root/security/amavis-perl/files
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2001-10-22 06:57:10 +0000
committermartti <martti@pkgsrc.org>2001-10-22 06:57:10 +0000
commita8a505fac6f1aa32f6a12ce930a95aa57f862984 (patch)
tree0a7de2e7a51c61a5c784d2af2e1bc6d7510e2da5 /security/amavis-perl/files
parentc756eb40fab57cc77ab2a6dc3e0fcd1bfa10d0e1 (diff)
downloadpkgsrc-a8a505fac6f1aa32f6a12ce930a95aa57f862984.tar.gz
This is amavis-perl (a.k.a. amavisd), a virus scanning script written in perl.
The currently supported MTAs are exim, qmail, postfix, and sendmail. Please refer to the corresponding README.mta file for further documentation.
Diffstat (limited to 'security/amavis-perl/files')
-rw-r--r--security/amavis-perl/files/LICENSE.sendmail79
-rw-r--r--security/amavis-perl/files/amavis.m440
2 files changed, 119 insertions, 0 deletions
diff --git a/security/amavis-perl/files/LICENSE.sendmail b/security/amavis-perl/files/LICENSE.sendmail
new file mode 100644
index 00000000000..30c49986fbd
--- /dev/null
+++ b/security/amavis-perl/files/LICENSE.sendmail
@@ -0,0 +1,79 @@
+ SENDMAIL LICENSE
+
+The following license terms and conditions apply, unless a different
+license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor,
+Emeryville, CA 94608, or by electronic mail at license@sendmail.com.
+
+License Terms:
+
+Use, Modification and Redistribution (including distribution of any
+modified or derived work) in source and binary forms is permitted only if
+each of the following conditions is met:
+
+1. Redistributions qualify as "freeware" or "Open Source Software" under
+ one of the following terms:
+
+ (a) Redistributions are made at no charge beyond the reasonable cost of
+ materials and delivery.
+
+ (b) Redistributions are accompanied by a copy of the Source Code or by an
+ irrevocable offer to provide a copy of the Source Code for up to three
+ years at the cost of materials and delivery. Such redistributions
+ must allow further use, modification, and redistribution of the Source
+ Code under substantially the same terms as this license. For the
+ purposes of redistribution "Source Code" means the complete compilable
+ and linkable source code of sendmail including all modifications.
+
+2. Redistributions of source code must retain the copyright notices as they
+ appear in each source code file, these license terms, and the
+ disclaimer/limitation of liability set forth as paragraph 6 below.
+
+3. Redistributions in binary form must reproduce the Copyright Notice,
+ these license terms, and the disclaimer/limitation of liability set
+ forth as paragraph 6 below, in the documentation and/or other materials
+ provided with the distribution. For the purposes of binary distribution
+ the "Copyright Notice" refers to the following language:
+ "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved."
+
+4. Neither the name of Sendmail, Inc. nor the University of California nor
+ the names of their contributors may be used to endorse or promote
+ products derived from this software without specific prior written
+ permission. The name "sendmail" is a trademark of Sendmail, Inc.
+
+5. All redistributions must comply with the conditions imposed by the
+ University of California on certain embedded code, whose copyright
+ notice and conditions for redistribution are as follows:
+
+ (a) Copyright (c) 1988, 1993 The Regents of the University of
+ California. All rights reserved.
+
+ (b) Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ (i) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ (ii) Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+ (iii) Neither the name of the University nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY
+ SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+ NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF
+ CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+Revision: 8.9, Last updated Date: 2000/03/03 19:24:11
diff --git a/security/amavis-perl/files/amavis.m4 b/security/amavis-perl/files/amavis.m4
new file mode 100644
index 00000000000..ed17c900105
--- /dev/null
+++ b/security/amavis-perl/files/amavis.m4
@@ -0,0 +1,40 @@
+PUSHDIVERT(-1)
+#
+# amavis mailer definition for amavis-perl (http://www.amavis.org)
+#
+# Copyright (c) 2000 Yan Seiner
+# GPL distribution - all disclaimers apply.
+#
+# Adopted & extented by Rainer Link, SuSE GmbH, <link@suse.de>, 03/02/2001
+#
+# Currently UNTESTED
+# USE AT YOUR OWN RISK
+#
+
+ifdef(`AMAVIS_MAILER_ARGS',,
+ `define(`AMAVIS_MAILER_ARGS', amavis $f $u)')
+ifdef(`AMAVIS_MAILER_PATH',,
+ `define(`AMAVIS_MAILER_PATH', @PREFIX@/sbin/amavis)')
+ifdef(`AMAVIS_MAILER_FLAGS',,
+ `define(`AMAVIS_MAILER_FLAGS', `mlsACDFMS5:/|@qhP')')
+ifdef(`AMAVIS_MAILER_USER',,
+ `define(`AMAVIS_MAILER_USER', amavis)')
+ifdef(`AMAVIS_MAILER_GROUP',,
+ `define(`AMAVIS_MAILER_GROUP', amavis)')
+
+
+POPDIVERT
+#######################################
+### AMAVIS Mailer specification ###
+#######################################
+
+VERSIONID(`@(#)amavis.m4 03/02/2001')
+
+Mamavis, P=AMAVIS_MAILER_PATH, F=AMAVIS_MAILER_FLAGS, S=0, R=0,
+ T=DNS/RFC822/X-Unix,
+ ifdef(`AMAVIS_MAILER_MAX', `M=AMAVIS_MAILER_MAX, ')A=AMAVIS_MAILER_ARGS,
+ U=AMAVIS_MAILER_USER:AMAVIS_MAILER_GROUP
+
+LOCAL_RULE_0
+R$* $#amavis $:$1
+