Re: [Dovecot] Ask about IMAP UID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 7 Mar 2013, Shiquan Wang wrote: I want to know if the same email will have the same IMAP UID on different machines given that they are synced by offlineimap to a local maildir and served by dovecot respectively. No, sync'ing does not include the UID. The UID is server-depended and may change across IMAP sessions, reflected by the change of UIDVALIDITY of the folder. However, Dovecot stores the UIDs in dovecot-uidlist files in each mailbox folder, so you could patch offlineimap to synchronize that file with the UIDs from the source IMAP server. But I think will get you other trouble. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUThH1V3r2wJMiz2NAQJ3PAf+JUrPwxMoIfOcj/3Z9+JLJT7xOY8PVkeV htVx4dPSIKEQebRzHcjlCAbMwYNYHilsxxrZLsdQxLLMHt8RWQrt/uoyuPDiEE/s qRIiSvzNvAZPPhG8MmLuM9vAfFIjWQM0uL3kle0RNA21PtprMBqc8NNLouBtjIwx /2YMI+1JrhrT1w9Ydik+9dPNegWmFJaEogDc0V79iN9hIac2m26XXA3Fsq/n8Sso kmHcUqrYyW6OCNDRa0IaZZkG9nTBwaLsyGEy+777CK0dcLYYVbkujE7loddMesZF GcLr6lPsw9k6q+pLDnr8ocCoJb+69eZcDL8XR3gVndgcur7SKdca7w== =DPQP -END PGP SIGNATURE-
Re: [Dovecot] Ask about IMAP UID
Am 07.03.2013 06:17, schrieb Shiquan Wang: > I am new to dovecot. I am trying to use offlineimap + dovecot + gnus for > some emails on multiple machines. > I need to use org-mode capture links on emails. > > I want to know if the same email will have the same IMAP UID on different > machines given that they are synced by offlineimap to a local maildir and > served by dovecot respectively no signature.asc Description: OpenPGP digital signature
Re: [Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze
I installed the stable version 2.1 and its working fine. Now there is a separate issue. I have set up my mail server to disable all plaintext auth. Now when i am trying to login with the imapcproxy, its giving error Unknown user/password The log says: In proxy: /mailproxy dovecot: imap-login: Aborted login (auth failed, 1 attempts in 2 secs): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS, session=<1pBG/03XogB/AAAB> / In server: /mailserver dovecot: imap-login: Disconnected (tried to use disabled plaintext auth): rip=10.x.x.x, lip=10.x.x.y/ Regards, Suja -- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-2-in-ubuntu-12-04-or-Debian-Squeeze-tp40634p40664.html Sent from the Dovecot mailing list archive at Nabble.com.
Re: [Dovecot] Upgrading 1.2 to 2.x
Am 06.03.2013 22:42, schrieb Steve Litt: > On Wed, 06 Mar 2013 08:27:51 +1000 > Noel Butler wrote: > >> On Tue, 2013-03-05 at 08:28 -0800, Professa Dementia wrote: >> >>> On 3/5/2013 7:34 AM, Simon Brereton wrote: >>> What's the recommended approach then? Pack it all into dovecot.conf as it was before, or use the split config files under conf.d/ - is this even a choice? >>> >>> Split configs are nicer and easier to work with and I am all for >>> nicer and easier. >>> >>> Dem >> >> >> WTF? Everything in one file is much nicer and easier, and you don't >> have to guess what option is in what file > > Here's a question for both of you: > > 1) Is there any reason someone could not, after the fact, cut parts of >the main file and put that cut into conf.d? > 2) Is there any reason someone could not, after the fact, cut parts out >of the conf.d files and paste them into the main files, perhaps >adding a comment as to where they were originally? > > If both of those are possible, although we could still argue which > should be the default (and I strongly believe in one file), at least > each of us can have our own way with a half hour of work. conf.d files are easier if the config is really large and for make it possible to add and remove pieces by software managment tools a monolithic config file is way better as long it is not too big at all because depending on your screen you can view most of the config at once and backup/restore is also much easier in many cases signature.asc Description: OpenPGP digital signature
Re: [Dovecot] failing ssl authentication
Am 06.03.2013 22:14, schrieb Ivars Strazdiņš: > On 2013. gada 6. marts, at 22:54, Reindl Harald wrote: >> >> well, do not use self sigend certificates at all > > I appreciate your advice, but anyway would like to understand why this > problem started to appear only recently. maybe because client software tries to make et harder and harder blidnly import and accpet any sort of untrusted cerificates and making things harder leads for the ordinary user in impossible signature.asc Description: OpenPGP digital signature
Re: [Dovecot] Upgrading 1.2 to 2.x
On Wed, 06 Mar 2013 08:27:51 +1000 Noel Butler wrote: > On Tue, 2013-03-05 at 08:28 -0800, Professa Dementia wrote: > > > On 3/5/2013 7:34 AM, Simon Brereton wrote: > > > > > What's the recommended approach then? Pack it all into > > > dovecot.conf as it was before, or use the split config files > > > under conf.d/ - is this even a choice? > > > > Split configs are nicer and easier to work with and I am all for > > nicer and easier. > > > > Dem > > > WTF? Everything in one file is much nicer and easier, and you don't > have to guess what option is in what file Here's a question for both of you: 1) Is there any reason someone could not, after the fact, cut parts of the main file and put that cut into conf.d? 2) Is there any reason someone could not, after the fact, cut parts out of the conf.d files and paste them into the main files, perhaps adding a comment as to where they were originally? If both of those are possible, although we could still argue which should be the default (and I strongly believe in one file), at least each of us can have our own way with a half hour of work. Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: [Dovecot] Upgrading 1.2 to 2.x
On Tue, 05 Mar 2013 08:28:06 -0800 Professa Dementia wrote: > On 3/5/2013 7:34 AM, Simon Brereton wrote: > > > What's the recommended approach then? Pack it all into dovecot.conf > > as it was before, or use the split config files under conf.d/ - is > > this even a choice? > > Split configs are nicer and easier to work with and I am all for > nicer and easier. > > Dem I couldn't disagree more. With everything in one file, you use your editor's search facility instead of needing to use grep on everything. You see everything by scanning up and down instead of changing windows or buffers. Copy and paste is harder between files than within one. When changing or experimenting, you need to make backup copies of more files. With one file, you always know which file to put something in, and you run less risk of duplicates. I see the attraction of a separate file for a separate and distinct facility added by the site administrator, but otherwise, I'm a big fan of the one file config. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance
Re: [Dovecot] failing ssl authentication
On 2013. gada 6. marts, at 22:54, Reindl Harald wrote: > > well, do not use self sigend certificates at all I appreciate your advice, but anyway would like to understand why this problem started to appear only recently. Kind regards, Ivars
Re: [Dovecot] failing ssl authentication
Am 06.03.2013 21:49, schrieb Ivars Strazdiņš: > I have a fairly basic dovecot 2.0.19 configuration on Ubuntu 12.04 LTS server > with self signed certificates and "ssl = required" option set well, do not use self sigend certificates at all for anybody but yourself - for several reasons: * users will complain because they do not understand the warnings * users get trained monkeys which ignore any warnings over the time signature.asc Description: OpenPGP digital signature
[Dovecot] failing ssl authentication
Hi, I have a fairly basic dovecot 2.0.19 configuration on Ubuntu 12.04 LTS server with self signed certificates and "ssl = required" option set. It had been working for years flawlessly (including upgrade from 1.x to 2.0.19). Please see full "dovecot -n" output at the end of this post. Until recently, new mail user agents (MUA) are having problems. I cannot pass the account creation step, MUA says that there is some problem. I tried to isolate the problem and did some testing with various combinations of MUA and OS and I am still confused where is the problem - in dovecot, self signed certificates (in operation since 2003, expires this summer), or MUA, or operating system. All tests done with IMAP. For example, Recent Thunderbird versions (>10) do not work at all on most OS'es (tried Windows, Linux, OS X). Actually, v10 does not let me setup an account, but there is a way to get through by clicking on Advanced button. Then the account in Thunderbird is created. After that all works fine and Thunderbird can even be upgraded to the latest version. Windows Live Mail 2012 (former Outlook Express) works on Windows XP and Windows 7, but fails on Windows 8. dovecot.log gets this: 2013-03-06 22:44:38 imap-login: Info: Disconnected (no auth attempts): rip=x.x.x.x, lip=y.y.y.y, TLS handshaking: Disconnected Outlook 2013 does not work in either Windows 7 or Windows 8. Dovecot log for Outlook 2013 looks good, but Outlook complains. 2013-03-06 18:38:22 imap-login: Info: Login: user=, method=PLAIN, rip=x.x.x.x lip=y.y.y.y, mpid=16801, TLS I enabled verbose_ssl = yes in dovecot configuration, and all failing attempts produce this type of log 2013-03-06 22:34:10 imap-login: Warning: SSL failed: where=0x2002: SSLv3 read client certificate A [x.x.x.x] What does this mean - a problem with certificate on the client side, MUA, that is? How could this be cured then? Thanks for your time and patience! Ivars doveconf -n output: # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-37-virtual x86_64 Ubuntu 12.04.2 LTS auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-master auth_verbose = yes default_process_limit = 300 info_log_path = /var/log/dovecot-info.log lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes log_path = /var/log/dovecot.log log_timestamp = "%Y-%m-%d %H:%M:%S " mail_fsync = never mail_location = maildir:~/Maildir:INBOX=~/Maildir:LAYOUT=fs mail_privileged_group = mail maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { driver = pam } plugin { antispam_backend = mailtrain antispam_mail_notspam = --ham antispam_mail_sendmail = /usr/local/sbin/antispam.sh antispam_mail_sendmail_args = -f;%u@edited.domain antispam_mail_spam = --spam antispam_spam = junk antispam_trash = Trash autocreate = junk autocreate2 = Sent autocreate3 = Drafts autocreate4 = Trash autosubscribe = junk autosubscribe2 = Sent autosubscribe3 = Drafts autosubscribe4 = Trash fts = squat fts_squat = partial=4 full=10 mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change append mail_log_fields = from, subject, flags, uid, box, msgid, size sieve = ~/roundcube.sieve sieve_dir = ~/sieve } postmaster_address = postmaster protocols = " imap sieve pop3" service auth-worker { client_limit = 0 } service auth { unix_listener /var/spool/postfix/private/dovecot-auth { group = postfix mode = 0660 user = postfix } unix_listener auth-master { group = musers mode = 0660 user = root } user = root } service imap { process_limit = 1024 } service pop3 { process_limit = 1024 } ssl = required ssl_cert =
Re: [Dovecot] Bug in maildir-size-fix.pl (was Broken physical size caching in Dovecot 2.1.10)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Mar 2013, Steffen Kaiser wrote: Sorry for the noise, you cannot upgrade V1 uidlist files to V3 ones on the fly with this script, hence, this match: chomp $_; -if (/^(\d+) ([^:]*)?:(.*)$/) { +if (/^(\d+) ([^:]*:)?(.*)$/) { my ($uid, $extra, $fname) = ($1, $2, $3); breaks IMAP UIDs afterwards, so the patch for maildir-size-fix.pl is nonsense. I wonder why it worked in first tests ... . - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUTd2Cl3r2wJMiz2NAQI69Qf+MpXpakEW02Yo2vAq+Z/aScpWTlurZBAD heBYWemoCeQ5liZYhPC/JbVlhhg6EH39WxvUtN8tMl3Cr7YZHIbZsguij3jR/+al +mYQ1BFpkSX0TUP8xTda82J2ShKEsEDMQLlaayXRZjod87LV6UcKlwRG4Gqr7Eho l382HgHb6XOiYe5bVyVXiwAvolHm1C9OmV50/cgLtrkWC+fKXbU0iP92HbLIobZI 2qkuL3yzLDdyGRJCFJhIlaGOyg/KS9hSZrckMX/giEVQlr2RYqpzc7cT0R38A6Bp QvbV8Lw4VuESLtRO+NtZQ+bV4mhuiwLKVNpb4XVp33ohKcSUBT5xXA== =y99O -END PGP SIGNATURE-
[Dovecot] problem with charset and encoding
Hello everyone, We are having some troubles since we updated dovecot from 2.0.10 to 2.1.6. With 2.0.10 with messages with this headers: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Showed the special characters fine. However, with this new version, there are special characters that are not correctly showed. For example: "Su c=F3digo de activaci=F3n " must be "Su código de activación ", but in all email clients, even in webmail, is showed like the first way without decoding it. Maybe some configuration or libraries I missed? Could you please help us with this? Thank you very much in advanced. Kind regards, Héctor Moreno Blanco. P Please consider the environment before printing this e-mail. __ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. __ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. __
Re: [Dovecot] Lot of dovecot process writes
Am 06.03.2013 13:44, schrieb Angel L. Mateo: > El 06/03/13 13:22, Robert Schetterer escribió: >> Am 06.03.2013 13:15, schrieb Angel L. Mateo: >>> Hello, >>> >>> While monitoring my servers' behaviour (ubuntu 12.04 with dovecot >>> 2.1.9, with about 7 users) I have found that lots of disk usage is >>> done by dovecot process (the parent process). Since lmtp, imap and pop3 >>> connections are handle by their own process, what could be the reason of >>> this? >>> >> >> maildir may no be optimal for such high amount of users, use i.e mdbox >> >> http://wiki2.dovecot.org/MailboxFormat/dbox >> > I know this. We are planning to migrate to dbox, but in a > multiserver environment like ours is not so trivial because of indexes > (we tried it with indexes in nfs storage but performance was poor). yes ,migrations on big systems, are always difficult > > In any case, I don't understand why dovecot parent process has these > huge amount of IO, since, I guess, IO should be done by user's processes > (lmtp, imap or pop), not dovecot parent. > > My only hypothesis is related with log messages, but then IO should > be done by rsyslog process, not dovecot, shouldn't it? dont think that this has impact, what about upgrading to recent version first, dont speculate, do real analysis after all with such amount of users , you might want to use Professional Services i.e http://www.dovecot.fi/services-and-solutions/ for optimizing your setup. > > Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
Re: [Dovecot] Lot of dovecot process writes
El 06/03/13 13:22, Robert Schetterer escribió: Am 06.03.2013 13:15, schrieb Angel L. Mateo: Hello, While monitoring my servers' behaviour (ubuntu 12.04 with dovecot 2.1.9, with about 7 users) I have found that lots of disk usage is done by dovecot process (the parent process). Since lmtp, imap and pop3 connections are handle by their own process, what could be the reason of this? maildir may no be optimal for such high amount of users, use i.e mdbox http://wiki2.dovecot.org/MailboxFormat/dbox I know this. We are planning to migrate to dbox, but in a multiserver environment like ours is not so trivial because of indexes (we tried it with indexes in nfs storage but performance was poor). In any case, I don't understand why dovecot parent process has these huge amount of IO, since, I guess, IO should be done by user's processes (lmtp, imap or pop), not dovecot parent. My only hypothesis is related with log messages, but then IO should be done by rsyslog process, not dovecot, shouldn't it? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337
Re: [Dovecot] Lot of dovecot process writes
Am 06.03.2013 13:15, schrieb Angel L. Mateo: > Hello, > > While monitoring my servers' behaviour (ubuntu 12.04 with dovecot > 2.1.9, with about 7 users) I have found that lots of disk usage is > done by dovecot process (the parent process). Since lmtp, imap and pop3 > connections are handle by their own process, what could be the reason of > this? > maildir may no be optimal for such high amount of users, use i.e mdbox http://wiki2.dovecot.org/MailboxFormat/dbox Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Joerg Heidrich
[Dovecot] Lot of dovecot process writes
Hello, While monitoring my servers' behaviour (ubuntu 12.04 with dovecot 2.1.9, with about 7 users) I have found that lots of disk usage is done by dovecot process (the parent process). Since lmtp, imap and pop3 connections are handle by their own process, what could be the reason of this? -- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 86337 # 2.1.9: /etc/dovecot/dovecot.conf # OS: Linux 3.2.19um1 x86_64 Ubuntu 12.04.2 LTS auth_cache_size = 20 M auth_cache_ttl = 1 days auth_master_user_separator = * auth_verbose = yes default_process_limit = 1024 disable_plaintext_auth = no log_timestamp = %Y-%m-%d %H:%M:%S login_trusted_networks = 155.54.211.176/28 mail_access_groups = vmail mail_gid = vmail mail_location = maildir:~/Maildir:INDEX=/var/indexes/%2Ln/%Ln mail_plugins = quota zlib lazy_expunge acl mail_privileged_group = mail maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave mdbox_rotate_size = 20 M namespace { inbox = yes location = prefix = separator = . } namespace { hidden = yes list = no location = maildir:~/Maildir/expunged prefix = BORRADOS. separator = . } namespace { list = children location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u prefix = shared.%%u. separator = . subscriptions = no type = shared } passdb { args = /etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } passdb { args = session=yes cache_key=%Ln dovecot driver = pam } plugin { acl = vfile:/etc/dovecot/global-acls:cache_secs=3600 lazy_expunge = BORRADOS. quota = dict:User quota::file:%h/Maildir/dovecot.quota quota_rule = *:storage=10G quota_rule2 = Trash:storage=+1G sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_max_redirects = 15 zlib_save = gz zlib_save_level = 6 } postmaster_address = postmas...@um.es protocols = imap pop3 lmtp sieve service anvil { client_limit = 3075 } service auth { client_limit = 4096 unix_listener auth-userdb { mode = 0777 } } service doveadm { inet_listener { port = 24245 } } service imap { process_limit = 5120 process_min_avail = 6 vsz_limit = 512 M } service ipc { unix_listener ipc { user = dovecot } } service lmtp { inet_listener lmtp { port = 24 } process_min_avail = 10 vsz_limit = 512 M } service pop3 { process_min_avail = 6 } ssl = no ssl_cert = }
Re: [Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze
Am 06.03.2013 09:01, schrieb pvsuja: Line #12 is ssl_cert = doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 12: Unknown setting: ssl_cert* Please post your 10-ssl.conf file on Pastebin and add the link. Greetings, Jan
Re: [Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17) - SOLVED
Thanks for all suggestions! "mail_privileged_group = mail" did the magic. I'v read the V1.0 -> 1.1 -> 1.2, but did not read ALL config options in the new dovecot.conf. /Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt smime.p7s Description: S/MIME Kryptografische Unterschrift
Re: [Dovecot] Bug in maildir-size-fix.pl (was Broken physical size caching in Dovecot 2.1.10)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 16 Feb 2013, Timo Sirainen wrote: BTW. http://dovecot.org/tools/maildir-size-fix.pl has been updated to work with compressed files also, making maildir-size-check.sh obsolete. This script seems to be broken for v1.x uidlist files, because those do not have a ":" preceeding the filename always. Therefore the condition never matches. Attached patch corrects that. - --- maildir-size-fix.pl_orig2013-03-06 09:20:53.0 +0100 +++ maildir-size-fix.pl_origExtraFix2013-03-06 11:26:24.0 +0100 @@ -130,3 +130,3 @@ chomp $_; - -if (/^(\d+) ([^:]*)?:(.*)$/) { +if (/^(\d+) ([^:]*:)?(.*)$/) { my ($uid, $extra, $fname) = ($1, $2, $3); @@ -135,12 +135,15 @@ $base_fname =~ s/:.*$//; - - my $new_fname = $base_renames{$base_fname}; - - if (!$new_fname || !$preserve_pop3_uidl || $extra =~ /\bP/) { - - $fname = $new_fname if ($new_fname); - - print $fout "$uid $extra:$fname\n"; - - } else { - - $fname =~ s/:.*$//; - - print $fout "$uid P$fname $extra:$new_fname\n"; + if(exists $base_renames{$base_fname}) { + # filename changes + $extra = ":" unless defined $extra; # v2 uidlist has : always + print $fout $uid; +if ($preserve_pop3_uidl && $extra !~ /\bP/) { + print $fout " P", $base_fname; +} + print $fout " ", $extra, $base_renames{$base_fname}, "\n"; + } else { # no new name, keep line unchanged +print $fout $_, "\n"; } } else { - - print $fout "$_\n"; + print $fout $_, "\n"; } - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUTceqF3r2wJMiz2NAQLEvgf9GcSFXRy3sdu6zTsBpD7csgtgUGbrbDxD z2zWtAsyGL61giNGEemaP+l4aZazS3dR8eby3uCrttduoAJ6ZEKm/H3pzHF9cTDd +LLZbw2Kz//ckdAWTaLEt3QoWzKgjMkyYrgVpHyP5OGsz8ZcKtpQ58/E2c3rQXnf WFX2f0P9edtM8ShVwbhYRozPnCXp54E/YW/ro37esJgAPTySY/pqyfrTEt38GhIH z3L30nIm1Cs83X4hRezMz6xQAWghnbJy4MttAZy6NSur5riHp5oZVWDR3fkAD89t +gh5q3+d6fBbTsLmi1I4E/r3qrtqcFHNmmdrP82YXtTL7SiCAMdlHw== =K0Vm -END PGP SIGNATURE-
Re: [Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Mar 2013, Götz Reinicke - IT Koordinator wrote: currently I have one new user with a problem. When she logs in to dovecot with pop3 from her apple mail, dovecot tells problems with the +w permission. Error: open(/var/mail/**) failed: Permission denied (euid=3462(**) egid=548(dozenten) missing +w perm: /var/mail) /var/mail is rw by root.mail Do the other users have "mail" as secondary group? - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUTcc8V3r2wJMiz2NAQKwJAgAvtb4/Uot+KyXI1Xcbo9nvcLSPO4aPkXw YxRXQLLYwSeLuvygHOEu+3Y3eMJi7Y2BmUMuK5/8ZZLP6en7vfxCYuwGmcnfnO0A hqZYbddTGablWfgIO3aJDm0BWCs30g5IeRYwdVKajv8b4ldFOEex7msDJ01Ryw6E MtlrQ+ODw1/79xvnyGWExt6YNm4Du8HZtohD2Ol5rwdJ6tfBVxmw07vWlJVoHv/L iBZZiQcEJp2yphwKvxaRTTPjw7z2SexNY5VogTHWGspa6MaSwLZG6HK8Td630GIp V5vpUmaqHUCPOph5xebPJV3/MWkczf15axUvU2Dz0q4JisiNePV45g== =c0P3 -END PGP SIGNATURE-
Re: [Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Mar 2013, Götz Reinicke - IT Koordinator wrote: currently I have one new user with a problem. When she logs in to dovecot with pop3 from her apple mail, dovecot tells problems with the +w permission. Error: open(/var/mail/**) failed: Permission denied (euid=3462(**) egid=548(dozenten) missing +w perm: /var/mail) /var/mail is rw by root.mail Does /var/mail/** already exist? Do you have a mbox there and Dovecot needs to create a lock file there? If so, try flock. v2.2 has: # Which locking methods to use for locking mbox. There are four available: # dotlock: Create .lock file. This is the oldest and most NFS-safe # solution. If you want to use /var/mail/ like directory, the users # will need write access to that directory. # dotlock_try: Same as dotlock, but if it fails because of permissions or # because there isn't enough disk space, just skip it. # fcntl : Use this if possible. Works with NFS too if lockd is used. # flock : May not exist in all systems. Doesn't work with NFS. # lockf : May not exist in all systems. Doesn't work with NFS. # # You can use multiple locking methods; if you do the order they're declared # in is important to avoid deadlocks if other MTAs/MUAs are using multiple # locking methods as well. Some operating systems don't allow using some of # them simultaneously. #mbox_read_locks = fcntl #mbox_write_locks = dotlock fcntl dotlock will fail in your system. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUTccDF3r2wJMiz2NAQIUFQf/QhJ2H1/ke4JrmAn15FbRkhsQS+LiyC2L WfaWvpvXSq3OjUzVQt5VflvPaeHjCS5OcDQzGufLo1ZeNT0rZMvfR7T9Ks59mFYb WRlSFZAsGkbxomlKZnt90CkFJqD0QZvIYya3Tp0Ca0NxHVaaSia601cINhVDwGY6 /VxPzwgIMPwM7gzTdjz9PqRhsXtifbl9/oo4ac3IJ2qAm2Wg/q6WL3u1+TTcnBpM KOlNLqSzU6eqaxEXUzKKHIEFDWR1Qg4Qo6oGsS0sL4w2KBtoXfzy1KdRHxeWPrrK 9a5eHdsyD/DVIC8Ouz0zJar3FenbWv0+MblK1jtdeSW/VayQwFKVkQ== =FBCf -END PGP SIGNATURE-
Re: [Dovecot] Upgrading 1.2 to 2.x
On 6 March 2013 02:57, Noel Butler wrote: > On Wed, 2013-03-06 at 00:06 +0100, Daniel Parthey wrote: > > >> > WTF? Everything in one file is much nicer and easier, and you don't >> > have to guess what option is in what file >> >> We're using a single file too, since this can be easily managed by >> a configuration management system and avoids unexpected changes. >> > > > Exactly, and even if management tools were not in play, it would still > be easier for a novice to check out a directive setting. :%s/novice/idiots like Simon/g ;) Simon
Re: [Dovecot] Upgrading 1.2 to 2.x
On 5 March 2013 23:25, Noel Butler wrote: > On Tue, 2013-03-05 at 11:33 +0100, Simon Brereton wrote: > >> Hi >> >> I'm about to upgrade to 2.1.7 in my test environment, but "doveconf >> -n -c dovecot.1.conf > dovecot.2.conf" is producing a blank file, so I >> am unsure how to proceed. I know a lot has changed between them, so I >> don't really want to have to start from scratch unless I have to. >> >> I have tried both as my user and with sudo. >> >> Simon > > > Sounds like symptom of an error or something in 1.conf, I found > converting that if it strikes something it does not like it bails there > and then, but it gave me about 80% conversion, only requiring tweaking > to finalise it, however it did not convert quota stuff to new format so > start that from scratch. > > When you run convert it usually spits out what it is, or is not doing, > that must give you some clue. > > and should matter what UID you are on, so long as you have read access > to 1.conf and write access to 2.conf So many replies - I feel like a celebrity! :) Noel - this is what I get when I run the command. As you can see dovecot.2.conf is empty afterwards. sbuongiorno@local:~$ doveconf -n -c dovecot.1.conf > dovecot.2.conf doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in dovecot.1.conf:4: 'imaps' protocol is no longer necessary, remove it doveconf: Warning: Obsolete setting in dovecot.1.conf:4: 'pop3s' protocol is no longer necessary, remove it doveconf: Warning: Obsolete setting in dovecot.1.conf:5: ssl_ca_file has been replaced by ssl_ca =
Re: [Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17)
On 3/6/2013 12:15 AM, Götz Reinicke - IT Koordinator wrote: Hi, currently I have one new user with a problem. When she logs in to dovecot with pop3 from her apple mail, dovecot tells problems with the +w permission. Error: open(/var/mail/**) failed: Permission denied (euid=3462(**) egid=548(dozenten) missing +w perm: /var/mail) /var/mail is rw by root.mail I cant see why just this particular user has that problem/gets that messages. AFAIK no one changed any default permissions on directories or set different users. What could be "wrong"? Any suggestions is welcome. Filesystem ACLs? Dem
[Dovecot] question regarding rw-access on mailbox on creation/login (dovecot 1.2.17)
Hi, currently I have one new user with a problem. When she logs in to dovecot with pop3 from her apple mail, dovecot tells problems with the +w permission. Error: open(/var/mail/**) failed: Permission denied (euid=3462(**) egid=548(dozenten) missing +w perm: /var/mail) /var/mail is rw by root.mail I cant see why just this particular user has that problem/gets that messages. AFAIK no one changed any default permissions on directories or set different users. What could be "wrong"? Any suggestions is welcome. Regards . Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt smime.p7s Description: S/MIME Kryptografische Unterschrift
Re: [Dovecot] Suggestions for upgrading dovecot 1.0.7 Redhat EL 5.x - DONE
Am 26.02.13 12:08, schrieb Götz Reinicke - IT Koordinator: <...> Hi folks, after some different considerations, we decided to do "just" a minor upgrade on the old/current hardware and OS version. We did the rpm upgrade from 1.0.x to 1.2.x and for now there are no problems. Just a few more warnings regarding "Corrupted index cache file". But no user complains. From my POV there is a significant performance boost on my large mailboxes... At the time we can get new hardware and maybe change some other things in our setup we will go wit 2.x I bet. so thanks for al the feedback! Regards . Götz -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt smime.p7s Description: S/MIME Kryptografische Unterschrift
Re: [Dovecot] dovecot 2 in ubuntu 12.04 or Debian Squeeze
Line #12 is ssl_cert = doveconf: Fatal: Error in configuration file /usr/local/etc/dovecot/conf.d/10-ssl.conf line 12: Unknown setting: ssl_cert* ./sbin/dovecot --build-options gives: *Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192 Mail storages: shared mdbox sdbox maildir mbox cydir imapc_stub pop3c_stub raw SQL drivers: Passdb: checkpassword passwd passwd-file shadow Userdb: checkpassword nss passwd prefetch passwd-file * Note: I have not changed any settings. Simply copied from example_config and tried doveconf and getting this error. -- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-2-in-ubuntu-12-04-or-Debian-Squeeze-tp40634p40640.html Sent from the Dovecot mailing list archive at Nabble.com.