Closed
Bug 537591
Opened 15 years ago
Closed 6 years ago
imap error message not shown for NO response to 'create "folder-name"' command
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: harri, Unassigned)
Details
(Whiteboard: [has protocol logs] dupme?)
Attachments
(1 file)
(deleted),
text/plain
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2b5) Gecko/20091218 Firefox/3.6b5
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091208 Thunderbird/3.0
trying to create a folder "b.c" the imap server responds with "character not allowed in mailbox name: '.'". Thunderbird does not forward this message to the user.
Reproducible: Always
Steps to Reproduce:
1.select an imap server using '/' as folder seperator. Use plaintext authentication and no ssl/tls to ease debugging.
2.watch the imap protocol using tcpdump
3.try to create a folder "b.c"
Expected Results:
error popup
I reproduced this using Dovecot. Configuration:
# 1.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32.2 x86_64 Debian squeeze/sid
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imap
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/lib/dovecot/imap-login
mail_privileged_group: mail
mbox_write_locks: fcntl dotlock
namespace:
type: private
separator: /
location: maildir:~/Maildir
inbox: yes
list: yes
subscriptions: yes
auth default:
passdb:
driver: pam
userdb:
driver: passwd
plaintext_auth has been enabled just for debugging. I get the same with plaintext disabled and using imaps.
LC_ALL is set to "C"
Comment 1•15 years ago
|
||
(In reply to comment #0)
> trying to create a folder "b.c" the imap server responds with "character not
> allowed in mailbox name: '.'".
> Steps to Reproduce:
> 1.select an imap server using '/' as folder seperator.
>(snip)
> 3.try to create a folder "b.c"
> I reproduced this using Dovecot. Configuration:
> namespace:
> separator: /
As seen in attached IMAP log to bug 517461, Dovecot's default separater seems ".".
If create request of "b/c", I guess Dovecot creates "c under b" by create request of "b/c".
If "separator: ."(probably default), I guess Dovecot creates "c under b" by create request of "b.c".
> Thunderbird does not forward this message to the user.
What message was displayed by Tb for create request of "b.c"?
Tb silently terminates creation request of "b.c"?
Anyway, get IMAP log, check IMAP level flow, and attach log file(never paste long data), please.
> https://wiki.mozilla.org/MailNews:Logging
Reporter | ||
Comment 2•15 years ago
|
||
I can't say anything about "create b/c". That is not part of this bug report.
> Anyway, get IMAP log, check IMAP level flow, and attach log file(never paste
> long data), please.
See attachment. Look for "Character not allowed in mailbox name" to see Dovecot's reply. This message is not shown to the user.
Hope this helps.
Reporter | ||
Comment 3•15 years ago
|
||
Updated•15 years ago
|
Component: General → Networking: IMAP
Product: Thunderbird → MailNews Core
QA Contact: general → networking.imap
Whiteboard: [has protocol logs] dupme?
Comment 4•15 years ago
|
||
Confirmed with Gmail IMAP.
> 8 create "1234567890123456789012345678901234567890123456789012345678901234567890"
> 8 NO Folder name is not allowed. (Failure)
Gmail IMAP folder path(delimited by /) is Gmail Label, and Gmail has limitation of 40bytes of Gmail Label, thus too log folder path/namee is rejected.
Tb3 didn't display any error message.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: imap error message not shown for 'create "b.c"' → imap error message not shown for NO response to 'create "folder-name"' command
Comment 5•9 years ago
|
||
Removing myslef on all the bugs I'm cced on. Please NI me if you need something on MailNews Core bugs from me.
Reporter | ||
Comment 7•6 years ago
|
||
No, AFAICS dovecot allows to create a folder "b.c" now. ???
Flags: needinfo?(harri)
Comment 8•6 years ago
|
||
Thanks for the update
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•