[Dovecot] Root User to Access Mailboxes for Migration
Dear All,
Hi there. We're currently using Microsoft Transporter Suite to
migrate emails from Dovecot to Exchange. One of the features available to migrate is using the IMAP server administrator account to access other users' mailboxes.
How and what do I need to set this up? Any information is much
appreciated.
Faisal Jaffar
On 9/28/2009, Faisal Jaffar (fjaffar@swinburne.edu.my) wrote:
Hi there. We're currently using Microsoft Transporter Suite to migrate emails from Dovecot to Exchange. One of the features available to migrate is using the IMAP server administrator account to access other users' mailboxes.
How and what do I need to set this up? Any information is much appreciated.
I think what you are looking for is dovecots 'Master User':
http://wiki.dovecot.org/Authentication/MasterUsers
My sympathies having to move from dovecot to exchange...
--
Best regards,
Charles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
Thanks for all the advice and help thus far. Dovecot is, mostly, working really well in our HP-UX IA64 11.23 ServiceGuard failover environment.
Recently however, the system has been experiencing heavy load, due to other factors and we've been seeing imap processes dropping data. We had assumed it was because the system was under *considerable* stress, but now we have the load back under some semblance of control, these issues are still happening. So, I'm beginning to wonder if there is some limit we're hitting in the configuration, but for the life of me, I can't see what it might be.
The problems we see are sporadic thunderbird error messages of the kind "cannot save message to Sent folder" and for some users with large-ish numbers of mail folders one or two of their folders are appearing empty.
The "dovecot -n" output follows:
#/opt/dovecot/sbin/dovecot -n # 1.2.4: /opt/dovecot/etc/dovecot.conf # OS: HP-UX B.11.23 ia64 base_dir: /var/run/dovecot log_path: /var/adm/dovecot.log info_log_path: /var/adm/dovecot.log listen: *:143 ssl_listen: *:993 ssl_cert_file: /opt/dovecot/etc/ssl/IMAP.pem ssl_key_file: /opt/dovecot/etc/ssl/IMAP.pem disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /opt/dovecot/libexec/dovecot/imap-login login_process_size: 0 login_processes_count: 10 login_max_processes_count: 512 login_max_connections: 512 mail_max_userip_connections: 15 first_valid_uid: 100 mail_location: maildir:/mail%h/Maildir mail_debug: yes mmap_disable: yes mail_process_size: 0 namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: verbose: yes debug: yes process_size: 0 passdb: driver: pam userdb: driver: passwd
Any advice would be gratefully received. Thanks, SAW
Steven-Ashley Woltering, MBCS, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKwLrCh854NVK99FMRAoFyAJ9VVb5xFC2qz6OfFPQgSPEIQUInJQCffhdN 1bJyhje3vzMKJUsOOredJPY= =iqVX -----END PGP SIGNATURE-----
On Sep 28, 2009, at 9:31 AM, S. A. Woltering wrote:
The problems we see are sporadic thunderbird error messages of the
kind "cannot save message to Sent folder" and for some users with large-ish numbers of mail folders one or two of their folders are appearing
empty.
Client-side firewall/antivirus is a common reason for this.
BTW. Don't post new messages by replying to an existing message, it'll
mess up threading.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Timo Sirainen wrote:
On Sep 28, 2009, at 9:31 AM, S. A. Woltering wrote:
The problems we see are sporadic thunderbird error messages of the kind "cannot save message to Sent folder" and for some users with large-ish numbers of mail folders one or two of their folders are appearing empty.
Client-side firewall/antivirus is a common reason for this.
I can imagine that might be a cause on Windows (and we do seem to have a disproportionate number of problems with the Windows Thunderbird client), but it is also happening with Linux and both Firewall and SELINUX are disabled, so that possibility must be excluded...
BTW. Don't post new messages by replying to an existing message, it'll mess up threading.
Apologies! SAW
Steven-Ashley Woltering, MBCS, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKwMB+h854NVK99FMRArf3AJ9bn1/s2GYyLXJ5WW0YlXxgnCBpuwCaA4CQ NzpmZ15wfeOuXXS0O5AC7Oc= =U3Ef -----END PGP SIGNATURE-----
On Mon, 2009-09-28 at 14:31 +0100, S. A. Woltering wrote:
The problems we see are sporadic thunderbird error messages of the kind "cannot save message to Sent folder" and for some users with large-ish numbers of mail folders one or two of their folders are appearing empty.
Hmm. So .. Do you see anything different in log files around that time? For example:
imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=<tss>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
or:
dovecot: Error: Maximum number of mail processes exceeded (see max_mail_processes setting)
or anything else with "Error:" or "Fatal:" prefix?
log_path: /var/adm/dovecot.log info_log_path: /var/adm/dovecot.log
I'd put these to different files. It's then easy to see if there have been any errors, because only errors will be written to log_path.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Timo Sirainen wrote:
On Mon, 2009-09-28 at 14:31 +0100, S. A. Woltering wrote:
The problems we see are sporadic thunderbird error messages of the kind "cannot save message to Sent folder" and for some users with large-ish numbers of mail folders one or two of their folders are appearing empty.
Hmm. So .. Do you see anything different in log files around that time? For example:
imap-login: Info: Maximum number of connections from user+IP exceeded (mail_max_userip_connections): user=<tss>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
or:
dovecot: Error: Maximum number of mail processes exceeded (see max_mail_processes setting)
or anything else with "Error:" or "Fatal:" prefix?
log_path: /var/adm/dovecot.log info_log_path: /var/adm/dovecot.log
I'd put these to different files. It's then easy to see if there have been any errors, because only errors will be written to log_path.
Good call. I'll try this and get back to you as soon as I see any results. Thanks, SAW
Steven-Ashley Woltering, MBCS, Systems Analyst, ECMWF, Shinfield Park, Reading, RG2 9AX, UK Tel.: +44 1189 499473 (internal x2473) Email: Steven.Woltering@ecmwf.int -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKwfE3h854NVK99FMRAoh6AJ9QSqQeZF+fn5tsu5zaKsU3dqA+AACfVZ0b Ez10oW7mawgmFjAVvyk61io= =hFUb -----END PGP SIGNATURE-----
participants (4)
-
Charles Marcus
-
Faisal Jaffar
-
S. A. Woltering
-
Timo Sirainen