Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 03:29:50 +0200 (CEST)
From:      clefevre@citeweb.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19996: fetchmail --configdump core dumps (w/ patch)
Message-ID:  <200007180129.DAA23127@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         19996
>Category:       ports
>Synopsis:       fetchmail --configdump core dumps (w/ patch)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 17 18:30:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.0-STABLE FreeBSD 4.0-STABLE #11: Wed Jun 28 06:32:13 CEST 2000     root@gits:/disk2/4.0-stable/src/sys/compile/CUSTOM  i386

>Description:

	configure fetchmail w/ at least one server not using the kpop
	protocol then run fetchmail --configdump.

>How-To-Repeat:

	# cat << EOF > ~/.fetchmailrc
# Configuration created Wed Apr  5 15:55:02 2000 by fetchmailconf
set idfile "/root/.fetchids"
set logfile "/root/.fetchlog"
set daemon 21600
set postmaster "postmaster"
set bouncemail
set properties ""
poll mail.tld with proto POP3 and options uidl
        user "nobody" there with password "nopasswd" is root here
        options no mimedecode mda 'sendmail -oem -f %F %T'
EOF
	# fetchmail --configdump
from Tkinter import TRUE, FALSE

os_type = 'freebsd'
feature_options = ('pop2','pop3','imap','rpa','sdps','etrn','ssl','inet6',)
# Start of configuration initializer
fetchmailrc = {
    'poll_interval':21600,
    "logfile":"/root/.fetchlog",
    "idfile":"/root/.fetchids",
    "postmaster":"postmaster",
    'bouncemail':TRUE,
    "properties":"",
    'invisible':FALSE,
    'syslog':FALSE,
    # List of server entries begins here
    'servers': [
        # Entry for site `mail.tld' begins:
        {
Memory fault (core dumped)

>Fix:

	apply this patch to the current fetchmail port known as
	fetchmail-5.4.3.

diff -burN fetchmail/patches/patch-an fetchmail.new/patches/patch-an
--- fetchmail/patches/patch-an	Thu Jan  1 01:00:00 1970
+++ fetchmail.new/patches/patch-an	Tue Jul 18 03:13:38 2000
@@ -0,0 +1,10 @@
+--- conf.c.orig	Tue Jul 18 03:13:15 2000
++++ conf.c	Tue Jul 18 03:11:04 2000
+@@ -240,6 +240,7 @@
+ #if !INET6_ENABLE
+ 		 ctl->server.port == KPOP_PORT &&
+ #else
++		 ctl->server.service &&
+ 		 0 == strcmp( ctl->server.service, KPOP_PORT ) &&
+ #endif
+ 		 ctl->server.preauthenticate == A_KERBEROS_V4);

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007180129.DAA23127>