Preconfigured Installation
- TroyMurray
- Posts: 31
- Joined: April 27th, 2004, 9:55 am
- Location: East Lansing, MI
- Contact:
-
- Posts: 10
- Joined: September 15th, 2004, 11:42 am
-
- Posts: 23
- Joined: March 13th, 2004, 12:56 am
- Location: Norway
- Contact:
[quote="whafro"]So this is working great... but I wish that every setting in the account manager had a hook to this... like:
- expunge inbox on exit
- ldap servers
- reply above/below
I looked into prefs.js, and tryed to convert the settings from there into my rdf-file. For instance, reply above/below is
user_pref("mail.identity.id1.reply_on_top", 1);
Then i removed the underscores and ended up with
<NC:replyOnTop>1</NC:replyOnTop>
in the rdf-file. I also compared the the prefix "mail.identity.id1" to find which section it should be put into. "ComposeHtml" has the same prefix; "mail.identity.id1", so I guessed it should be put in the same section in the rdf-file:
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>false</NC:composeHtml>
<NC:bccSelf>false</NC:bccSelf>
<NC:organization>Universitetet i Oslo</NC:organization>
<NC:replyOnTop>1</NC:replyOnTop>
</NC:nsIMsgIdentity>
</NC:identity>
I also found the settings
<NC:emptyTrashOnExit>1</NC:emptyTrashOnExit>
<NC:cleanupInboxOnExit>1</NC:cleanupInboxOnExit>
Some other settings was harder to find, setting up personal namespace on a IMAP-server was difficult, in prefs.js it's:
user_pref("mail.server.server1.namespace.personal", ""INBOX."");
After some searching at www.xulplanet.com I understood it's another syntax in the RDF-file:
<NC:personalNamespace>"INBOX."</NC:personalNamespace>
Here is the RDF-file:
<?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:ulrik.uio.no">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:prettyName>UiO</NC:prettyName>
<NC:hostName>imap.uio.no</NC:hostName>
<NC:biffMinutes>15</NC:biffMinutes>
<NC:type>imap</NC:type>
<NC:port>993</NC:port>
<NC:loginAtStartup>true</NC:loginAtStartup>
<NC:isSecure>true</NC:isSecure>
<NC:ServerType-imap>
<NC:nsIImapIncomingServer>
<NC:maximumConnectionsNumber>2</NC:maximumConnectionsNumber>
<NC:serverDirectory>INBOX.</NC:serverDirectory>
<NC:personalNamespace>"INBOX."</NC:personalNamespace>
<NC:usingSubscription>0</NC:usingSubscription>
<NC:emptyTrashOnExit>1</NC:emptyTrashOnExit>
<NC:cleanupInboxOnExit>1</NC:cleanupInboxOnExit>
<NC:manageMailAccountUrl>https://www.statsvitenskap.uio.no/manual/</NC:manageMailAccountUrl>
</NC:nsIImapIncomingServer>
</NC:ServerType-imap>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>false</NC:composeHtml>
<NC:bccSelf>false</NC:bccSelf>
<NC:organization>Universitetet i Oslo</NC:organization>
<NC:replyOnTop>1</NC:replyOnTop>
</NC:nsIMsgIdentity>
</NC:identity>
<!-- smtp defaults -->
<NC:smtp>
<NC:nsISmtpServer>
<NC:hostname>smtp.uio.no</NC:hostname>
<NC:port>587</NC:port>
<NC:trySSL>2</NC:trySSL>
</NC:nsISmtpServer>
</NC:smtp>
<NC:smtpRequiresUsername>true</NC:smtpRequiresUsername>
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>true</NC:smtpUsePreferredServer>
<NC:wizardSkipPanels>true</NC:wizardSkipPanels>
<NC:wizardShortName>UiO</NC:wizardShortName>
<NC:wizardLongName>University of Oslo email</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:wizardPromote>true</NC:wizardPromote>
<NC:emailProviderName>UiO</NC:emailProviderName>
<NC:sampleEmail>username@student.sv.uio.no</NC:sampleEmail>
<NC:sampleUserName>username</NC:sampleUserName>
<NC:emailIDDescription>username</NC:emailIDDescription>
<NC:emailIDFieldTitle>User Name</NC:emailIDFieldTitle>
<NC:showServerDetailsOnWizardSummary>true</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>
- expunge inbox on exit
- ldap servers
- reply above/below
I looked into prefs.js, and tryed to convert the settings from there into my rdf-file. For instance, reply above/below is
user_pref("mail.identity.id1.reply_on_top", 1);
Then i removed the underscores and ended up with
<NC:replyOnTop>1</NC:replyOnTop>
in the rdf-file. I also compared the the prefix "mail.identity.id1" to find which section it should be put into. "ComposeHtml" has the same prefix; "mail.identity.id1", so I guessed it should be put in the same section in the rdf-file:
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>false</NC:composeHtml>
<NC:bccSelf>false</NC:bccSelf>
<NC:organization>Universitetet i Oslo</NC:organization>
<NC:replyOnTop>1</NC:replyOnTop>
</NC:nsIMsgIdentity>
</NC:identity>
I also found the settings
<NC:emptyTrashOnExit>1</NC:emptyTrashOnExit>
<NC:cleanupInboxOnExit>1</NC:cleanupInboxOnExit>
Some other settings was harder to find, setting up personal namespace on a IMAP-server was difficult, in prefs.js it's:
user_pref("mail.server.server1.namespace.personal", ""INBOX."");
After some searching at www.xulplanet.com I understood it's another syntax in the RDF-file:
<NC:personalNamespace>"INBOX."</NC:personalNamespace>
Here is the RDF-file:
<?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:ulrik.uio.no">
<!-- server info -->
<NC:incomingServer>
<NC:nsIMsgIncomingServer>
<NC:prettyName>UiO</NC:prettyName>
<NC:hostName>imap.uio.no</NC:hostName>
<NC:biffMinutes>15</NC:biffMinutes>
<NC:type>imap</NC:type>
<NC:port>993</NC:port>
<NC:loginAtStartup>true</NC:loginAtStartup>
<NC:isSecure>true</NC:isSecure>
<NC:ServerType-imap>
<NC:nsIImapIncomingServer>
<NC:maximumConnectionsNumber>2</NC:maximumConnectionsNumber>
<NC:serverDirectory>INBOX.</NC:serverDirectory>
<NC:personalNamespace>"INBOX."</NC:personalNamespace>
<NC:usingSubscription>0</NC:usingSubscription>
<NC:emptyTrashOnExit>1</NC:emptyTrashOnExit>
<NC:cleanupInboxOnExit>1</NC:cleanupInboxOnExit>
<NC:manageMailAccountUrl>https://www.statsvitenskap.uio.no/manual/</NC:manageMailAccountUrl>
</NC:nsIImapIncomingServer>
</NC:ServerType-imap>
</NC:nsIMsgIncomingServer>
</NC:incomingServer>
<!-- identity defaults -->
<NC:identity>
<NC:nsIMsgIdentity>
<NC:composeHtml>false</NC:composeHtml>
<NC:bccSelf>false</NC:bccSelf>
<NC:organization>Universitetet i Oslo</NC:organization>
<NC:replyOnTop>1</NC:replyOnTop>
</NC:nsIMsgIdentity>
</NC:identity>
<!-- smtp defaults -->
<NC:smtp>
<NC:nsISmtpServer>
<NC:hostname>smtp.uio.no</NC:hostname>
<NC:port>587</NC:port>
<NC:trySSL>2</NC:trySSL>
</NC:nsISmtpServer>
</NC:smtp>
<NC:smtpRequiresUsername>true</NC:smtpRequiresUsername>
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>true</NC:smtpUsePreferredServer>
<NC:wizardSkipPanels>true</NC:wizardSkipPanels>
<NC:wizardShortName>UiO</NC:wizardShortName>
<NC:wizardLongName>University of Oslo email</NC:wizardLongName>
<NC:wizardShow>true</NC:wizardShow>
<NC:wizardPromote>true</NC:wizardPromote>
<NC:emailProviderName>UiO</NC:emailProviderName>
<NC:sampleEmail>username@student.sv.uio.no</NC:sampleEmail>
<NC:sampleUserName>username</NC:sampleUserName>
<NC:emailIDDescription>username</NC:emailIDDescription>
<NC:emailIDFieldTitle>User Name</NC:emailIDFieldTitle>
<NC:showServerDetailsOnWizardSummary>true</NC:showServerDetailsOnWizardSummary>
</NC:nsIMsgAccount>
</NC:providers>
</RDF:Description>
</RDF:RDF>
- NathanH
- Posts: 6
- Joined: May 17th, 2004, 2:15 pm
- Location: Christchurch, New Zealand
h00ligan wrote:This is great.. is there a place we can obtain all the info of the tags available for the configuration.
I have everyting working now, but want to add a few more options..
LDAP SERVER
INLINE ATTACHMENTS
REPLY ABOVE QUOTED TEXT
CHECK SPELLING BEFORE SENDING
NEVER SEND RETURN RECEIPT
those sorts of things are the few things missing.
When I try to edit the mailnews.js it won't launch the original rdp anymore.
Thanks for any insight.
I have been able to change all those settings in the mailnews.js and they work:
pref("ldap_2.autoComplete.directoryServer", "ldap_2.servers.MyOrg");
pref("ldap_2.autoComplete.useDirectory", true);
pref("ldap_2.servers.MyOrg.auth.dn", "uid=uidname,ou=people,dc=my,dc=org");
pref("ldap_2.servers.MyOrg.auth.savePassword", true);
pref("ldap_2.servers.MyOrg.description", "My Org (Global)");
pref("ldap_2.servers.MyOrg.filename", "abook-1.mab");
pref("ldap_2.servers.MyOrg.position", 1);
pref("ldap_2.servers.MyOrg.uri", "ldap://ldaphost.my.org:389/dc=my,dc=org??sub");
pref("mail.forward_message_mode", 2); // 0=default as attachment, 2=forward as inline with attachments, (obsolete 4.x value) 1=forward as quoted (mapped to 2 in mozilla)
pref("mail.identity.default.reply_on_top", 0); // 0=bottom 1=top 2=select
pref("mail.SpellCheckBeforeSend",true);
pref("mail.mdn.report.enabled", true); // false: Never send true: Send sometimes
I got the LDAP settings from my prefs.js and removed the "user_" so only "pref" was left and added it to the mailnews.js just under the stuff about "ldap_1.servers". The other settings I found in mailnews.js
HTH,
Nathan
Last edited by NathanH on October 27th, 2004, 1:21 pm, edited 1 time in total.
- NathanH
- Posts: 6
- Joined: May 17th, 2004, 2:15 pm
- Location: Christchurch, New Zealand
- NathanH
- Posts: 6
- Joined: May 17th, 2004, 2:15 pm
- Location: Christchurch, New Zealand
NathanH wrote:I have one problem:
Our users e-mail address is <i>john.smith@myorg.com</i> but their user name is <i>smithj</i> (6+1).
I need to be able to have the e-mail address display correctly i.e <i>john.smith@myorg.com</i> not <i>smithj@myorg.com</i>.
The only way around this, as far as I can see, is to use <a href=http://mozptch.mozdev.org>Mozptch</a>.
I was hoping to avoid any extra apps, but I'll have to make do.
"Not everything that can be counted counts
and not everything that counts can be counted."
-- Albert Einstein
and not everything that counts can be counted."
-- Albert Einstein
- alime
- Posts: 3
- Joined: May 3rd, 2005, 7:44 am
i got STMP to work but i was needing to add a pop account
in my Univerity we use SMTP and POP3
i cant figure out to put both options.
right now i got it connecting threw stmp.
i guess if i make another account mailaccount.rdf but it will not show up as an option.
Any help?
Aaron
i cant figure out to put both options.
right now i got it connecting threw stmp.
i guess if i make another account mailaccount.rdf but it will not show up as an option.
Any help?
Aaron
-
- Posts: 1214
- Joined: March 31st, 2004, 8:43 pm
- Location: Seattle, WA
alime,
You can get both POP3 and SMTP in one RDF file, assuming the usernames (if needed) will be the same -- I have not figured out yet how to deal with services like Gmail that different usernames for POP3 and SMTP. You just need to both set of settings in one file. In order to prevent the file from messing up at any SMTP servers all ready setup, you should create a new SMTP server and associate it with that account. Include the following lines:
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>false</NC:smtpUsePreferredServer>
For an example of both, see my example file for Comcast.net:
http://home.comcast.net/~larkas/comcast.rdf
Feel free to download it and modify it to suit your needs.
You can get both POP3 and SMTP in one RDF file, assuming the usernames (if needed) will be the same -- I have not figured out yet how to deal with services like Gmail that different usernames for POP3 and SMTP. You just need to both set of settings in one file. In order to prevent the file from messing up at any SMTP servers all ready setup, you should create a new SMTP server and associate it with that account. Include the following lines:
<NC:smtpCreateNewServer>true</NC:smtpCreateNewServer>
<NC:smtpUsePreferredServer>false</NC:smtpUsePreferredServer>
For an example of both, see my example file for Comcast.net:
http://home.comcast.net/~larkas/comcast.rdf
Feel free to download it and modify it to suit your needs.
- el cameleon
- Posts: 181
- Joined: January 8th, 2006, 6:30 am
- Location: France
Re: Preconfigured Installation
I use a configuration file which work greats, but I still have one problem: I didn't find how to tell the spam folder of my imap server. I try:
But it doesn't work.
Any idea? I didn't find a lot of documentation about this subject
The entire file is available here: laposte.rdf
<NC:nsISpamSettings>
<NC:ActionTargetFolder>QUARANTAINE</NC:ActionTargetFolder>
</NC:nsISpamSettings>
But it doesn't work.
Any idea? I didn't find a lot of documentation about this subject
The entire file is available here: laposte.rdf
- Freee!!
- Posts: 15562
- Joined: January 28th, 2005, 5:52 am
- Location: Home, with my son!
- Contact:
Re: Preconfigured Installation
A couple of these things are case-sensitive.
Besides that, does the folder QUARANTAINE already exist?
And I think it might help if you put the name of the folder within quotes.
Besides that, does the folder QUARANTAINE already exist?
And I think it might help if you put the name of the folder within quotes.
- el cameleon
- Posts: 181
- Joined: January 8th, 2006, 6:30 am
- Location: France
Re: Preconfigured Installation
Yes, and it is written exactly the same.Freee!! wrote:A couple of these things are case-sensitive.
Besides that, does the folder QUARANTAINE already exist?
I try "QUARANTAINE", but it doesn't work But if I select it manually in the account configuration, it works.Freee!! wrote:And I think it might help if you put the name of the folder within quotes.
- Freee!!
- Posts: 15562
- Joined: January 28th, 2005, 5:52 am
- Location: Home, with my son!
- Contact:
Re: Preconfigured Installation
For the case sensivity I was referring to the names of the settings, not the name of the folder (although that would have been another possibility).el cameleon wrote: Yes, and it is written exactly the same.
- el cameleon
- Posts: 181
- Joined: January 8th, 2006, 6:30 am
- Location: France
Re: Preconfigured Installation
Ok, but where do I find the correct name for the settings? For the folder, I am sure of it cause I set it manually.