just wondering if it is possible to put a username that has spaces in it in the .althearc file? If so, how do i do this? should i use 'My Name', "My Name", My\ Name, or something else?
I believe having a space is "OK" to have in the old configuration scheme (v.0.3.4). It should just read the entire contents of a line into the name field. Now whether this gets icky when we talk about the IMAP login, you'll have to hear from Ethan.
I certainly know that with the new XMLish configuration scheme, you can easily have whatever you want in the middle of the directives. This scheme is in the guiconfig branch of the CVS tree (and soon will be v0.4 in a couple days). Try checking it out or waiting for 0.4.
Give it a try anyways, we'd love to hear how it breaks the program. Just start althea with the -V option to get all the juicy details. Thanks!
Previously i had my .althearc all on one line like in the examples.
Then i changed it so it had one setting per line, but spaces in user names don't seem to work - Althea is seeing the space as a delimiter, and enclosing each word in quotes.
Althea does this:
[pete@anna pete]$ althea -V
S: * OK Microsoft Exchange IMAP4rev1 server version 5.5.2650.23 (server1.metering.co.nz) ready
C: a001 login "Pete" "Black"
S: a001 NO Logon failure: unknown user name or bad password.
How far away is 0.4, since i quite like Altheas simplicity?
Thanks for any help
0.4 will most likely be released today or tomorrow (barring any weird final bugs or release problems with sourceforge). Like I said before, the new configuration scheme *should* let you enter in a username like this:
but something else later in the program might crap out. I think after we release, that will be one thing to check on. If you d/l 0.4 and find it working for you, let us know!
OK, the official response from the "IMAP Guy" all versions prior to 0.4.0 will not work with spaces in a username or password. (because each field in the config file must be one word) "\ " might work, but I'd suggest going to 0.4.0.
In 0.4.0 it definately works. Both reading the config file and sending IMAP login commands (the imap username is sent in quotes to account for that...)
So go to 0.4.0 and you should be all set.