Re: [Evolution] smtp config file



Your both right of course. After a lot of research and trial and error, I found that the Gconftool actually saves the settings in memory and only writes them when needed. So editing the .xml file does not work because evolution writes over the edited file with the copy in memory when looking up preferences regardless of whether evolution is running at the time or not.

Regards,
Chris


Christof KrÃger wrote:
On Thu, 2007-04-19 at 15:00 -0400, Patrick O'Callaghan wrote:
  
On Thu, 2007-04-19 at 10:02 -0400, Chris Murphy wrote:
    
cat %gconf.xml | sed s/oldsmtp/newsmtp/g > %gconf.xml
      
Dangerous. You're starting two concurrent processes, one reading from a
file and the other writing *to the same file*. Depending on race
conditions, some of the time the shell will truncate the file before the
'cat' has a chance to read it.
    
... or use the sed --in-place option (-i, see the man page)

Regrads,
  Christof KrÃger

_______________________________________________
Evolution-list mailing list
Evolution-list gnome org
http://mail.gnome.org/mailman/listinfo/evolution-list
  



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]