From root@san.tatung.com.tw  Mon Jun 26 08:00:07 2006
Return-Path: <root@san.tatung.com.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9996C16A400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jun 2006 08:00:07 +0000 (UTC)
	(envelope-from root@san.tatung.com.tw)
Received: from san.tatung.com.tw (san.tatung.com.tw [139.223.63.26])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 116EA43D8D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jun 2006 08:00:01 +0000 (GMT)
	(envelope-from root@san.tatung.com.tw)
Received: from san.tatung.com.tw (localhost.tatung.com.tw [127.0.0.1])
	by san.tatung.com.tw (8.13.7/8.13.6) with ESMTP id k5Q7xxl1001331
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Jun 2006 15:59:59 +0800 (CST)
	(envelope-from root@san.tatung.com.tw)
Received: (from root@localhost)
	by san.tatung.com.tw (8.13.7/8.13.6/Submit) id k5Q7xw1I001330;
	Mon, 26 Jun 2006 15:59:58 +0800 (CST)
	(envelope-from root)
Message-Id: <200606260759.k5Q7xw1I001330@san.tatung.com.tw>
Date: Mon, 26 Jun 2006 15:59:58 +0800 (CST)
From: Charlie & <root@san.tatung.com.tw>
Reply-To: Charlie & <root@san.tatung.com.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Mail attachement was modified
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         99475
>Category:       amd64
>Synopsis:       Mail attachement was modified
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 26 08:00:33 GMT 2006
>Closed-Date:    Wed Sep 13 10:59:41 GMT 2006
>Last-Modified:  Wed Sep 13 10:59:41 GMT 2006
>Originator:     Charlie &
>Release:        FreeBSD 6.1-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD san.tatung.com.tw 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Fri Jun 23 13:01:46 CST 2006 root@san.tatung.com.tw:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	sendmail: 8.13.6 & 8.13.7(from ports)
	*.txt is ok. 
	*.doc, *.xls, *.ppt, *.pdf, *.jpg are modified.
>How-To-Repeat:
	
>Fix:

	

--- dmesg.boot begins here ---
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p2 #0: Fri Jun 23 13:01:46 CST 2006
    root@san.tatung.com.tw:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.40GHz (3400.14-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x649d<SSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,<b14>>
  AMD Features=0x20000800<SYSCALL,LM>
  Logical CPUs per core: 2
real memory  = 2147430400 (2047 MB)
avail memory = 2062770176 (1967 MB)
ACPI APIC Table: <HP     00000083>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
ioapic3 <Version 2.0> irqs 72-95 on motherboard
ioapic4 <Version 2.0> irqs 96-119 on motherboard
kbd1 at kbdmux0
acpi0: <HP P51> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x908-0x90b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci2
pci3: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100> mem 0xfdef0000-0xfdefffff irq 25 at device 1.0 on pci3
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:16:35:00:fe:39
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2100> mem 0xfdee0000-0xfdeeffff irq 26 at device 1.1 on pci3
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:16:35:00:fe:38
pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci2
pci4: <ACPI PCI bus> on pcib3
ciss0: <HP Smart Array 6i> port 0x4000-0x40ff mem 0xfdff0000-0xfdff1fff,0xfdf80000-0xfdfbffff irq 51 at device 3.0 on pci4
ciss0: [GIANT-LOCKED]
pcib4: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci5: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 0.0 on pci5
pci6: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 0.2 on pci5
pci10: <ACPI PCI bus> on pcib6
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x2000-0x201f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x2020-0x203f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x2040-0x205f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x2060-0x207f irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem 0xfbef0000-0xfbef03ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib7: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib7
pci1: <display, VGA> at device 3.0 (no driver attached)
pci1: <base peripheral> at device 4.0 (no driver attached)
pci1: <base peripheral> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x500-0x50f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: ATEN ATEN Composite, rev 1.10/1.00, addr 2, iclass 3/1
kbd2 at ukbd0
ums0: ATEN ATEN Composite, rev 1.10/1.00, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
Timecounter "TSC" frequency 3400138729 Hz quality 800
Timecounters tick every 1.000 msec
module_register_init: MOD_LOAD (amr_linux, 0xffffffff806205d0, 0) error 6
acd0: CDROM <TSSTcorpCD-ROM TS-L162C/N204> at ata0-master UDMA33
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da0: 135.168MB/s transfers
da0: 69459MB (142253280 512 byte sectors: 255H 32S/T 17433C)
da1 at ciss0 bus 0 target 1 lun 0
da1: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da1: 135.168MB/s transfers
da1: 347295MB (711261810 512 byte sectors: 255H 63S/T 44274C)
Trying to mount root from ufs:/dev/da0s1a
--- dmesg.boot ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Thu Jul 6 11:18:46 UTC 2006 
State-Changed-Why:  
This Bugreport does not contain enough information. 

Please describe in detail what the problem is. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99475 

From: Albert <alpha2@sansha.tatung.com.tw>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: amd64/99475: Mail attachement was modified
Date: Fri, 07 Jul 2006 08:22:32 +0800

 I just use FreeBSD 6.1/amd64 SMP to set up a mail server.
 I use the default sendmail.cf, open relay on my own network, and send
 mail via Thunderbird to myself.
 Three type of encoding are used -- big5, iso-2002-jp, iso-8859-1
 The mail content is all okey. (I mean the mail content is unchanged)
 Then I test a mail with attachments -- pdf, ppt, xls, doc, txt, jpg.
 When I receive the mail by pop3, all the attachments became random code
 except text files whatever the encoding is.
 I upgrade sendmail form 8.13.6 to 8.13.7. The results are the same.
 
 Now I back to FreeBSD 5.5/i386 SMP + sendmail 8.13.6, All works perfect
 as I want.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Wed Sep 13 10:56:57 UTC 2006 
State-Changed-Why:  
OK, this is not a Problem yet, but this might be a support 
question.  Please use the freebsd-questions mailinglist to 
try and figure out what is going on.  If the concensus 
is that there are issues within FreeBSD (which should have 
emerged by now, since it must hit more people then just you), 
please get back to me then and I will reopen the PR with 
the feedback you will provide. 

I understand that I will not make myself popular with this, but 
this is a problem reporting form and not a support desk, so 
please follow the line.  I hope you can understand this. 

The pointer to the FreeBSD Questions mailinglist: 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions 

Thanks 


Responsible-Changed-From-To: freebsd-amd64->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Sep 13 10:56:57 UTC 2006 
Responsible-Changed-Why:  
since i did this, i will take the Pr along with me so that 
people can feedback me about this action. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99475 
>Unformatted:
