搞懂Outlook配置文件(PRF)

  • A+
所属分类:微软相关

 

本文摘自国外,估计用的人不多,所以我只是把里面主要的内容做一些解释。

模板文件可以用安装文件来导出, setup.exe /admin,配置完成后就可以导出了。

第一部分 - 默认配置

[General]
Custom=1

描述
ProfileName=ProfileNames 你的配置文件名称
DefaultProfile=Yes 配置文件是否设置为默认启动 可选 Yes 或 No
OverwriteProfile=Yes 是否想替代该配置文件或者添加配置? 可选Yes, No, 和 Append. 使用 Append更新当前配置。
ModifyDefaultProfileIfPresent=FALSE Modifies the default profile if one exists, even if the profile name is different from the one in the PRF.
BackupProfile=No Undocumented property to avoid creating backup copies of a profile.
DefaultStore=Service3 Which PST should be the default message store? Use the Service name that corresponds to the PST

Section 2 - Services in Profile

This section is pretty straight forward. You'll have one service entry per personal store or address book in your profile. Outlook 2003's Unicode PST is "Unicode Personal Folders" while the Outlook97/2002 (ANSI) format is just "Personal Folders"

[Service List]
;ServiceX=Microsoft Outlook Client
Service1=Personal Folders
Service2=Unicode Personal Folders
Service3=Unicode Personal Folders
Service4=Outlook Address Book

Section 3 - List of Internet Accounts

Each account in your profile is listed in this section, followed by the account type. If you add more accounts in Section 5, be sure to add the accounts here, incrementing the Account#. If you have 6 email accounts, you'll 6 accounts listed, numbered 1 through 6. The account types (POP3, IMAP, HTTP) can be in any order, the examples on this page came from the sample PRF where they were in POP3 and IMAP. Note that HTTP protocol is not longer supported and this PRF does not contain information for Outlook Hotmail Connector.

[Internet Account List]

Value Description
Account1=I_Mail I_Mail indicates Account1 is a POP3 (Internet) mail
Account2=IMAP_I_Mail IMAP_I_Mail indicates Account2 is a IMAP account

Section 4 - Default Values for each Service

Value Description
[Service1] Service name, corresponds with the services listed in Section 2.
UniqueService=No Are you limited to one of this service type in a profile? Answer No for PSTs.
Name=My Personal Folders Service name. For PST, this is the display name in the profile.
PathToPersonalFolders=%USERPROFILE%\ documents\outlook files\outlook.pst Where is the pst stored and what is the filename? By default, it's in the user profile.
EncryptionType=0x80000000 Encrpytion type:
0x80000000 = No encryption
0x40000000 = Compressible encryption, the default (ANSI) or
0x50000000 (Unicode) See Note below
0x20000000 = High encryption

Outlook Address Book service does not need any parameters, it just needs added to the profile:

[Service4]

Section 5 - Values for each Internet Account

Each account needs to be listed here, using the proper format for the account type. The CIW leaves some fields blank, as shown here, unless you selected More options as you added the profiles. To add new accounts, copy the proper account type and paste it following the last account, changing the account information as needed. Don't forget to change the Account# here and add it to Section 3.

POP3 Account Settings

Value Description
[Account1] Account number. It needs entered here and in Section 3. Use a different number for each account.
UniqueService=No Can you add the account type more than once? Because you can have more than one POP3, IMAP, or HTTP, you'll use No.
AccountName=Outlook Tips POP3 The name displayed in the Accounts dropdown and on the Send/Receive list.
POP3Server=mail.outlook-tips.net POP3 server name
SMTPServer=mail.outlook-tips.net SMTP server name
POP3UserName=outlookt The username you use to log on to your account
EmailAddress=tips@outlook-tips.net Your email address.
POP3UseSPA=0 Do you use SPA? In most cases, the answer is No, or 0. Enter 1 if you do use SPA.
DisplayName=Diane Poremsky Enter the display name to be used when you send messages.
ReplyEMailAddress= If you use a different reply to address, enter it here.
SMTPUseAuth=1 Are you required to authenticate before sending email? 1 = Yes, 0 = No.
SMTPAuthMethod=0 What authentication method do you use?
0= use same as POP3 logon.
1= Use different credentials.
2= POP before SMTP
SMTPUserName=dianep Username to use when you use different credentials to send mail.
ConnectionType=0 How do you connect to the internet?
0 = LAN.
1 = Use IE's dialer
2 = Use Phone line
3 = Use modem if LAN unavailable.
LeaveOnServer=0x0 Leave mail on the server?
0x0 = No.
0x50001 = Yes, days option unchecked, never delete.
0x90003 = Yes, 9 days, don't delete.
0x50007 = Yes, 5 days, Delete from server when emptying Deleted items
ConnectionOID=MyConnection Dial up connection (DUN) to use.
POP3Port=110 The POP3 port. Leave it on the default of 110 unless you are told to change it.
POP3UseSSL=0 Do you use SSL? In most cases, it's No, which is 0.
ServerTimeOut=60 What is your server time out? 60 seconds is default.
SMTPPort=25 SMTP port number. 25 is default but some servers use 2525 or 587. Leave it at 25 unless you need a different port.
SMTPUseSSL=0 Does your SMTP server use SSL? Leave it on 0 (No) unless told otherwise.

IMAP Account

Value Description
[Account2] Account number. It needs entered here and in Section 3
UniqueService=No Can you add the account type more than once? Use No for HTTP, POP#, or IMAP accounts.
AccountName=AOL-IMAP The name displayed in the Accounts dropdown and on the Send/Receive list.
IMAPServer=imap.aol.com IMAP server
SMTPServer=smtp.aol.com SMTP server
IMAPUserName=poremsky Your username, used to logon when you check email.
EmailAddress=poremsky@aol.com Email address
IMAPUseSPA=0 Use SPA? 0 = No, only change it if you do need to use SPA.
DisplayName=Diane Poremsky The display name you want to use when you send messages
ReplyEMailAddress= Reply to email address, if different than your sending email address.
SMTPUseAuth=1 Do you need to authenticate to send email? 1= Yes.
SMTPAuthMethod=0 What authentication method do you use?
0= use same as POP3 logon.
1= Use different credentials.
2= POP before SMTP
SMTPUserName=dianep Username to use when you use different credentials to send mail.
ConnectionType=0 How do you connect to the internet?
0 = LAN.
1 = Use IE's dialer
2= Use Phone line
3 = Use modem if LAN unavailable.
RootFolder= Do you use a root folder? If so, enter the path here.
ConnectionOID=MyConnection Dial up networking connection to use.
IMAPPort=143 The port you use to collect email. Default is 143, don't change it unless told to.
IMAPUseSSL=0 Do you use SSL? 0= No.
ServerTimeOut=60 Server timeout.
SMTPPort=587 The SMTP port to use. Default is 25, change it only if your server uses a different port, as AOL does.
SMTPUseSSL=0 Do you use SSL to send mail? 0=No.
  • 我的微信
  • 扫一扫加我好友
  • weinxin
  • 微信公众号
  • 挨踢不可缺少
  • weinxin
avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: