Bug 62026

Summary: email control panel applet doesn't fill in defaults
Product: [Retired] Red Hat Linux Reporter: Preston Brown <pbrown>
Component: kdebaseAssignee: wdovlrrw <brosenkr>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-12 16:46:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 61901    

Description Preston Brown 2002-03-26 20:59:27 UTC
Description of Problem: 
The e-mail control panel applet doesn't fill in any defaults. 
 
Version-Release number of selected component (if applicable): 
kdebase-3.0.0-0.cvs20020314.4 
 
How Reproducible: 
Always 
 
Steps to Reproduce: 
1. start the e-mail control panel program 
 
Actual Results: 
None of the fields are filled in 
 
Expected Results: 
At least full name and default e-mail address are guessed at from /etc/passwd and the 
computer's hostname.

Comment 1 Bernhard Rosenkraenzer 2002-04-12 16:46:35 UTC
This works here, and the code looks correct.  
startkde does this:  
  
if [ ! -e "$HOME"/.kde/share/config/emaildefaults ]; then  
  /usr/bin/mailsettings >"$HOME"/.kde/share/config/emaildefaults  
fi  
 
Where mailsettings generates a valid emaildefaults file, as read by kcontrol, such as 
[Defaults] 
Profile=Default 
[PROFILE_Default] 
EmailAddress=bero.com 
EmailClient=kmail 
FullName=Bernhard Rosenkraenzer 
IncomingServer=/var/mail/bero 
IncomingServerType=localbox 
OutgoingCommand=/usr/sbin/sendmail 
OutgoingServerType=local 
TerminalClient=false 
 
 
By any chance, did you see this on a box with a manually modified emaildefaults file?

Comment 2 Preston Brown 2002-04-18 14:50:56 UTC
 it was an upgrade, and the file may have been buggered from before.  Seems to work for new 
accounts.  Good enough.