Re: [Dovecot] qmail-secretary plugin for dovecot deliver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 25 Feb 2010, Rajkumar S wrote: maybe look into mlmmj. (http://mlmmj.org/) qmail-secretary just works, no configuration is needed, all you have to do is add appropriate entry in ldap. No mess with MTA configs and fully controllable via web interface (via ldap) That's what I am trying to recreate for dovecot! Er, qmail-secretary looks like a part of qmail, hence, the analogy would be postfix in your new setup, or am I mistaken? Anyway, there are plenty of mailing list managers out there. Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS4eCAb+Vh58GPL/cAQLf8QgAjKS1Re4HmHFbzK2waQ0TDuyrUUlqzIyU A+Lf67EX71cah2lsPqjKlBX5A4ZbKLHHAvF2BezxOg4sBmvTQH2PUezcM+zkOu9v x2WZbQ4Rl6jeVTYyJbr+2vRlSkyQpD5uwIbd8JWGTj7hrv+jPfqQ8uOvnogRoczX LHMVhlwzWy/VnpfjDAnTl9P8TStfi2ck2B/97IIn9n4sRwUr22V2dGmZWZEBOuLS Vh4K2ya6nH+tXOrvRaJb7ol4kx74mSCMkxdxxOlvvo9DgoPxe+GGRwqrjMWbYZHv zEc+yLiQxC9/TNisQeffO6uP9lmQnrzyckg8DDDkHp5ev3tljN7lQA== =IQ17 -END PGP SIGNATURE-
Re: [Dovecot] any limitations running on a Mac?
On Thu, 2010-02-25 at 22:10 -0800, Bradley Giesbrecht wrote: Will there be a way to convert from dbox t mdbox in version v2.0+? v2.0 has dsync tool, which can convert between any two mailbox formats, preserving all metadata. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] any limitations running on a Mac?
On 26/02/2010 01:17, Bradley Giesbrecht wrote: User Inbox count around 200 on 20 domains but we are a Print company and have to except large attachments and store indefinitely. You are a print company and you *only* have a 3.5GB inbox? I helped my friend at the local print shop upgrade his storage last year and we put in 3TB of SAS attached to the Rampage server. He has burned through that in a year without a problem... (None of this relates to Dovecot, it's just where he saves the files before deleting the emails...) :-) Good luck Ed W
Re: [Dovecot] What does mailman do with a 'post' command?
On 02/26/2010 04:50 AM Masaharu Kawada wrote: Dear list, I am sorry if this question should not be posted here, but I believe that there are many experts of postfix or any other thing such as mailing lists in this list. I am kind of in hurry and need some advices to know about my questions. Could anyone in this list please answer my questions if you know. Still no feedback? Maybe really the wrong list here. The list, that you are searching, seems to be listed at: http://www.list.org/lists.html Regards, Pascal -- The trapper recommends today: c01dcafe.1005...@localdomain.org
[Dovecot] dovecot 2.0b3 crash with lmtp and DNS based proxy
Hello, i am trying to proxy a LMTP connection with version 2.0b3 Currently i have the problem when trying to use a named based proxy for LMTP the process doesn't resolve the hostname and crashes: Feb 26 16:53:26 auth: Debug: ldap(vodafonemai...@vodafone.de,::1): pass search: base=ou=mailboxes,ou=vfag,c=de,o=vodafone scope=subtree filter=((objectClass=uco)(mail=vodafonemai...@vodafone.de)) fields=userpassword,isactive,host Feb 26 16:53:26 auth: Debug: ldap(vodafonemai...@vodafone.de,::1): result: userpassword(password)=hidden proxy(proxy)=1 host(host)=kangaroo.arcor-so.net Feb 26 16:53:26 auth: Debug: master out: PASS 1 proxy host=kanagroo.arcor-so.net Feb 26 16:53:26 lmtp(17929): Debug: auth input: proxy host=kangaroo.arcor-so.net Feb 26 16:53:26 lmtp(17929): Error: lmtp client: kangaroo.arcor-so.net is not a valid IP Feb 26 16:53:30 lmtp(17929): Info: Disconnect from ::1: Client quit Feb 26 16:53:30 master: Error: service(lmtp): child 17929 killed with signal 11 (core dumped) Program terminated with signal 11, Segmentation fault. #0 0x004081fe in lmtp_proxy_try_finish (proxy=0x633898) at lmtp-proxy.c:193 193 if (lmtp_proxy_send_data_replies(proxy) (gdb) bt full #0 0x004081fe in lmtp_proxy_try_finish (proxy=0x633898) at lmtp-proxy.c:193 No locals. #1 0x00409bb3 in lmtp_client_deinit (_client=value optimized out) at lmtp-client.c:137 client = (struct lmtp_client *) 0x633db8 #2 0x004089c8 in lmtp_proxy_deinit (_proxy=value optimized out) at lmtp-proxy.c:86 proxy = (struct lmtp_proxy *) 0x633898 #3 0x0040602e in client_destroy (client=0x6191c8, prefix=value optimized out, reason=value optimized out) at client.c:255 No locals. #4 0x004067d3 in cmd_quit (client=0xb, args=value optimized out) at commands.c:407 No locals. #5 0x0040669b in client_input_handle (client=0x6191c8) at client.c:61 _data_stack_cur_id = 3 output = (struct ostream *) 0x619b80 line = 0x631461 quit ret = value optimized out #6 0x7f3217c9b8db in io_loop_handler_run (ioloop=value optimized out) at ioloop-epoll.c:208 ctx = (struct ioloop_handler_context *) 0x6177b0 event = (const struct epoll_event *) 0x617820 list = (struct io_list *) 0x619c60 io = (struct io_file *) 0x619c20 tv = {tv_sec = 59, tv_usec = 976185} t_id = 2 msecs = value optimized out ret = 1 call = value optimized out #7 0x7f3217c9aa48 in io_loop_run (ioloop=0x6175a0) at ioloop.c:350 No locals. #8 0x7f3217c8ae03 in master_service_run (service=0x617480, callback=0x6) at master-service.c:478 No locals. #9 0x00405b92 in main (argc=1, argv=0x617370) at main.c:92 ---Type return to continue, or q return to quit--- set_roots = {0x40bd00, 0x40b980, 0x0} service_flags = value optimized out storage_service_flags = 675 c = value optimized out (gdb) Regards, Oliver Eales
[Dovecot] Little Help with Plugin
Hi everyone. I Build a plugin to concat my body and header splited Its have 2 versions. One is with the body without modifications. The second, is with the body with crypto, and this crypto increase a little the size of email. So, without crypto, works fine, but with crypto i got stuck in some modifications. Because the email is splited, to handle it, i made a copy from istream-concat.c, and in i_stream_concat_read i made this changes. Every place that have the i_stream_get_data i get the index from concat (if is the frist or second stream) and if is the second, (my body) the unsigned char *data is the return from my function. if(cstream-cur_idx == 1){ data = decrypt_data(cstream-cur_input, data_size); }else{ data = i_stream_get_data(cstream-cur_input, data_size); } In this part, i get the function i_stream_get_data and put in the function too, to get the data in the same way, but i dont return the (_stream-buffer + _stream-skip;), i put this in a unsigned char * too, and work with this variable. The size_r, with the _stream-pos - _stream-skip, i update it, with the new value get from my total length from the decrypted buffer. In resume, every (inside istream_concat_read and istream_concat_read_next ) i_stream_get_data(cstream-cur_input, data_size); // (in istream_concat_read is pos variable) I change to if(cstream-cur_idx == 1){ data = decrypt_data(cstream-cur_input, data_size); //(in istream_concat_read is pos variable) }else{ data = i_stream_get_data(cstream-cur_input, data_size); //(in istream_concat_read is pos variable) } Setting the unsigned char *data, with my decrypted data and the pos or data_size, with the length of buffer data , decrypted. I Think there is Ok with this, and must be work, but i got some errors with this, when the Email is read to get them, the total length read is diferent from the W flag in header name. FETCH [] for mailbox INBOX UID 2 got too little data: 1351 vs 1352 FETCH [] for mailbox INBOX UID 1 got too little data: 1357 vs 1360 FETCH [] for mailbox INBOX UID 3 got too little data: 691 vs 1303 There is some variable or something that i forgot to update with this news values ? I use the Zlib plugin for exemple to do this. Tks Guys !!!
[Dovecot] segfault with vpopmail 5.5.0
Hi, version: 1.2.10 OS: Debian unstable/x86_64 [118905.528497] dovecot-auth[3856]: segfault at 0 ip (null) sp 7fffad98 error 14 in dovecot-auth[40+61000] 2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 (core dumped) (gdb) bt full #0 0x in ?? () No symbol table info available. #1 0x00423b0e in vpopmail_lookup_vqp (request=0x726f68, vpop_user=0x7fffae20 postmaster, vpop_domain=0x7fffadc0 test.bogus) at userdb-vpopmail.c:43 vpw = value optimized out #2 0x00421376 in vpopmail_password_lookup (auth_request=0x7fffae20, cleartext=false, result_r=0x7fffaebc) at passdb-vpopmail.c:65 vpop_user = postmaster, '\000' repeats 70 times vpop_domain = test.bogus, '\000' repeats 70 times vpw = value optimized out password = value optimized out #3 0x004215ad in vpopmail_verify_plain (request=0x7fffae20, password=0x704360 test, callback=0x415500 auth_request_verify_plain_callback) at passdb-vpopmail.c:119 result = value optimized out scheme = value optimized out tmp_pass = value optimized out crypted_pass = value optimized out ret = value optimized out #4 0x00415391 in auth_request_verify_plain (request=0x726f68, password=0x704360 test, callback=0x41eb90 plain_verify_callback) at auth-request.c:509 passdb = 0x70ca40 result = value optimized out cache_key = value optimized out __PRETTY_FUNCTION__ = auth_request_verify_plain #5 0x0041a6f7 in mech_plain_auth_continue (request=0x726f68, data=value optimized out, data_size=value optimized out) at mech-plain.c:58 authid = 0x704340 authenid = 0x704341 postmas...@test.bogus error = value optimized out pass = 0x704360 test count = 2 #6 0x00415d41 in auth_request_handler_auth_begin (handler=0x7192f8, args=value optimized out) at auth-request-handler.c:388 mech = value optimized out request = 0x726f68 list = 0x24 name = 0x704308 @Cp arg = 0x704195 AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0 initial_resp = 0x704195 AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0 initial_resp_len = 2 id = value optimized out buf = 0x704308 #7 0x00411549 in auth_client_handle_line (conn=0x717f70) at auth-client-connection.c:174 No locals. #8 auth_client_input (conn=0x717f70) at auth-client-connection.c:250 _data_stack_cur_id = 3 line = 0x7182b6 AUTH\t1\tPLAIN\tservice=pop3\tlip=XXX.XXX.XXX.XXXcensored\trip=XXX.XXX.XXX.XXXcensored\tlport=110\trport=41899\tresp=AHBvc3RtYXN0ZXJAdGVzdC5ib2d1cwB0ZXN0 ret = value optimized out #9 0x0043643d in io_loop_handler_run (ioloop=value optimized out) at ioloop-epoll.c:208 ctx = 0x70f3e0 event = 0x70f450 list = 0x718280 io = 0x718240 ---Type return to continue, or q return to quit--- tv = {tv_sec = 4, tv_usec = 999573} t_id = 2 msecs = value optimized out ret = 1 i = 0 call = value optimized out #10 0x004358b8 in io_loop_run (ioloop=0x70c380) at ioloop.c:335 No locals. #11 0x00419efe in main (argc=value optimized out, argv=value optimized out) at main.c:347 foreground = false Cheers, Giuseppe signature.asc Description: OpenPGP digital signature
Re: [Dovecot] segfault with vpopmail 5.5.0
Il 26/02/2010 22:32, Giuseppe Iuculano ha scritto: Hi, version: 1.2.10 OS: Debian unstable/x86_64 [118905.528497] dovecot-auth[3856]: segfault at 0 ip (null) sp 7fffad98 error 14 in dovecot-auth[40+61000] 2010-02-26 22:17:45 dovecot: Error: child 3856 (auth) killed with signal 11 (core dumped) Forgot dovecot -n, sorry. # dovecot -n # 1.2.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-3-amd64 x86_64 Debian squeeze/sid log_path: /var/log/dovecot-log.log info_log_path: /var/log/dovecot-info.log log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_max_userip_connections(default): 60 mail_max_userip_connections(imap): 60 mail_max_userip_connections(pop3): 20 verbose_proctitle: yes first_valid_uid: 64020 last_valid_uid: 64020 first_valid_gid: 64020 last_valid_gid: 64020 mail_privileged_group: mail mail_location: maildir:~/Maildir mail_debug: yes mbox_write_locks: fcntl dotlock mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 imap_client_workarounds(default): tb-extra-mailbox-sep imap_client_workarounds(imap): tb-extra-mailbox-sep imap_client_workarounds(pop3): namespace: type: private separator: . prefix: INBOX. inbox: yes list: yes subscriptions: yes auth default: mechanisms: plain login digest-md5 cram-md5 verbose: yes debug: yes passdb: driver: vpopmail userdb: driver: vpopmail plugin: quota: maildir signature.asc Description: OpenPGP digital signature
[Dovecot] Dovecot 2.0b3 IDLE not advertised
Hi, I'm not sure whether the client or the server is at fault (probably the client), but it's clearly a regression for me. I'm using the LCG Profimail (http://lonelycatgames.com/?app=profimail) application for my Symbian smartphone which has quite decent IMAP capabilities. Amongst others it can do IMAP IDLE (which has to be statically enabled in the server settings, so it's not used based on the server capabilities). After upgrading from 1.2.10 to 2.0b3 it does not connect anymore. It throws the error message This server doesn't support IMAP IDLE connection in my face, even before it tries to authenticate Feb 27 00:46:45 mail dovecot: imap-login: Disconnected (no auth attempts): rip=93.104.73.132, lip=83.170.x.xx, TLS: Disconnected The main difference seems to be that 1.2 advertises IDLE in capabilities before authentication, but 2.0 does not: 1.2: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready. o CAPABILITY * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC * ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH QUOTA STARTTLS AUTH=PLAIN o OK Capability completed. 2.0: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready. o CAPABILITY * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN o OK Capability completed. o LOGIN user password * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 * CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA o OK Logged in I know there is the imap_capability setting which might help here, but that looks like a very big hammer. Bernhard
Re: [Dovecot] Dovecot 2.0b3 IDLE not advertised
On 2/26/2010 6:54 PM, Bernhard Schmidt wrote: The main difference seems to be that 1.2 advertises IDLE in capabilities before authentication, but 2.0 does not: Correct... and according to Timo, this is proper IMAP protocol, so you'd probably be better off taking this up with the Profimail devs... -- Best regards, Charles