pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33221: default exim configuration file



>Number:         33221
>Category:       pkg
>Synopsis:       default exim configuration file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 08 21:05:00 +0000 2006
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 3.0_STABLE
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: 
Sun Mar 12 12:49:58 GMT 2006 
cheusov@chen:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
IMHO it is better for daemons to listen to loopback
interface only by default. A patch for exim is below.
>How-To-Repeat:
>Fix:
Index: MESSAGE
===================================================================
RCS file: /cvsroot/pkgsrc/mail/exim/MESSAGE,v
retrieving revision 1.9
diff -u -r1.9 MESSAGE
--- MESSAGE       1 Jun 2005 01:22:31 -0000       1.9
+++ MESSAGE       8 Apr 2006 20:57:55 -0000
@@ -25,5 +25,7 @@
 1. Try `pkg_info exim` to see which features are enabled in this build.
 2. Consider enabling SSL (STARTTLS) for receiving mail in your config.
    This build automatically uses SSL when sending mail.
+3. Exim with the default ${PKG_SYSCONFDIR}/configure configuration
+   file will listen to loopback network interface only.
 
 ===========================================================================
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/exim/distinfo,v
retrieving revision 1.31
diff -u -r1.31 distinfo
--- distinfo      23 Oct 2005 20:07:19 -0000      1.31
+++ distinfo      8 Apr 2006 20:57:55 -0000
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 2f43716b398ce650a20750285ba19d7ba5c690bb
 SHA1 (patch-ae) = acc7897d417e137de73a2cac1dd46834f719e202
 SHA1 (patch-af) = cfaa64d0979ebfb6486cb280fb1d17aeea39f2d0
+SHA1 (patch-ag) = 5b59058062df5faf8503851180a5f0d2229cb1e7
Index: patches/patch-ag
===================================================================
RCS file: patches/patch-ag
diff -N patches/patch-ag
--- /dev/null     1 Jan 1970 00:00:00 -0000
+++ patches/patch-ag      8 Apr 2006 20:57:55 -0000
@@ -0,0 +1,25 @@
+$NetBSD$
+
+--- src/configure.default.orig   2006-04-09 00:53:59.000000000 +0000
++++ src/configure.default
+@@ -43,6 +43,11 @@
+ #                    MAIN CONFIGURATION SETTINGS                     #
+ ######################################################################
+ 
++# Listen to loopback only
++
++local_interfaces = 127.0.0.1 : ::::1
++
++
+ # Specify your host's canonical name here. This should normally be the fully
+ # qualified "official" name of your host. If this option is not set, the
+ # uname() function is called to obtain the name. In many cases this does
+@@ -56,7 +61,7 @@
+ # +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They
+ # are all colon-separated lists:
+ 
+-domainlist local_domains = @
++domainlist local_domains = @ : localhost
+ domainlist relay_to_domains =
+ hostlist   relay_from_hosts = 127.0.0.1
+ 




Home | Main Index | Thread Index | Old Index