Bug #359900 --> ship gmail.rdf in Thunderbird. remove obsolete rdf files (example and nswebmail)

sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2007-01-04 04:19:08 +00:00
parent baf7382cc1
commit f49da3c827
6 changed files with 70 additions and 134 deletions

View File

@ -79,6 +79,8 @@ bin\defaults\profile\localstore.rdf
bin\defaults\profile\prefs.js
bin\defaults\profile\mimeTypes.rdf
bin\isp\gmail.rdf
bin\components\addrbook.xpt
bin\components\mime.xpt
bin\components\mailnews.xpt
@ -279,7 +281,7 @@ bin\components\txmgr.xpt
; Optional - only if your code uses nsIWebBrowserFind
bin\components\txtsvc.xpt
; moz storage
; moz storage
bin\components\storage.xpt
; netwerk

View File

@ -49,7 +49,7 @@ EXPORT_DIR = $(DIST)/bin/defaults/isp
EXPORT_DIR_L10N = $(DIST)/bin/defaults/isp/$(AB_CD)
endif
EXPORT_RESOURCE_FILES = \
EXPORT_RESOURCE_FILES = gmail.rdf \
$(NULL)
ifdef MOZ_MOVEMAIL

View File

@ -1,4 +1,4 @@
example.rdf is probably old and out of date
gmail.rdf is up to date and is a good example to use for POP3
dotmac.rdf is up to date and is a good example to use for IMAP
movemail.rdf is new, from pkw@us.ibm.com
nswebmail.rdf is pretty up to date, used by Netscape 7.x
aol.rdf is pretty up to date, used by Netscape 7.x
aol.rdf is a bad example, it was used by Netscape 7.x

View File

@ -1,55 +0,0 @@
<?xml version="1.0"?>
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="NC:ispinfo">
<NC:providers>
<NC:nsIMsgAccount about="domain:fred.com">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:prettyName>Fred's account</NC:prettyName>
<NC:hostName>pop3.fred.com</NC:hostName>
<NC:type>pop3</NC:type>
<NC:port>1111</NC:port>
<NC:username>fred</NC:username>
<NC:rememberPassword>false</NC:rememberPassword>
<NC:ServerType-pop3>
<NC:nsIPopIncomingServer>
<NC:leaveMessagesOnServer>true</NC:leaveMessagesOnServer>
<NC:deleteMailLeftOnServer>false</NC:deleteMailLeftOnServer>
</NC:nsIPopIncomingServer>
</NC:ServerType-pop3>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>false</NC:composeHtml>
<NC:bccSelf>true</NC:bccSelf>
<NC:bccList>alecf@usa.net</NC:bccList>
</NC:nsIMsgIdentity>
</NC:identity>
<!-- other options... see http://www.mozilla.org/mailnews/?? -->
<NC:wizardSkipPanels>false</NC:wizardSkipPanels>
<NC:wizardShortName>fred</NC:wizardShortName>
<NC:wizardLongName>Fred's ISP</NC:wizardLongName>
<NC:wizardPromote>true</NC:wizardPromote>
<NC:wizardShow>true</NC:wizardShow>
<NC:emailProviderName>Fred's ISP</NC:emailProviderName>
<NC:sampleEmail>username@fred.com</NC:sampleEmail>
<NC:sampleUserName>username</NC:sampleUserName>
<NC:emailIDDescription>user name</NC:emailIDDescription>
<NC:emailIDFieldTitle>User Name:</NC:emailIDFieldTitle>
<NC:showServerDetailsOnWizardSummary>false</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>

63
mailnews/base/ispdata/gmail.rdf Executable file
View File

@ -0,0 +1,63 @@
<?xml version="1.0"?>
<!DOCTYPE RDF>
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="NC:ispinfo">
<NC:providers>
<NC:nsIMsgAccount about="domain:gmail.com">
<!-- pop3 server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:prettyName>Gmail</NC:prettyName>
<NC:hostName>pop.gmail.com</NC:hostName>
<NC:type>pop3</NC:type>
<NC:ServerType-pop3>
<NC:nsIPopIncomingServer>
<NC:leaveMessagesOnServer>true</NC:leaveMessagesOnServer>
<NC:deleteMailLeftOnServer>false</NC:deleteMailLeftOnServer>
</NC:nsIPopIncomingServer>
</NC:ServerType-pop3>
<NC:loginAtStartUp>true</NC:loginAtStartUp>
<NC:downloadOnBiff>true</NC:downloadOnBiff>
<NC:rememberPassword>true</NC:rememberPassword>
<NC:port>995</NC:port>
<NC:socketType>3</NC:socketType>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- smtp server info -->
<NC:smtp>
<NC:nsISmtpServer>
<NC:hostname>smtp.gmail.com</NC:hostname>
<NC:port>587</NC:port>
<NC:trySSL>3</NC:trySSL>
<NC:description>Gmail</NC:description>
</NC:nsISmtpServer>
</NC:smtp>
<NC:smtpRequiresUsername>true</NC:smtpRequiresUsername>
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>true</NC:smtpUsePreferredServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
</NC:nsIMsgIdentity>
</NC:identity>
<!-- other options -->
<NC:wizardSkipPanels>true</NC:wizardSkipPanels>
<NC:wizardShortName>Gmail</NC:wizardShortName>
<NC:wizardLongName>Gmail</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:wizardPromote>true</NC:wizardPromote>
<NC:emailProviderName>Gmail</NC:emailProviderName>
<NC:sampleEmail>example@gmail.com</NC:sampleEmail>
<NC:sampleUserName>example</NC:sampleUserName>
<NC:emailIDDescription>Gmail Username:</NC:emailIDDescription>
<NC:showServerDetailsOnWizardSummary>true</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>

View File

@ -1,74 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE RDF
[
<!ENTITY webmail.wizardLongName "Netscape Webmail (For example, jsmith@netscape.net)">
<!ENTITY webmail.emailIDFieldTitle "User Name:">
<!ENTITY webmail.emailIDDescription "user name">
<!ENTITY webmail.prettyName "Netscape Webmail">
]
>
<RDF:RDF
xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<RDF:Description about="NC:ispinfo">
<NC:providers>
<NC:nsIMsgAccount about="domain:netscape.net">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:prettyName>&webmail.prettyName;</NC:prettyName>
<NC:hostName>imap.mail.netcenter.com</NC:hostName>
<NC:type>imap</NC:type>
<NC:rememberPassword>false</NC:rememberPassword>
<NC:redirectorType>netscape</NC:redirectorType>
<NC:offlineSupportLevel>10</NC:offlineSupportLevel>
<NC:defaultCopiesAndFoldersPrefsToServer>false</NC:defaultCopiesAndFoldersPrefsToServer>
<NC:isSecureServer>false</NC:isSecureServer>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>true</NC:composeHtml>
<NC:doFcc>false</NC:doFcc>
<NC:attachSignature>true</NC:attachSignature>
</NC:nsIMsgIdentity>
</NC:identity>
<NC:smtp>
<NC:nsISmtpServer>
<NC:hostname>smtp.netscape.net</NC:hostname>
<NC:redirectorType>netscape</NC:redirectorType>
</NC:nsISmtpServer>
</NC:smtp>
<!-- other options... see http://www.mozilla.org/mailnews/?? -->
<NC:smtpRequiresUsername>true</NC:smtpRequiresUsername>
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>true</NC:smtpUsePreferredServer>
<NC:wizardSkipPanels>true</NC:wizardSkipPanels>
<NC:wizardShortName>WebMail</NC:wizardShortName>
<NC:wizardLongName>&webmail.wizardLongName;</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:wizardPromote>true</NC:wizardPromote>
<NC:emailProviderName>Netscape.com</NC:emailProviderName>
<NC:sampleEmail>username@netscape.net</NC:sampleEmail>
<NC:sampleUserName>username</NC:sampleUserName>
<NC:emailIDDescription>&webmail.emailIDDescription;</NC:emailIDDescription>
<NC:emailIDFieldTitle>&webmail.emailIDFieldTitle;</NC:emailIDFieldTitle>
<NC:showServerDetailsOnWizardSummary>false</NC:showServerDetailsOnWizardSummary>
<NC:signatureFileName>webMailSignature.html</NC:signatureFileName>
<NC:useOverlayPanels>true</NC:useOverlayPanels>
<NC:createNewAccount>true</NC:createNewAccount>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>