On Sun, 20 Oct 2002 00:04:18 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
I played with a config file which is attached to this mail. You'll find some comments in it. > RB> - Then I wanted to call Mahogany relatively to the > RB> current directory. This did not work. It seems that Mahogany > RB> wants an absolute path for "--config". However, it seems > RB> to accept both UNIX- and DOS-Syntax (dir/dir/file vs dir\dir\file) > > It is normal that it accepts both separators (as almost all Windows > utilities do BTW) but I don't know why didn't using a relative path work. > What did it say? It did not say anything, it just startet the initial setup procedure. > RB> - The following paths must be absolute as well: > RB> FolderDir > RB> GlobalDir > RB> UserDirectory > RB> TreeSelection (?) > RB> AdbFilePath (?) > > Do they? What happens if they're not? Meanwhile I think just FolderDir is the problem. Relative paths seem to work with GlobalDir and UserDirectory. (See attachment.) > RB> - The paths mostly need double backslashes but there are exceptions > RB> where even DOS- and UNIX-conventions can be mixed up. > > I think you can use slashes everywhere. Where it didn't work? Maybe it's just a Problem with FolderDir. > Alternative solution is to use environment variables (i.e. write > FolderDir=$FOLDER_DIR) in the config file. You mean for the future? At the moment it does not seem to work on Windows. But environment variables would not solve my problem: When I plug in an USB drive I cannot control what letter will be assigned to the device. Or at least this were an extra layer of complication. So I'd like to cd to my mail root directory and start Mahogany from there with relative paths. > I think there are more problems than the ones you found now. I'm going > to > think about it and post my ideas on the subject to m-dev a.s.a.p. -- in > fact, I wanted to do it today but didn't have enough time... Great! Thanks Roland ################################################################ # # 20-Oct-2002 # # Sample config file for using Mahogany from the # current directory on Windows ... # # ( Mahogany 0.64.2, http://mahogany.sourceforge.net/ ) # # For initial generation of the config file from the # registry use the Perl script # http://home.ix.netcom.com/~mchase/zip/M-Config.zip # (see the documentation there). # # If the export from the registry does not work directly, # save HKEY_CURRENT_USER\Software\Mahogany-Team to a file # and use that as input for the script. # # Starting Mahogany: # # M.exe --config=absolute_path_to_config_file # # You must use "\" (single backslashes) as directory delimiter. # # REMARKS: # - in [M/Profiles/xxx], the attribute Path=xxx must be set (there is no default) # - in Paths either the delimiters '/' or '\\' (double backslash!) are allowed, but not a mixture # - for FolderDir just "\\" seem to be allowed # - relative paths seem to be ok in GlobalDir, UserDirectory, SignatureFile (but not FolderDir) [M] [M/Filters/vim] Name=vim Settings=1 -1 0 2 "Delivered-To: mailing list [EMAIL PROTECTED]" 1 2 "vim" [M/Frames/wxMainFrame] Maximised=1 [M/Frames/LogWindow] # these default values will be set by Mahogany if missing: XPos=20 YPos=50 Width=600 Height=400 [M/Profiles] # MailboxFileFormat: # - default for new folders # - VALUES: 0 = mbx, 1 = mbox # - if not set, default = 0 MailboxFileFormat=1 # MsgViewer: # - for folders where not specified # - VALUES: HtmlViewer | TextViewer | LayoutViewer # - ok if not set MsgViewer=TextViewer # Type: # - will be used as default for each profile # - must be set here or for each profile (otherwise error when opening folder) # - if missing it will be set for each opened folder by Mahogany # - VALUES: # 1 = File # 131073 = Calendar # 8193 = Drafts # 262147 = IMAP Server # 12289 = New Mail # 263428 = NNTP Server # 9217 = Outbox # 4195842 = POP3 Server # 24577 = SentMail # 24577 = Trash Type=1 # *** START_OF_DYNAMICALLY_SET_PROPERTIES *** # MainFolder: # - the folder which was opened when Mahogany was closed # - set dynamically # - EXAMPLE: MainFolder=mahogany.mbox # *** END_OF_DYNAMICALLY_SET_PROPERTIES *** ########################################## # GlobalDir: # - if not set the user will be asked for # # OK: # GlobalDir=D:/mahogany-box/exe # GlobalDir=D:\mahogany-box\exe # GlobalDir=exe GlobalDir=exe # UserDirectory: # - defaults to $HOME # - relative to '.' # - used for subdir cache # - used for autocollect.adb (??) # # OK: # UserDirectory=D:/mahogany-box/user # UserDirectory=D:\\mahogany-box\\user # UserDirectory=user UserDirectory=user # FolderDir: # - relative to $HOME ?? # - not relative to '.' # # OK: # FolderDir=D:\\mahogany-box\\folder # FolderDir=D:/mahogany-box/folder # FolderDir=D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\folder # # NOT OK: # FolderDir=D:/0-cd-1.5-mail-box/2002-10-21-mahogany-box/folder # >>> Error: Mail log: Can't open mailbox D:/0-cd-1.5-mail-box/2002-10-21-mahogany-box/folder\Outbox: no such mailbox # FolderDir=.\\folder # >>> Error: Mail log: Can't open mailbox .\folder\Outbox: no such mailbox FolderDir=D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\folder # SignatureFile: # - searches '.', NOT: UserDirectory, GlobalDir # # OK: # SignatureFile=c:/!home/.signature1 # SignatureFile=c:\\!home\\.signature1 # SignatureFile=.signature11 # SignatureFile=sig/.signature # # NOT OK: # SignatureFile=c:\!home\.signature1 # SignatureFile=$HOME/.signature1 # SignatureFile=${HOME}/.signature1 # SignatureFile=%HOME%/.signature1 # SignatureFile= SignatureFile=sig/.signature ########################################## AddDefaultHostName=0 AutoShowFirstUnread=1 AutoShowSelect=1 ClickToOpen=1 ConfirmExit=0 DialUpNetSupport=0 DraftsFolder=Drafts FirstRun=0 FolderListCtrl=93:300:200:206:165:-1 FolderProgressThreshold=1 HelpFrameHeight=0 HelpFrameWidth=0 HelpFrameXpos=0 HelpFrameYpos=0 HostName=fff.at Imap4Host=imap.fff.at KeepCopies=1 LastFolderType=1 LastTip=6 LicenseAccepted=1 MailDebug=1 MailHost=smtp.inode.at MailHostLogin=rbauer Modules=Filters:LayoutViewer:TextViewer MsgViewHeaders=Date:From:Subject:Newsgroups:To:Cc:Bcc:Reply-To:Mailing-List:Message-Id: NewMailFolder=New Mail NewMailPlaySound=0 NewsHost=news.fff.at Organization= OutBoxName=Outbox PersonalName=Roland Bauer Pop3Host=mail.inode.at [EMAIL PROTECTED] SentMailFolder=SentMail ShowAdb=0 ShowHiddenFolders=1 ShowLog=1 ShowSplash=0 ShowTips=0 SortMessagesBy=2 ThreadMessages=0 TrashFolder=Trash TwoFishOk=1 UseLocale_de=0 UseLocale_DEU=0 UseOutBox=1 UserColWidths=93:300:200:206:165:4294967295 Userlevel=1 UserName=rbauer UseTrash=1 Version=0.64.2 Path= MainFolder= [M/Profiles/Calendar] Comment=This folder is used to store data for the calendar plugin module. Path=Calendar Type=131073 [M/Profiles/Drafts] Comment=Folder where the postponed messages are stored, ComposeInsertSignature=0 FViewLastSel=9 Index=5 Path=Drafts Type=8193 [M/Profiles/ERLEDIGT] Path=Erledigt.mbox [M/Profiles/hannes] Path=hannes_folder [M/Profiles/IMAP\ Server] Icon=4 Index=6 Path= TryCreate=1 Type=262147 [M/Profiles/Inbox1] Path=2002-07-08-Inbox [M/Profiles/luga1] Path=luga1 [M/Profiles/mahogany.mbox] Path=mahogany.mbox Type=1 FViewLastSel=38 [M/Profiles/mailer-daemon] Path=mailer-daemon [M/Profiles/New\ Mail] AutoShowFirstMessage=1 AutoShowFirstUnread=0 AutoShowLastSel=0 ColumnDate=3 ColumnFrom=2 ColumnNum=4294967295 ColumnSize=4 ColumnStatus=0 ColumnSubject=1 Comment=Folder where Mahogany will collect all new mail. ComposeInsertSignature=0 Filters=vim:vim FolderListCtrl=74:121:200:302:253:-1 FViewLastSel=0 Icon=11 Index=1 MaxMsgSize=10 MsgProgressMinSize=10 NewMailPlaySound=0 Path=New Mail ShowNewMailInfo=4294967295 SortMessagesBy=3 ThreadMessages=0 Type=12289 [M/Profiles/NNTP\ Server] Icon=5 Index=8 Path= Type=263428 [M/Profiles/no-html] Path=no-html [M/Profiles/OFFEN.mbox] Path=OFFEN.mbox [M/Profiles/Outbox] Comment=Folder where Mahogany will queue messages to be sent ComposeInsertSignature=0 FViewLastSel=0 Icon=14 Index=4 Path=Outbox ReplaceFrom=1 Type=9217 [M/Profiles/POP3\ Server\ (0,\ 0)] AlwaysUseExtEditor=1 AutoShowFirstUnread=1 AutoShowLastSel=0 CollectAtStartup=0 ColumnDate=3 ColumnFrom=2 ColumnNum=5 ColumnSize=4 ColumnStatus=0 ColumnSubject=1 Comment= FolderListCtrl=93:300:200:206:165:4294967295 Icon=3 Index=7 Login=rbauer MaxMsgSize=10 MsgProgressMinSize=10 NewMailPlaySound=0 Password=402874757311643c Path= PollIncomingDelay=100000 PollOpenedOnly=0 ShowNewMailInfo=4294967295 Type=4195842 [M/Profiles/SentMail] Comment=Folder where Mahogany will store copies of outgoing messages. ComposeInsertSignature=0 FolderListCtrl=78:120:200:206:229:-1 FViewLastSel=0 Icon=12 Index=2 NewMailPlaySound=0 Path=SentMail ReplaceFrom=1 SortMessagesBy=3 ThreadMessages=0 Type=24577 [M/Profiles/Trash] Comment=Folder where Mahogany will store deleted messages. FolderListCtrl=93:300:200:206:253:-1 FViewLastSel=0 Icon=15 Index=3 Path=Trash Type=24577 [M/Profiles/use_my_calendar] Path=use_my_calendar [M/Profiles/vienna-pm] Path=vienna_pm [M/Profiles/vim.mbox] Path=vim.mbox [M/Profiles/volleyball] Path=volleyball [M/Profiles/Werbung.mbox] Path=Werbung.mbox [Prompts] 0=add2 1=add1 [Prompts/MsgViewFindString] 0=[FFFF] Hobbybaecker gesucht fuer Kochserie [Prompts/NewIdentity] 0=roli [Settings] AdbImportFile= LastPickedFolder=New Mail [Settings/AdbEditor] FindOptions=2 FindWhere=11 LastNewEntry=xx1 LastNewWasGroup=0 TreeSelection=\\D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\exe\\M.adb.adb\\Hannes [Settings/AdbEditor/AddressBooks] 0=D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\exe\\autocollect.adb 1=D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\exe\\M.adb.adb [Settings/AdbEditor/ExpandedBranches] 0=/autocollect/Inbox1 1=/autocollect/New Folder_1 2=\\D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\exe\\M.adb.adb [Settings/AdbEditor/FindKey] 0=oehme 1=ro 2=ink 3=roland.bauer 4=laura [Settings/AdbEditor/Providers] 0=FCDataProvider 1=FCDataProvider [Settings/Checkboxes] AdbImportAutoFile=0 AdbImportAutoFormat=0 RenameMbox=1 [Settings/FilePrompts] AdbFile=M.adb.adb AdbFilePath=D:\\0-cd-1.5-mail-box\\2002-10-21-mahogany-box\\exe #sig=.signature #sigPath=C:\\Programme\\Mahogany [Settings/ListBoxSelection] AdbImportFormat=4294967295 AllTemplates=0 FiltersList=0 MsgTemplate=2 [Settings/ListCtrlColumns] CalendarModuleListCtrl=80:80:80 [Settings/MessageBox] AskPwd=2 ConfirmExit=2 DraftSaved=4 EmptyTrashOnExit=8 ExplainColClick=4 MailSentMessage=4 OpenUnaccessibleFolder=8 ReenableHint=4 SuspendAutoCollectFolder=2 [Settings/NotebookPages] CustomNotebook=0 FolderCreateNotebook=0 IdentNotebook=0 OptionsNotebook=3 [Settings/SashPositions] ComposeSplit=165 FolderSplit=261 MainSplitter=197 [Settings/TreeCtrlExp] FolderTree=0 [wxWindows] [wxWindows/FontMapper] [wxWindows/FontMapper/Charsets] big5=1 #big5=4294967294 default=1 DEFAULT_CHARSET=1 GB2312=1 GB2312_CHARSET=4294967294 ks_c_5601-1987=1 UNKNOWN_PARAMETER_VALUE=1 windows-1258=1 [wxWindows/FontMapper/Encodings] Arial_iso-8859-7=33;Arial;161 iso-8859-2=30;;238 iso-8859-7=33;;161 iso-8859-9=34;;162 koi8-r=31;;204 Times\ New\ Roman_iso-8859-7=33;Times New Roman;161 ------------------------------------------------------- This sf.net email is sponsored by: Access Your PC Securely with GoToMyPC. Try Free Now https://www.gotomypc.com/s/OSND/DD _______________________________________________ Mahogany-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-users
