[Dovecot] More Dovecot 2.0 permissions issues
Hi Timo, ok, using the latest 2.0beta6... I can't figure out the settings for the log file to have the correct permissions. When the log file is created, it is created owned by root and 0600 permissions, which doesn't allow the lda to write to it if I use different users and groups for that main config... If I then chmod the log file to 666, then everything is happy, but again, if that log file is removed and created by dovecot, it will create it back with 0600 and the lda will error and not deliver mail because of it... I was not able to find anywhere else to set the mode of the log files or the mask that is used... here is the current config : # 2.0.beta6: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.0-RELEASE-p3 i386 auth_username_format = %Lu auth_username_translation = %@ auth_verbose = yes disable_plaintext_auth = no dotlock_use_excl = yes first_valid_uid = 100 listen = * lock_method = dotlock log_path = /local/logs/dovecot.errors mail_gid = 100 mail_location = maildir:%h/Maildir mail_nfs_index = yes mail_nfs_storage = yes mail_uid = 100 mmap_disable = yes passdb { args = /bin/checkpassword_dovecot_auth driver = checkpassword } plugin { quota = maildir sieve = ~/.dovecot.sieve sieve_dir = ~/Maildir/sieve } protocols = imap pop3 managesieve quota_full_tempfail = yes service auth { unix_listener auth-userdb { mode = 0660 } } ssl_cert =
Re: [Dovecot] Proxy Access (Manager/Secretary) Best Practices?
On 06/17/2010 12:31 PM, Chris Hobbs wrote: I've mostly got our dovecot+postfix+SOGo+openldap open source groupware replacement working the way I want it to; we're replacing GroupWise in our organization and I'm thrilled to be doing it. I'm supporting about 1,000 active staff users (and another 6,000 student accounts). I've got e-mail and calendar sharing working, and it does what it says it will do, but it is (go figure) different in concept from Proxy access under GroupWise. In GroupWise, I can give my secretary proxy access to my account and she can read all of my folders, see my calendars, and send e-mail as me. To someone that receives an e-mail or appointment request from her while she's proxied to me, there's no distinction at all. Is there a way to mimic this sort of functionality with the tools I've chosen? I've figured out that I can add additional 'mail' attributes to the secretary's record, and those addresses are available as drop-down choices in the SOGo web interface, but with the secretary's name and not the manager. Any advice will be much appreciated. And many thanks to the developers involved for writing and making available such amazingly good software. Eliminating the license fees we've been paying to Novell is allowing me to save a technician that surely would have been eliminated in budget cuts this year. Have two passwords, a secretary one and your real one. When you want to give your secretary access, change it to the secretary password. To revoke, change back. (I know nothing about SOGo, so this is my brute force suggestion should no one provide a more intelligent one.)
Re: [Dovecot] [Dovecot 1.2.11(NFS used) & dovecot-antispam 1.2]: move message error
On Fri, 18 Jun 2010 20:38:28 +0100, Timo Sirainen wrote: > On Fri, 2010-06-18 at 23:34 +0400, Администратор wrote: >> On Fri, 18 Jun 2010 20:18:54 +0100, Timo Sirainen wrote: >> > On Fri, 2010-06-18 at 23:13 +0400, Администратор wrote: >> >> >> >> 2. Unsuccessful moving >> >> -%< >> >> [19:02:47]: C: cpy1 UID COPY 2386 "Junk" >> >> [19:02:57]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR >> >> LOGIN-REFERRALS >> >> ID ENABLE AUTH=PLAIN AUTH=LOGIN] >> >> Dovecot ready. >> > >> > That looks like it crashes. Did you look at the error log? >> >> I am afraid yes. There is only Info messages. > > I'd suggest setting info_log_path to a different file than log_path. > Then it's much easier to find error messages. > >> I can do raw log or activate mail_log if it can be useful. > > If it's not Dovecot that crashes (it would have logged an > Error/Fatal/Panic if it did), then Roundcube decides to disconnect > before waitinf ro reply to COPY. Rawlog output could be helpful then to > see what's different. Now my settings is log_path = /var/log/dovecot/dovecot_err.log info_log_path = /var/log/dovecot/dovecot.log but error log contains only warning about process kill (restart). It's normal. I am activate rawlog, but cant reproduce problem, at this moment all works fine. I dont think that it could be result of log_path operations =) I can show another sample those I get several days ago on same server (client Roundcube) File: 20100609-050318-62156.in ---%<--- sel1 SELECT "INBOX" lsb LSUB "" "*" cpy1 UID COPY 1857 "Junk" I LOGOUT --->%--- File: 20100609-050318-62156.out ---%<--- * OK [RAWLOG TIMESTAMP] 2010-06-09 05:03:18 a001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULT IAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN C ONTEXT=SEARCH LIST-STATUS QUOTA] Logged in * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Forwarded) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Forwarded \*)] Flags permitted. * 1414 EXISTS * 0 RECENT * OK [UNSEEN 1403] First unseen. * OK [UIDVALIDITY 1273276420] UIDs valid * OK [UIDNEXT 1866] Predicted next UID * OK [HIGHESTMODSEQ 1] Highest sel1 OK [READ-WRITE] Select completed. * LSUB () "." "Trash" * LSUB () "." "Junk" * LSUB () "." "Sent" * LSUB () "." "Drafts" lsb OK Lsub completed. cpy1 OK [COPYUID 1273276423 1857 612] Copy completed. * BYE Logging out --->%--- So, is this Roundcube issue??
[Dovecot] v1.2.12 released
http://dovecot.org/releases/1.2/dovecot-1.2.12.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.12.tar.gz.sig Some of the most important fixes since v1.2.11: - deliver: Don't crash when a message with Auto-submitted: header gets rejected. - lib-storage: Fixed header searches to work correctly when there are multiple headers with same name. - dict client: Disconnect from dict server after 1 second of idling. - dict: If process crashed, it wasn't automatically restarted - dict file: If dict file's group permissions equal world permissions, don't try to change its gid. - maildir: Fixed a memory leak when copying with hardlinks. - maildir: Expunging last messages may have assert-crashed if their filenames had just changed.
Re: [Dovecot] User Can't Access Public Folder
Thank you. Pascal Volk wrote: On 06/18/2010 11:44 PM Asai wrote: Greetings, Jun 18 14:38:23 triata dovecot: IMAP(u...@mydomain.com): Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed: (recs[i]->uid < rec->uid) Please update your dovecot 1.2.[78], 1.2.11 is the current version. Regards, Pascal -- asai
Re: [Dovecot] User Can't Access Public Folder
On 06/18/2010 11:44 PM Asai wrote: > Greetings, > > Jun 18 14:38:23 triata dovecot: IMAP(u...@mydomain.com): Panic: file > maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): > assertion failed: (recs[i]->uid < rec->uid) Please update your dovecot 1.2.[78], 1.2.11 is the current version. Regards, Pascal -- The trapper recommends today: c01dcafe.1017...@localdomain.org
[Dovecot] User Can't Access Public Folder
Greetings, I have set up some public folders for Thunderbird, and one user in particular cannot access the shared folders. This is the message I get from /var/log/maillog (I should add that the domain name is over 35 characters long!): Jun 18 14:38:23 triata dovecot: IMAP(u...@mydomain.com): Panic: file maildir-uidlist.c: line 1242 (maildir_uidlist_records_drop_expunges): assertion failed: (recs[i]->uid < rec->uid) Jun 18 14:38:23 triata dovecot: IMAP(u...@mydomain.com): Raw backtrace: imap [0x49ec70] -> imap [0x49ecd3] -> imap [0x49e336] -> imap [0x440ced] -> imap(maildir_uidlist_sync_finish+0x28a) [0x44183a] -> imap [0x43c9c1] -> imap(maildir_storage_sync_init+0x14e) [0x43ce2e] -> imap(mailbox_sync+0x30) [0x467250] -> imap(cmd_select_full+0x1ae) [0x41e00e] -> imap(cmd_select+0xb) [0x41e8eb] -> imap [0x42086c] -> imap [0x420922] -> imap(client_handle_input+0x3f) [0x420a5f] -> imap(client_input+0x5f) [0x4215af] -> imap(io_loop_handler_run+0xf8) [0x4a6af8] -> imap(io_loop_run+0x1d) [0x4a5c0d] -> imap(main+0x620) [0x428e50] -> /lib64/libc.so.6(__libc_start_main+0xf4) [0x3c8861d8a4] -> imap [0x419ac9] Jun 18 14:38:23 triata dovecot: dovecot: child 5272 (imap) killed with signal 6 (core dumps disabled) -- asai
Re: [Dovecot] New mailbox & autocreate
On Fri, 2010-06-18 at 22:04 +0200, Bambero wrote: > Group always is "wheel". Autocreating ignores gid from DB and uses the > group of the parent directory - in this case /var/mail. Does /var/mail directory have setgid bit enabled? See if chmod g-s /var/mail helps. Also you didn't say what Dovecot version you're using.
Re: [Dovecot] Dovecot 2.0 auth socket error
On Fri, 2010-06-18 at 22:59 +0300, Odhiambo Washington wrote: > I tried my config files from beta4 on beta6 and I started getting > complaints related to the files whose names begin with numbers. > Anyway, I will indulge with the configs and write new ones. I think I > need to allocate time to read everything/comment in the files to > figure out why I could not simply have my files from beta4 working. Or you could have copy&pasted the error messages into your mail and I would have told you.
[Dovecot] New mailbox & autocreate
Hi, First of all BIG THANKS for great piece of software. I have a small problem with autocreate. My mails are stored in: /var/mail Ex. /var/mail/t...@test.pl/Maildir Account information comes from DB. So when new account appears in DB full path including home dir is created. But there is one small problem: Group always is "wheel". Autocreating ignores gid from DB and uses the group of the parent directory - in this case /var/mail. But when I create home dir manualy (setting right group) group of autocreated Maildir is OK. Is it possible to configure dovecot to set group from DB. Regards, Bambero
Re: [Dovecot] Dovecot 2.0 auth socket error
On Fri, Jun 18, 2010 at 7:03 PM, Timo Sirainen wrote: > On Fri, 2010-06-18 at 19:01 +0300, Odhiambo Washington wrote: > > > How do I upgrade from beta4 to beta6?? Some option to merge configs > easily? > > Merge what? The configs are basically the same. See beta5 and beta6 > release announcements for the couple of differences (which probably > won't even affect your config). > > > I tried my config files from beta4 on beta6 and I started getting complaints related to the files whose names begin with numbers. Anyway, I will indulge with the configs and write new ones. I think I need to allocate time to read everything/comment in the files to figure out why I could not simply have my files from beta4 working. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube
Re: [Dovecot] [Dovecot 1.2.11(NFS used) & dovecot-antispam 1.2]: move message error
On Fri, 2010-06-18 at 23:34 +0400, Администратор wrote: > On Fri, 18 Jun 2010 20:18:54 +0100, Timo Sirainen wrote: > > On Fri, 2010-06-18 at 23:13 +0400, Администратор wrote: > >> > >> 2. Unsuccessful moving > >> -%< > >> [19:02:47]: C: cpy1 UID COPY 2386 "Junk" > >> [19:02:57]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR > >> LOGIN-REFERRALS > >> ID ENABLE AUTH=PLAIN AUTH=LOGIN] > >> Dovecot ready. > > > > That looks like it crashes. Did you look at the error log? > > I am afraid yes. There is only Info messages. I'd suggest setting info_log_path to a different file than log_path. Then it's much easier to find error messages. > I can do raw log or activate mail_log if it can be useful. If it's not Dovecot that crashes (it would have logged an Error/Fatal/Panic if it did), then Roundcube decides to disconnect before waitinf ro reply to COPY. Rawlog output could be helpful then to see what's different.
Re: [Dovecot] [Dovecot 1.2.11(NFS used) & dovecot-antispam 1.2]: move message error
On Fri, 18 Jun 2010 20:18:54 +0100, Timo Sirainen wrote: > On Fri, 2010-06-18 at 23:13 +0400, Администратор wrote: >> >> 2. Unsuccessful moving >> -%< >> [19:02:47]: C: cpy1 UID COPY 2386 "Junk" >> [19:02:57]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR >> LOGIN-REFERRALS >> ID ENABLE AUTH=PLAIN AUTH=LOGIN] >> Dovecot ready. > > That looks like it crashes. Did you look at the error log? I am afraid yes. There is only Info messages. I can do raw log or activate mail_log if it can be useful.
Re: [Dovecot] [Dovecot 1.2.11(NFS used) & dovecot-antispam 1.2]: move message error
On Fri, 2010-06-18 at 23:13 +0400, Администратор wrote: > > 2. Unsuccessful moving > -%< > [19:02:47]: C: cpy1 UID COPY 2386 "Junk" > [19:02:57]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR > LOGIN-REFERRALS > ID ENABLE AUTH=PLAIN AUTH=LOGIN] > Dovecot ready. That looks like it crashes. Did you look at the error log?
[Dovecot] [Dovecot 1.2.11(NFS used) & dovecot-antispam 1.2]: move message error
Hello! I am really need help! I am using dovecot installation on ~700 users with dspam integration via dovecot-antispam plugin. Problem in unpredictable result of moving spam-mails from INBOX to Junk and from Junk to INBOX. In some cases it works fine, but sometimes I see error like "It's not possible to move the message" in client (roundcube). Two different samples on same configuration/server. Moving from INBOX into Junk. 1. Successful moving (roundcube imap debug): -%< [19:05:35]: C: cpy1 UID COPY 2387 "Junk" [19:05:35]: S: cpy1 OK [COPYUID 1273276423 2387 1280] Copy completed. [19:05:35]: C: flg UID STORE 2387 +FLAGS (\Deleted) [19:05:35]: S: * 1471 FETCH (UID 2387 FLAGS (\Deleted \Seen)) [19:05:35]: S: flg OK Store completed. [19:05:35]: C: exp1 UID EXPUNGE 2387 [19:05:35]: S: * 1471 EXPUNGE [19:05:35]: S: exp1 OK Expunge completed. Result: message moved into Junk, dspam retrained. Success. ->% 2. Unsuccessful moving -%< [19:02:47]: C: cpy1 UID COPY 2386 "Junk" [19:02:57]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. [19:02:57]: C: cp01 CAPABILITY [19:02:57]: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=RE FERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN AUTH=LOGIN [19:02:57]: S: cp01 OK Capability completed. Result: I see moving error in roundcube. Sometimes I see several duplicates of original message in Junk and original message also presented in INBOX. Malfunction. ->% Similar symptoms also affected while moving message from Junk into INBOX. One more sample. Junk -> INBOX moving. -%< [20:20:16]: C: cpy1 UID COPY 2859 "INBOX" [20:20:20]: S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready. [20:20:20]: C: cp01 CAPABILITY [20:20:20]: S: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=RE FERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN AUTH=LOGIN [20:20:20]: S: cp01 OK Capability completed. Result: move failure. Duplicates in INBOX. ->% Mails stored on NFS server - Ubuntu 9.10 (Linux storage01 2.6.31-21-generic-pae #59-Ubuntu SMP Wed Mar 24 08:47:55 UTC 2010 i686 GNU/Linux). Indexes now stored locally, but I already try to store them on NFS. No difference. Dovecot and NFS client running under FreeBSD 8. -%< mail01#uname -a FreeBSD mail01.domain.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 ->% Mount options. Two variant: 1. 192.164.100.103:/mnt/storage/mailstores /var/mail/mymailnfs rw,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0 00 2(current). 192.164.100.103:/mnt/storage/mailstores /var/mail/mymail nfs rw,bg,tcp,nosuid0 0 In both variants error detected. -%< mail01# dovecot --version 1.2.11 mail01# pkg_info | grep dspam dovecot-antispam-1.2_4,1 Dovecot plugin to train dspam about spam or false positives dspam-3.9.0_1 Bayesian spam filter - stable maintenance version ->% Dspam build with direct dspam training possibility, debug and debug_verbose options. All installed from ports. Current dovecot configuration: -%< mail01# dovecot -n # 1.2.11: /usr/local/etc/dovecot.conf # OS: FreeBSD 8.0-RELEASE i386 nfs base_dir: /var/run/dovecot/ log_path: /var/log/dovecot/dovecot.log protocols: imap pop3 ssl: no disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_max_processes_count: 256 verbose_proctitle: yes first_valid_uid: 1 last_valid_uid: 1 last_valid_gid: 1 mail_privileged_group: mail mail_uid: dovecot mail_gid: mail mail_location: maildir:/var/mail/mymail/%d/%n:INDEX=/var/mail/indexes/%d/%n mail_debug: yes mail_nfs_storage: yes mbox_write_locks: fcntl dotlock mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota convert antispam autocreate mail_plugins(imap): quota imap_quota convert antispam autocreate mail_plugins(pop3): quota convert autocreate mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/i
Re: [Dovecot] strange regex sieve filter error
On 6/18/2010 1:14 AM, A.L.E.C wrote: > On 18.06.2010 10:00, Tim Traver wrote: > >> require ["fileinto","copy"]; >> # rule:[SPAM-TAG] >> if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") >> { >> fileinto "SPAM-TAG"; >> stop; >> } > >> main_script: line 3: error: unknown tagged argument ':regex' for the >> header test (reported only once at first occurence). >> main_script: error: validation failed. > > require ["fileinto","regex"]; > oh man...that was a lame one...sorry about that guys... it was late... Thanks, Tim.
Re: [Dovecot] Help with a generated sieve rule
On Fri, 2010-06-18 at 09:22 -0700, Bradley Giesbrecht wrote: > Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file > or directory > > > I have virtual users and need to changed this path. http://wiki.dovecot.org/VirtualUsers/Home
Re: [Dovecot] Help with a generated sieve rule
On Jun 18, 2010, at 9:15 AM, Marcio Merlone wrote: Em 18-06-2010 12:24, Bradley Giesbrecht escreveu: On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote: Em 18-06-2010 10:23, Marcio Merlone escreveu: Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. (...) Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd. I understand that the vacation :days is kept by writing to a file. Maybe you were unable to write to this file which killed delivery. Changing to 0 ignored the file. Which file is that? I'm working through this error in dovecot-deliver.log: Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file or directory I have virtual users and need to changed this path. My vacation are still sent so this may have nothing to do with your problem. // Brad
Re: [Dovecot] Help with a generated sieve rule
Em 18-06-2010 12:24, Bradley Giesbrecht escreveu: On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote: Em 18-06-2010 10:23, Marcio Merlone escreveu: Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. (...) Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd. I understand that the vacation :days is kept by writing to a file. Maybe you were unable to write to this file which killed delivery. Changing to 0 ignored the file. Which file is that? -- Marcio Merlone
Re: [Dovecot] Dovecot 2.0 auth socket error
On Fri, 2010-06-18 at 19:01 +0300, Odhiambo Washington wrote: > How do I upgrade from beta4 to beta6?? Some option to merge configs easily? Merge what? The configs are basically the same. See beta5 and beta6 release announcements for the couple of differences (which probably won't even affect your config).
Re: [Dovecot] Dovecot 2.0 auth socket error
On Fri, Jun 18, 2010 at 5:04 PM, Timo Sirainen wrote: > On Fri, 2010-06-18 at 01:11 -0700, Tim Traver wrote: > > > Now, from what I can tell, this is complaining that the socket doesn't > > have write permission for the group, because it is owned by root and > > created with only 600 permissions...I can chmod the file to add the rw > > for the group, and then it appears to start working ok, but if I stop > > and start dovecot, it will only re-create those files with the 600 > > permissions... > > example-config/conf.d/10-master.conf: > > service auth { > # auth_socket_path points to this userdb socket by default. It's typically > # used by dovecot-lda, doveadm, possibly imap process, etc. Its default > # permissions make it readable only by root, but you may need to relax > these > # permissions. Users that have access to this socket are able to get a > list > # of all usernames and get results of everyone's userdb lookups. > unix_listener auth-userdb { >#mode = 0600 >#user = >#group = > } > .. > > > How do I upgrade from beta4 to beta6?? Some option to merge configs easily? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube
Re: [Dovecot] Help with a generated sieve rule
On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote: Em 18-06-2010 10:23, Marcio Merlone escreveu: Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. ## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"]; set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; } # rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; } Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd. I understand that the vacation :days is kept by writing to a file. Maybe you were unable to write to this file which killed delivery. Changing to 0 ignored the file. // Brad
Re: [Dovecot] Help with a generated sieve rule
Em 18-06-2010 10:23, Marcio Merlone escreveu: Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. ## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"]; set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; } # rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; } Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd. -- Marcio Merlone
Re: [Dovecot] Dovecot 2.0 auth socket error
On Fri, 2010-06-18 at 01:11 -0700, Tim Traver wrote: > Now, from what I can tell, this is complaining that the socket doesn't > have write permission for the group, because it is owned by root and > created with only 600 permissions...I can chmod the file to add the rw > for the group, and then it appears to start working ok, but if I stop > and start dovecot, it will only re-create those files with the 600 > permissions... example-config/conf.d/10-master.conf: service auth { # auth_socket_path points to this userdb socket by default. It's typically # used by dovecot-lda, doveadm, possibly imap process, etc. Its default # permissions make it readable only by root, but you may need to relax these # permissions. Users that have access to this socket are able to get a list # of all usernames and get results of everyone's userdb lookups. unix_listener auth-userdb { #mode = 0600 #user = #group = } ..
[Dovecot] Help with a generated sieve rule
Hi all, Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. ## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"]; set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; } # rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; } mail.log: Jun 18 10:07:02 netuno postfix/smtpd[10722]: 6372A16073: client=mic-062.a1.ind.br[192.168.0.4], sasl_method=PLAIN, sasl_username=marcio.merlone Jun 18 10:07:02 netuno postfix/cleanup[10724]: 6372A16073: message-id=<4c1b6f7a.6000...@a1.ind.br> Jun 18 10:07:02 netuno postfix/qmgr[4964]: 6372A16073: from=, size=888, nrcpt=1 (queue active) Jun 18 10:07:02 netuno dovecot: deliver(queila.farias): sieve: msgid=<4c1b6f7a.6000...@a1.ind.br>: stored mail into mailbox 'INBOX' Jun 18 10:07:02 netuno postfix/local[10725]: 6372A16073: to=, relay=local, delay=1, delays=0.96/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver) Jun 18 10:07:02 netuno postfix/qmgr[4964]: 6372A16073: removed Thanks very much for any help, hint. -- Marcio Merlone
Re: [Dovecot] strange regex sieve filter error
On 18.06.2010 10:00, Tim Traver wrote: require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; } main_script: line 3: error: unknown tagged argument ':regex' for the header test (reported only once at first occurence). main_script: error: validation failed. require ["fileinto","regex"]; -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net
[Dovecot] Dovecot 2.0 auth socket error
Hi Timo, ok, when dovecot starts up, it creates the socket files in /usr/local/var/run/dovecot for the auth and a variety of other socket stuff you have going on. It creates these socket files with root ownership. But I have in the config files that dovecot is running as a particular user (in this case uid100 and gid100) to match the global mail systems needs. I use qmail as the delivery agent, and when qmail envokes deliver, I get the following errors in the qmail log files : @40004c1b18f22ea7a05c delivery 1497: deferral: lda:_Error:_userdb_lookup:_connect(/usr/local/var/run/dovecot/auth-userdb)_failed:_Permission_denied_(euid=100(sn)_egid=100(sn)_missing_+w_perm:_/usr/local/var/run/dovecot/auth-userdb,_euid_is_not_dir_owner)/lda:_Fatal:_Internal_error_occurred._Refer_to_server_log_for_more_information./ Now, from what I can tell, this is complaining that the socket doesn't have write permission for the group, because it is owned by root and created with only 600 permissions...I can chmod the file to add the rw for the group, and then it appears to start working ok, but if I stop and start dovecot, it will only re-create those files with the 600 permissions... It appears that this is not happening in the version 1.2.11 code base as I this machine is a new one that I am testing 2.0 code on... Am I missing a proper setting somewhere? here is my dovecot -l : # 2.0.beta6: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.0-RELEASE-p3 i386 auth_username_format = %Lu auth_username_translation = %@ auth_verbose = yes disable_plaintext_auth = no dotlock_use_excl = yes first_valid_uid = 100 listen = * lock_method = dotlock log_path = /local/logs/dovecot.errors mail_gid = 100 mail_location = maildir:%h/Maildir mail_nfs_index = yes mail_nfs_storage = yes mail_uid = 100 mmap_disable = yes passdb { args = /bin/checkpassword_dovecot_auth driver = checkpassword } plugin { quota = maildir sieve = ~/.dovecot.sieve sieve_dir = ~/Maildir/sieve } protocols = imap pop3 managesieve quota_full_tempfail = yes ssl_cert =
[Dovecot] strange regex sieve filter error
Hi all, ok, I'm getting an error produced by the following sieve file : require ["fileinto","copy"]; # rule:[SPAM-TAG] if allof ( header :regex "Subject" "^\\[SPAM-TAG\\]") { fileinto "SPAM-TAG"; stop; } and I'm getting the following error in the dovecot delivery log : main_script: line 3: error: unknown tagged argument ':regex' for the header test (reported only once at first occurence). main_script: error: validation failed. But I looked up the syntax, and tried to figure out why this is getting the error. I guess I just don't quite know what this error means... I know that the value that it is trying to match is kind of strange, but it is a regular expression, so it should work... Thanks, Tim.
Re: [Dovecot] Proxy Access (Manager/Secretary) Best Practices?
Am 17.06.2010 18:31, schrieb Chris Hobbs: > I've mostly got our dovecot+postfix+SOGo+openldap open source groupware > replacement working the way I want it to; we're replacing GroupWise in our > organization and I'm thrilled to be doing it. I'm supporting about 1,000 > active staff users (and another 6,000 student accounts). > > I've got e-mail and calendar sharing working, and it does what it says it > will do, but it is (go figure) different in concept from Proxy access under > GroupWise. In GroupWise, I can give my secretary proxy access to my account > and she can read all of my folders, see my calendars, and send e-mail as me. > To someone that receives an e-mail or appointment request from her while > she's proxied to me, there's no distinction at all. > > Is there a way to mimic this sort of functionality with the tools I've > chosen? I've figured out that I can add additional 'mail' attributes to the > secretary's record, and those addresses are available as drop-down choices in > the SOGo web interface, but with the secretary's name and not the manager. > > Any advice will be much appreciated. > > And many thanks to the developers involved for writing and making available > such amazingly good software. Eliminating the license fees we've been paying > to Novell is allowing me to save a technician that surely would have been > eliminated in budget cuts this year. > > Chris > > Chris Hobbs > Director, Technology > New Haven Unified School District > > > > > -- > This message was scanned by ESVA and is believed to be clean. > > the typical solution to solve this is imap acl, so chief can adjust mail folders read,write etc permission which are booked additional by the sec. imap client calenders, address book sharing is not mail typically its solved by dav/cal etc services most satisfiing solution in open source is horde framework so you have all stuff under one webmail client, where you can control mail folder, calendar, adressbook sharing for mail clients like thunderbird and outlook use the funambol plugin also horde has a syncml for mobile devices i have no idea what you mean with proxy, sogo etc is a likly solution to what described above, as far i remember -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria