[pkg-kolab] r126 - trunk/kolab-postfix/debian
Steffen Joeris
white-guest at costa.debian.org
Tue Jan 10 15:43:22 UTC 2006
Author: white-guest
Date: 2006-01-10 15:43:21 +0000 (Tue, 10 Jan 2006)
New Revision: 126
Added:
trunk/kolab-postfix/debian/main.cf
trunk/kolab-postfix/debian/master.cf
Modified:
trunk/kolab-postfix/debian/rules
Log:
* provide a preconfigured conffile
* install it with rules
Added: trunk/kolab-postfix/debian/main.cf
===================================================================
--- trunk/kolab-postfix/debian/main.cf 2006-01-09 19:43:02 UTC (rev 125)
+++ trunk/kolab-postfix/debian/main.cf 2006-01-10 15:43:21 UTC (rev 126)
@@ -0,0 +1,23 @@
+# See /usr/share/postfix/main.cf.dist for a commented, more complete version
+
+smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
+biff = no
+
+# appending .domain is the MUA's job.
+append_dot_mydomain = no
+
+# Uncomment the next line to generate "delayed mail" warnings
+#delay_warning_time = 4h
+
+myhostname = morse.credativ.de
+alias_maps = hash:/etc/aliases
+alias_database = hash:/etc/aliases
+myorigin = /etc/mailname
+mydestination = morse.credativ.de, localhost, localhost.localdomain, localhost
+relayhost =
+mynetworks = 127.0.0.0/8
+mailbox_size_limit = 0
+recipient_delimiter =
+inet_interfaces = all
+#mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
+local_transport = kolabmailboxfilter
Added: trunk/kolab-postfix/debian/master.cf
===================================================================
--- trunk/kolab-postfix/debian/master.cf 2006-01-09 19:43:02 UTC (rev 125)
+++ trunk/kolab-postfix/debian/master.cf 2006-01-10 15:43:21 UTC (rev 126)
@@ -0,0 +1,103 @@
+# (c) 2004 Steffen Hansen <steffen at klaralvdalens-datakonsult.se> (Klaralvdalens Datakonsult AB)
+# (c) 2003 Tassilo Erlewein <tassilo.erlewein at erfrakon.de>
+# (c) 2003 Martin Konold <martin.konold at erfrakon.de>
+# (c) 2003 Achim Frank <achim.frank at erfrakon.de>
+# This program is Free Software under the GNU General Public License (>=v2).
+# Read the file COPYING that comes with this packages for details.
+
+
+# this file is automatically written by the Kolab config backend
+# manual additions are lost unless made to the template in the Kolab config directory
+
+25 inet n - n - - smtpd
+#628 inet n - n - - qmqpd
+pickup fifo n - n 60 1 pickup
+cleanup unix n - n - 0 cleanup
+qmgr fifo n - n 300 1 qmgr
+#qmgr fifo n - n 300 1 nqmgr
+rewrite unix - - n - - trivial-rewrite
+bounce unix - - n - 0 bounce
+defer unix - - n - 0 bounce
+verify unix - - n - 1 verify
+flush unix n - n 1000? 0 flush
+smtp unix - - n - - smtp
+showq unix n - n - - showq
+error unix - - n - - error
+local unix - n n - - local
+#virtual unix - n n - - virtual
+lmtp unix - - n - - lmtp
+anvil unix - - n - 1 anvil
+scache unix - - n - 1 scache
+tlsmgr unix - - n 1000? 1 tlsmgr
+#cyrus unix - n n - - pipe flags=R user=cyrus argv=/kolab/bin/deliver -e -m ${extension} ${user}
+#uucp unix - n n - - pipe flags=Fqhu user=uucp argv=/kolab/bin/uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
+#ifmail unix - n n - - pipe flags=F user=ftn argv=/kolab/bin/ifmail -r $nexthop ($recipient)
+#bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/kolab/bin/bsmtp -f $sender $nexthop $recipient
+465 inet n - n - - smtpd -v -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
+#587 inet n - n - - smtpd -v -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
+post-cleanup unix n - n - 0 cleanup -o virtual_maps=
+smtp-amavis unix - - n - 2 smtp
+ -o smtp_data_done_timeout=1200
+ -o smtp_send_xforward_command=yes
+ -o disable_dns_lookups=yes
+# SMTP interface for injecting mail back into postfix
+# from amavis
+127.0.0.1:10025 inet n - n - - smtpd
+ -o content_filter=kolabfilter
+ -o cleanup_service_name=post-cleanup
+ -o local_recipient_maps=
+ -o relay_recipient_maps=
+ -o smtpd_restriction_classes=
+ -o smtpd_client_restrictions=
+ -o smtpd_helo_restrictions=
+ -o smtpd_sender_restrictions=
+ -o smtpd_recipient_restrictions=permit_mynetworks,reject
+ -o mynetworks=127.0.0.0/8
+ -o smtpd_authorized_xforward_hosts=127.0.0.0/8
+ -o strict_rfc821_envelopes=yes
+ -o smtpd_error_sleep_time=0
+ -o smtpd_soft_error_limit=1001
+ -o smtpd_hard_error_limit=1000
+# SMTP interface for injecting mail back into postfix
+# from the automatic invitation handling script
+127.0.0.1:10026 inet n - n - - smtpd
+ -o content_filter=
+ -o cleanup_service_name=post-cleanup
+ -o local_recipient_maps=
+ -o relay_recipient_maps=
+ -o smtpd_restriction_classes=
+ -o smtpd_client_restrictions=
+ -o smtpd_helo_restrictions=
+ -o smtpd_sender_restrictions=
+ -o smtpd_recipient_restrictions=permit_mynetworks,reject
+ -o mynetworks=127.0.0.0/8
+ -o strict_rfc821_envelopes=yes
+ -o smtpd_error_sleep_time=0
+ -o smtpd_soft_error_limit=1001
+ -o smtpd_hard_error_limit=1000
+#kolabpolicy unix - n n - - spawn user=kolab-n argv=/etc/kolab/kolab_smtpdpolicy
+# -ldap ldap://127.0.0.1:389
+# -basedn dc=kolab
+# -binddn cn=nobody,cn=internal,dc=kolab
+# -bindpw kaat3fzKggQoSbURkaQCIDrWvL1MamtMXM309TBR
+# -domain kolab
+# -permithosts Kolab-Slave4
+
+kolabfilter unix - n n - - pipe user=kolab-n flags=n argv=/usr/bin/php
+ -c /etc/apache/php.ini
+ -f /usr/share/kolab-resource-handlers/kolabfilter.php
+ --
+ -h Kolab-Slave4
+ -s ${sender}
+ -r ${recipient}
+ -c ${client_address}
+
+kolabmailboxfilter unix - n n - - pipe user=kolab-n flags=n argv=/usr/bin/php
+ -c /etc/apache/php.ini
+ -f /usr/share/kolab-resource-handlers/kolabmailboxfilter.php
+ --
+ -h Kolab-sjo
+ -s ${sender}
+ -r ${recipient}
+ -c ${client_address}
+
Modified: trunk/kolab-postfix/debian/rules
===================================================================
--- trunk/kolab-postfix/debian/rules 2006-01-09 19:43:02 UTC (rev 125)
+++ trunk/kolab-postfix/debian/rules 2006-01-10 15:43:21 UTC (rev 126)
@@ -152,9 +152,11 @@
install -m 0755 conf/postfix-script $(confdir)/kolab-postfix-script
install -m 0755 conf/post-install $(confdir)/kolab-post-install
install -m 0644 conf/postfix-files $(confdir)/kolab-postfix-files
+ install -m 0644 debian/main.cf $(confdir)/main.cf
install -m 0644 conf/main.cf $(sharedir)/main.cf.dist
install -m 0644 debian/functions $(sharedir)/postinst.functions
install -m 0644 conf/master.cf $(sharedir)/master.cf.dist
+ install -m 0644 debian/master.cf $(confdir)/master.cf
install -m 0644 conf/master.cf.local $(sharedir)/master.cf.local
install -m 0644 conf/main.cf.debian $(sharedir)/main.cf.debian
More information about the pkg-kolab-devel
mailing list