[Dovecot] pam session=yes with gssapi authentication
hi there I noticed the following behaviour with auth backend pam and args session=yes * configuration: - login with plain: pam session gets opend - login with gssapi (kerberos): pam session isn't opend (- no $HOME will be created) Is this a bug or just a limitation by GSSAPI (maybe gssapi works around PAM)? - Thomas Dovecot Versions seen this: - 1.0.rc15 (Debian 4.0 Etch) - 1.0.0 (Debian backports)
Re: [Dovecot] v1.1.beta1 released
On 24.9.2007, at 9.41, Tomi Hakala wrote: istream-tee.c, line 102: void function cannot return value istream-tee.c, line 172: void function cannot return value Fixed: http://hg.dovecot.org/dovecot/rev/a43faaff06fd PGP.sig Description: This is a digitally signed message part
[Dovecot] Is anyone using the dspam plugin for dovecot 1.1?
I'm about to try to adjust the dspam plugin code to dovecot-1.1, but before starting out on this, I thought I'd ask the list: anyone done it already? /L
[Dovecot] v1.1.beta1 POP3 delete problem
Hello, POP3 server does not delete mails when user quits POP3 session, but only at the next login. It looks so - user logs in with USER and PASS commands, at this moment new messages are moved from /new to /cur maildir folder. Then messages are deleted with DELE command(before deleting there can be other POP3 commands) and the user quits session. The server says +OK Logging out, messages deleted., but in fact messages are not deleted from the disk and stays in /cur folder. And these messages are deleted only when user logs in next time. dovecot -n: # 1.1.beta1: /usr/local/dovecot/etc/dovecot.conf base_dir: /var/run/dovecot/ syslog_facility: local0 protocols: pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/local/dovecot/libexec/dovecot/pop3-login login_greeting: Server. login_process_per_connection: no login_process_size: 64 verbose_proctitle: yes first_valid_uid: 95 first_valid_gid: 95 mail_uid: 95 mail_gid: 95 mail_location: maildir:~/Maildir mail_debug: yes fsync_disable: yes mail_executable: /usr/local/dovecot/libexec/dovecot/pop3 mail_plugins: quota mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3 pop3_enable_last: yes pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain login digest-md5 cram-md5 apop cache_size: 2048 cache_ttl: 28800 cache_negative_ttl: 60 user: doveauth verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf userdb: driver: prefetch userdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict dict: quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf Regards, Arvids
[Dovecot] dovecot / Postfix virtual users
Hi all, I am using virtual domains/ virtual users which are stored on MySQL. When I telnet to port 110 (dovecot/POP3) after I enter correct user/pass I always get: telnet 10.9.0.80 110 Trying 10.9.0.80... Connected to 10.9.0.80. Escape character is '^]'. +OK Dovecot ready. USER [EMAIL PROTECTED] +OK PASS mypass -ERR [IN-USE] Internal login failure. Refer to server log for more information. Connection closed by foreign host. And on the log there is just: 24/09/2007 13:50:53localhostdovecotauth(default): client in: AUTH1PLAINservice=POP3securedlip=127.0.0.1 rip=127.0.0.1resp=AG1hdXJpemlvQGVzZW1waW8uY29tAGFhMDA= 24/09/2007 13:50:53localhostdovecotauth(default): client out: OK1[EMAIL PROTECTED] 24/09/2007 13:50:53localhostdovecotauth(default): master in: REQUEST1268481 24/09/2007 13:50:53localhostdovecotauth(default): master out: NOTFOUND1 24/09/2007 13:50:53localhostdovecotauth(default): passwd([EMAIL PROTECTED],127.0.0.1): lookup 24/09/2007 13:50:53localhostdovecotauth(default): passwd([EMAIL PROTECTED],127.0.0.1): unknown user 24/09/2007 13:50:53localhostdovecotauth(default): userdb([EMAIL PROTECTED],127.0.0.1): user not found from userdb 24/09/2007 13:50:53localhostdovecotauth-worker(default): sql([EMAIL PROTECTED],127.0.0.1): query: SELECT password FROM mailbox WHERE username = '[EMAIL PROTECTED]' AND active = '1' 24/09/2007 13:50:53localhostdovecotpop3-login: Internal login failure: user=[EMAIL PROTECTED], method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured I cannot find out what is wrong with my setup. Do you have any advice? TIA Maurizio This is my setup: Postfix 2.3.6 MySQL 5.0.44 dovecot 1.0.5 And this is my dovecot.conf: # 1.0.5: /etc/dovecot/dovecot.conf protocols: imap pop3 ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login verbose_proctitle: yes mail_extra_groups: vmail mail_location: maildir:/home/vmail/domains mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: PLAIN verbose: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd args: /etc/dovecot/dovecot-sql.conf and dovecot-sql.conf: driver = mysql connect = host=localhost dbname=postfix_vmail user=postfix password=mypass default_pass_scheme = MD5-CRYPT password_query = SELECT password FROM mailbox WHERE username = '%u' AND active = '1' user_query = SELECT maildir, 1002 AS uid, 1013 AS gid FROM mailbox WHERE username = '%u' AND active = '1' Maildir are stored on /home/vmail/domains/domain.tld/username
Re: [Dovecot] alert function, V2
My thanks to Timo. Over here in the US, we just had another college campus shooting, but this time the campus was locked down and no more than the initial two victims were shot (not fatally). Implementing the imap alert function will give our college administration immediate emergency notification to anyone using email. Timo Sirainen wrote: http://dovecot.org/patches/1.0/imap-alert-plugin.c -- Stewart Dean, Unix System Admin, Henderson Computer Resources Center of Bard College, Annandale-on-Hudson, New York 12504 [EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035
[Dovecot] Unknown dict module: db
Using dovecot-1.1beta1 I get Unknown dict module: db when starting up dovecot. In dovecot.conf I've got the expire_dict = db:/var/lib/dovecot/expire.db statement in the plugin{} section. Aparently required when the expire plugin is enabled. dovecot is built with --with-db and db-devel is present at compile time. Any ideas anyone? Cheers /Lars
[Dovecot] [Fwd: [imp] How to enable Quota function ( status ) for user ?]
Dear All, Who can help me to solve the problem ? Thanks ! Edward. Original Message Subject:[imp] How to enable Quota function ( status ) for user ? Date: Mon, 24 Sep 2007 22:18:03 +0800 From: [EMAIL PROTECTED] To: IMP [EMAIL PROTECTED] CC: [EMAIL PROTECTED] [EMAIL PROTECTED] Dear All, Mine is Linux FC6 and Dovecot ( Mail Server : pop3 and imap )... So, how to config the following setting for user reference ? imp/config/servers.php : 'quota' = array( 'driver' = 'false', 'params' = array(), ), Thanks ! Edward. -- IMP mailing list - Join the hunt: http://horde.org/bounties/#imp Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [EMAIL PROTECTED] __ NOD32 2545 (20070923) Information __ This message was checked by NOD32 antivirus system. http://www.nod32.com.hk
[Dovecot] Quota Display with Horde / IMP ( WebMail Client )
Dear All, For the Dovecot.conf : protocol imap { mail_plugins = quota imap_quota mail_plugin_dir = /usr/lib/dovecot/imap } plugin { quota = maildir } For /var/spool/mail : -rw--- 1 root root 7168 Sep 24 23:02 aquota.group -rw--- 1 root root 8192 Sep 24 18:05 aquota.user -rw--- 1 edward mail 301709 Sep 24 23:27 edward But the Quota display is un-limited status... So, what mistake about the config ? Mine is FC6 System ! Thanks ! Edward.
Re: [Dovecot] IMAP: Disconnected: BUG: Unknown internal error (Dovecot 1.0.3)
Hello Timo, Saturday, September 22, 2007, 16:23:57, you wrote: On Sun, 2007-09-02 at 20:24 +0200, Robert Tomanek wrote: C: U00331 UID FETCH 18238 (INTERNALDATE FLAGS RFC822.HEADER) S: * BYE BUG: Unknown internal error This should fix it: http://hg.dovecot.org/dovecot-1.0/rev/a3300666c111 Running a patched version of 1.0.5 since yesterday, so far so good... Thanks! -- Best regards, Robert Tomanek mailto:[EMAIL PROTECTED]
Re: [Dovecot] deliver copies ^From header lines when delivering to Maildir
On Mon, 2007-09-24 at 15:41 +0100, pod wrote: TS == Timo Sirainen [EMAIL PROTECTED] writes: Well, doing it only if it's the first header would make it better. I guess I could do something like that since this is a pretty common problem.. TS http://hg.dovecot.org/dovecot-1.0/rev/4c807839ac0c Hasn't create_mbox_stream() returned by the time save_header_callback() is called? Doesn't that mean that the first passed as *context to save_header_callback() is of dubious validity? Oh, good catch. Yes, that was a security hole just waiting to be exploited. :) I couldn't figure out a clean and safe way to do it, so: http://hg.dovecot.org/dovecot/rev/2821a472806f deliver could use a rewrite some day.. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Running a dovecot IMAPS server
FiL @ Kpoxa wrote: I know this is totally unrelated to this topic, but... Is there any extension to create and use templates? I don't like full name wrote: in my reply messages and would prefer some custom templates, that would be different for different accounts. This might not be exactly what you need but then again it might be - I use an extension named Clippings: https://addons.mozilla.org/en-US/thunderbird/addon/1347 When you're in the compose window, rightclick on an empty space in the text editing area and choose Clippings. I have templates for all sorts of things (new hire welcome message with company info, for instance) that save me a lot of time. -te -- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
Re: [Dovecot] Unknown dict module: db
On Mon, 2007-09-24 at 15:55 +0200, Lars Stavholm wrote: Using dovecot-1.1beta1 I get Unknown dict module: db when starting up dovecot. In dovecot.conf I've got the expire_dict = db:/var/lib/dovecot/expire.db statement in the plugin{} section. Aparently required when the expire plugin is enabled. dovecot is built with --with-db and db-devel is present at compile time. Any ideas anyone? The problem is that imap binary isn't linked with libdb, so this doesn't work. You'll have to somehow kludge this yourself, or an easier way is to use dict proxy. It's configured the same way as SQL for dict quota: http://wiki.dovecot.org/Quota/Dict Note that the expire plugin hasn't been tested for a year or so, so be sure to test that it works before relying on it :) signature.asc Description: This is a digitally signed message part
Re: [Dovecot] Howto make deleted itens visible to users?
Daniel L. Miller escreveu: Fábio M. Catunda wrote: Thanks for your replay Timo! What I realy would like is to have a single folder like Deleted Messages or something else where all deleted messages go to. But I imagine that its not possible couse a maildir cant have messages and folders inside it, right? So, if the user deletes an imap folder it must go to a different location than deleted messages. I'm not pretty sure about that, but I have been reading a bit and I belive that its true. Where did you get that from? Certainly you can. Assuming your mail client uses a trash can, deleting folders will move those folders (and their messages) into the trash can as subfolders. If you can have /INBOX/Folder1/Folder2 - there's no difference with /TRASH/Folder1/Folder2. Delete behavior is specified by the client - not the server. So why do I need 3 different folders for lazy_expunge? I realy prefer to send all messages and folders (deleted or expunged) to the same folder, is that possible? Thanks a lot. !DSPAM:46f7fc9c117086491211187!
Re: [Dovecot] Unknown dict module: db
Timo Sirainen wrote: On Mon, 2007-09-24 at 15:55 +0200, Lars Stavholm wrote: Using dovecot-1.1beta1 I get Unknown dict module: db when starting up dovecot. In dovecot.conf I've got the expire_dict = db:/var/lib/dovecot/expire.db statement in the plugin{} section. Aparently required when the expire plugin is enabled. dovecot is built with --with-db and db-devel is present at compile time. Any ideas anyone? The problem is that imap binary isn't linked with libdb, so this doesn't work. You'll have to somehow kludge this yourself, or an easier way is to use dict proxy. It's configured the same way as SQL for dict quota: http://wiki.dovecot.org/Quota/Dict Note that the expire plugin hasn't been tested for a year or so, so be sure to test that it works before relying on it :) OK, I hear you, thanks. /L