[Dovecot] Dovecot + iPhone
dovecot version: 1.0.13 (RPM from http://atrpms.net/) protocol: IMAP dovecot -n: # 1.0.13: /etc/dovecot.conf log_path: /var/log/dovecot/dovecot.log listen: *removed* ssl_cert_file: /etc/pki/dovecot/certs/dovecot.pem ssl_key_file: /etc/pki/dovecot/private/dovecot.pem login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u mbox_lazy_writes: no imap_client_workarounds: outlook-idle delay-newmail auth default: cache_size: 1024 passdb: driver: pam args: session=yes cache_key=%u dovecot userdb: driver: passwd
I want to start out by saying that Dovecot works 100% when viewing/moving mail (on our company mail server that I maintain) via Outlook Express and/or Windows Mail.
I'm having issues with moving mail via my iPhone.
If I move a message from my Inbox to another folder, the mail gets COPIED...not moved. So it exists in my Inbox as well as the folder I moved it to.
When I test on my iPhone to Yahoo's mail server, the moved process works 100%.
Is there a Dovecot setting that needs to be tweeked or possibly another CentOS 5 OS setting?
Any help is greatly appreciated!
This message has been scanned for viruses and dangerous content by MailScanner & ClamAV.
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.
On Wed, 23 Apr 2008, Tim Riley wrote:
dovecot version: 1.0.13 (RPM from http://atrpms.net/) protocol: IMAP dovecot -n: # 1.0.13: /etc/dovecot.conf log_path: /var/log/dovecot/dovecot.log listen: *removed* ssl_cert_file: /etc/pki/dovecot/certs/dovecot.pem ssl_key_file: /etc/pki/dovecot/private/dovecot.pem login_dir: /usr/local/var/run/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login mail_privileged_group: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u mbox_lazy_writes: no imap_client_workarounds: outlook-idle delay-newmail auth default: cache_size: 1024 passdb: driver: pam args: session=yes cache_key=%u dovecot userdb: driver: passwd
I want to start out by saying that Dovecot works 100% when viewing/moving mail (on our company mail server that I maintain) via Outlook Express and/or Windows Mail.
I'm having issues with moving mail via my iPhone.
If I move a message from my Inbox to another folder, the mail gets COPIED...not moved. So it exists in my Inbox as well as the folder I moved it to.
That's odd. Can you provide a Dovecot rawlog?
http://www.dovecot.org/bugreport.html has general information on debugging, and http://wiki.dovecot.org/Debugging/Rawlog has more information on Rawlog in particular.
-- Asheesh.
-- Clothes make the man. Naked people have little or no influence on society. -- Mark Twain
On Wed, Apr 23, 2008 at 11:59:29AM -0400, Tim Riley wrote:
I want to start out by saying that Dovecot works 100% when viewing/moving mail (on our company mail server that I maintain) via Outlook Express and/or Windows Mail.
I'm having issues with moving mail via my iPhone.
If I move a message from my Inbox to another folder, the mail gets COPIED...not moved. So it exists in my Inbox as well as the folder I moved it to.
When I test on my iPhone to Yahoo's mail server, the moved process works 100%.
The iPhone does not expunge messages marked for deletion. If you are seeing the message still in your inbox, but with the \Deleted flag set, that is completely normal and is a feature/failure of the iPhone.
It may be that Yahoo's mail servers automatically do an expunge upon disconnect even if not requested by the client.
If you aren't seeing the \Deleted flag on the Inbox copy, then there may be some other issue at work, but it all works fine with our installation of 1.1rc4.
-- Dean Brooks dean@iglou.com
Where do I check to make sure the /Deleted flag is set on the message in my Inbox?
Also, Can I configure Dovecot to function like Yahoo's server and expunge on disconnect?
---------- Original Message ----------- From: Dean Brooks dean@iglou.com To: dovecot@dovecot.org Sent: Wed, 23 Apr 2008 12:47:10 -0400 Subject: Re: [Dovecot] Dovecot + iPhone
On Wed, Apr 23, 2008 at 11:59:29AM -0400, Tim Riley wrote:
I want to start out by saying that Dovecot works 100% when viewing/moving mail (on our company mail server that I maintain) via Outlook Express and/or Windows Mail.
I'm having issues with moving mail via my iPhone.
If I move a message from my Inbox to another folder, the mail gets COPIED...not moved. So it exists in my Inbox as well as the folder I moved it to.
When I test on my iPhone to Yahoo's mail server, the moved process works 100%.
The iPhone does not expunge messages marked for deletion. If you are seeing the message still in your inbox, but with the \Deleted flag set, that is completely normal and is a feature/failure of the iPhone.
It may be that Yahoo's mail servers automatically do an expunge upon disconnect even if not requested by the client.
If you aren't seeing the \Deleted flag on the Inbox copy, then there may be some other issue at work, but it all works fine with our installation of 1.1rc4.
-- Dean Brooks dean@iglou.com ------- End of Original Message -------
This message has been scanned for viruses and dangerous content by MailScanner & ClamAV.
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.
On Wed, Apr 23, 2008 at 01:27:02PM -0400, Tim Riley wrote:
Where do I check to make sure the /Deleted flag is set on the message in my Inbox?
Well, one way is to look at the X-Status: header and see if it contains the letter "D". As in:
X-Status: D
If it does, then it has been marked deleted by the client.
Also, Can I configure Dovecot to function like Yahoo's server and expunge on disconnect?
Not sure about that. There may be a plugin for it somewhere, but others on the list will know more about that. Expunging is normally up to the client to request though.
-- Dean Brooks dean@iglou.com
I viewed the message left in the inbox and it does contain X-Status: D. So the flag is set.
I'll call Apple tech support and see if there's a way to get the iPhone's mail client to expunge mail.
I'm still interested in seeing if there's a plugin for Dovecot to expunge mail.....so if anyone out there knows of one....I would really appreciate some direction.
Thanks for the help!
On Wed, Apr 23, 2008 at 01:27:02PM -0400, Tim Riley wrote:
Where do I check to make sure the /Deleted flag is set on the message in my Inbox?
Well, one way is to look at the X-Status: header and see if it contains the letter "D". As in:
X-Status: D
If it does, then it has been marked deleted by the client.
Also, Can I configure Dovecot to function like Yahoo's server and expunge on disconnect?
Not sure about that. There may be a plugin for it somewhere, but others on the list will know more about that. Expunging is normally up to the client to request though.
-- Dean Brooks dean@iglou.com ------- End of Original Message -------
This message has been scanned for viruses and dangerous content by MailScanner & ClamAV.
This message and any attachments may contain information that is protected by law as privileged and confidential, and is transmitted for the sole use of the intended recipient(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, copying or retention of this e-mail or the information contained herein is strictly prohibited. If you received this e-mail in error, please immediately notify the sender by e-mail, and permanently delete this e-mail.
on 4-23-2008 1:04 PM Tim Riley spake the following:
I viewed the message left in the inbox and it does contain X-Status: D. So the flag is set.
I'll call Apple tech support and see if there's a way to get the iPhone's mail client to expunge mail.
I'm still interested in seeing if there's a plugin for Dovecot to expunge mail.....so if anyone out there knows of one....I would really appreciate some direction.
Thanks for the help!
Microsoft's Outlook is similar in that it doesn't call an expunge automatically. Does the iPhone client have an expunge setting or a hidden button somewhere?
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
On Wed, Apr 23, 2008 at 01:45:03PM -0700, Scott Silva wrote:
on 4-23-2008 1:04 PM Tim Riley spake the following:
I viewed the message left in the inbox and it does contain X-Status: D. So the flag is set.
I'll call Apple tech support and see if there's a way to get the iPhone's mail client to expunge mail.
I'm still interested in seeing if there's a plugin for Dovecot to expunge mail.....so if anyone out there knows of one....I would really appreciate some direction.
Thanks for the help!
Microsoft's Outlook is similar in that it doesn't call an expunge automatically. Does the iPhone client have an expunge setting or a hidden button somewhere?
There is a setting under Advanced options on the iPhone where you can "Delete messages after XX days", but the lowest you can set it to is "1 day". I have no idea why there isn't an "Immediately" option.
I'm also unsure if that is actually the expunge action, or if the phone is doing some sort of manual move to the Trash folder instead after that period of time.
-- Dean Brooks dean@iglou.com
on 4-23-2008 2:14 PM Dean Brooks spake the following:
On Wed, Apr 23, 2008 at 01:45:03PM -0700, Scott Silva wrote:
on 4-23-2008 1:04 PM Tim Riley spake the following:
I viewed the message left in the inbox and it does contain X-Status: D. So the flag is set.
I'll call Apple tech support and see if there's a way to get the iPhone's mail client to expunge mail.
I'm still interested in seeing if there's a plugin for Dovecot to expunge mail.....so if anyone out there knows of one....I would really appreciate some direction.
Thanks for the help!
Microsoft's Outlook is similar in that it doesn't call an expunge automatically. Does the iPhone client have an expunge setting or a hidden button somewhere?
There is a setting under Advanced options on the iPhone where you can "Delete messages after XX days", but the lowest you can set it to is "1 day". I have no idea why there isn't an "Immediately" option.
I'm also unsure if that is actually the expunge action, or if the phone is doing some sort of manual move to the Trash folder instead after that period of time.
I don't think you will get dovecot to do any expunging without a plugin, because only the client is supposed to expunge in the IMAP spec. You could look at the plugins info at http://wiki.dovecot.org/Plugins
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
participants (4)
-
Asheesh Laroia
-
Dean Brooks
-
Scott Silva
-
Tim Riley