Re: [Dovecot] Sieve script executed, but nothing happens
No, that's a typo. Wouter -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Asheesh Laroia Verzonden: vrijdag 18 april 2008 9:24 Aan: Wouter Amsterdam CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Sieve script executed, but nothing happens On Fri, 18 Apr 2008, Wouter Amsterdam wrote: > if address :is "to" "user@ mydomain.nl" { Is this space intentional? "usermydomain.nl"? -- Asheesh. -- "In the long run, every program becomes rococo, and then rubble." -- Alan Perlis
[Dovecot] Sieve script executed, but nothing happens
Hi all, I think I have almost solved my dovecot-deliver lookup problems, but now sieve still fails to work. From deliver's logfile I can tell the user's homedir is found and the sieve script is executed, but not as expected. My sieve testscript is very basic: /home/virtual/user.dovecot.sieve: * require "fileinto"; if address :is "to" "user@ mydomain.nl" { fileinto "sieve"; ( I also tried INBOX.sieve, without succes) } * But incoming messages for this account are still delivered in the normal inbox, not in the sieve folder. Why won't this work? /var/log/deliver: * deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: Loading modules from directory: /usr/lib/dovecot/lda deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: Module loaded: /usr/lib/dovecot/lda/lib90_cmusieve_plugin.so deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: auth input: [EMAIL PROTECTED] deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: auth input: home=/home/virtual/user deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: auth input: uid=5000 deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: auth input: gid=5000 deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: maildir: data=/data/mail/mydomain/user deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: maildir: root=/data/mail/mydomain/user, index=/data/mail/mydomain/user, control=, inbox= deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: cmusieve: Using sieve path: /home/virtual/user/.dovecot.sieve deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: cmusieve: Executing script /home/virtual/user/.dovecot.sievec deliver([EMAIL PROTECTED]): Apr 17 09:55:40 Info: msgid=<[EMAIL PROTECTED]>: saved mail to INBOX * TIA, Wouter
[Dovecot] Dovecot-deliver lookup fails
Hi all, I'm still trying to get Dovecot-deliver to work in my config. I have found the problem to be in the maildir lookup for Dovecot-deliver as logged in /var/log/maillog: "Apr 15 16:30:34 termserv dovecot: auth(default): static([EMAIL PROTECTED]): passdb doesn't support lookups, can't verify user's existence" The thing I don't get, is that if I remove the virtual_transport modifications in /etc/postfix/master.cf and /etc/postfix/main.cf and the socket listen in /etc/dovecot.conf, all works well. So dovecot has no problems looking up my users on a LDAP server as a passdb backend, but failes when using the same passdb for dovecot-deliver. How come? TIA, Wouter
Re: [Dovecot] dovecot-deliver auth-master error
Thanks Uldis, That is that problem solved, but a new one created. When sending a mail using Dovecot-deliver the following error pops up in /var/log/maillog: Apr 15 10:32:19 termserv dovecot: auth(default): master in: USER1 [EMAIL PROTECTED] service=deliver Apr 15 10:32:19 termserv dovecot: auth(default): static([EMAIL PROTECTED]): passdb doesn't support lookups, can't verify user's existence Apr 15 10:32:19 termserv dovecot: auth(default): master out: FAIL 1 Apr 15 10:32:19 termserv postfix/pipe[31977]: 19C3820125: to=<[EMAIL PROTECTED]>, relay=dovecot, delay=377, delays=377/0/0/0, dsn=4.3.0, status=deferred (temporary failure) I've tried Google, but with zero results. Now what? TIA, Wouter -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Uldis Pakuls Verzonden: dinsdag 15 april 2008 7:20 Aan: Wouter Amsterdam CC: 'Dovecot Mailing List' Onderwerp: Re: [Dovecot] dovecot-deliver auth-master error Wouter Amsterdam wrote: > Hi all, > [] > type: listen > master: > path: /var/run/dovecot/auth-master > > Apr 14 16:14:44 termserv dovecot: auth(default): > unlink(/var/run/dovecot/auth-master) failed: Is a directory > > /var/run/dovecot/auth-master is path to auth-master socket. This socket is automaticly created at startup. You have directory called /var/run/dovecot/auth-master - thus creating of socket fails. "path: /var/run/dovecot/auth-master" - it is not path where socket is placed - it is socket's name itself. Remove this directory. Uldis
[Dovecot] dovecot-deliver auth-master error
Hi all, I'm trying to get the sieve plugin to work, but with little result. I'm following http://wiki.dovecot.org/LDA, http://wiki.dovecot.org/LDA/Postfix and http://wiki.dovecot.org/LDA/Sieve but it won't work. As I have virtual users from several virtual domains, I added the "virtual users - with lookup" section from http://wiki.dovecot.org/LDA, but now dovecot fails to start. My dovecot.conf is as follows: # 1.0.13: /etc/dovecot.conf 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 mail_location: maildir:/data/mail/mydomain/%Ln maildir_copy_with_hardlinks: yes maildir_copy_preserve_filename: yes 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 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: username_format: %Lu debug: yes debug_passwords: yes passdb: driver: ldap args: /etc/dovecot-ldap.conf userdb: driver: static args: uid=5000 gid=5000 home=/var/mail/vmail socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: sieve: /home/virtual/%u/sieve The problem seems to be in the auth-master path, for /var/log/maillog shows: Apr 14 16:14:44 termserv dovecot: Dovecot v1.0.13 starting up Apr 14 16:14:44 termserv dovecot: auth(default): unlink(/var/run/dovecot/auth-master) failed: Is a directory Apr 14 16:14:44 termserv dovecot: Auth process died too early - shutting down Apr 14 16:14:44 termserv dovecot: child 12385 (auth) returned error 89 Can anyone point me in the right direction? TIA, Wouter
[Dovecot] dovecot-deliver auth-master error
Hi all, I'm trying to get the sieve plugin to work, but with little result. I'm following http://wiki.dovecot.org/LDA, http://wiki.dovecot.org/LDA/Postfix and http://wiki.dovecot.org/LDA/Sieve but it won't work. As I have virtual users from several virtual domains, I added the "virtual users - with lookup" section from http://wiki.dovecot.org/LDA, but now dovecot fails to start. My dovecot.conf is as follows: # 1.0.13: /etc/dovecot.conf 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 mail_location: maildir:/data/mail/mydomain/%Ln maildir_copy_with_hardlinks: yes maildir_copy_preserve_filename: yes 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 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: username_format: %Lu debug: yes debug_passwords: yes passdb: driver: ldap args: /etc/dovecot-ldap.conf userdb: driver: static args: uid=5000 gid=5000 home=/var/mail/vmail socket: type: listen master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: sieve: /home/virtual/%u/sieve The problem seems to be in the auth-master path, for /var/log/maillog shows: Apr 14 16:14:44 termserv dovecot: Dovecot v1.0.13 starting up Apr 14 16:14:44 termserv dovecot: auth(default): unlink(/var/run/dovecot/auth-master) failed: Is a directory Apr 14 16:14:44 termserv dovecot: Auth process died too early - shutting down Apr 14 16:14:44 termserv dovecot: child 12385 (auth) returned error 89 Can anyone point me in the right direction? TIA, Wouter
Re: [Dovecot] Shared mailboxes
OK, didn't think about that. Not that security for this mailbox is a great issue as this mailbox is only accessable inside our LAN and passwords for these shared accounts are maintained by the administrators and not by the clients/users. Is there also a technical advantage (i.e. file locks, time-outs) of using namespaces/symlinks compared to my simple solution? Wouter -Oorspronkelijk bericht- Van: Remy Zandwijk [mailto:[EMAIL PROTECTED] Verzonden: zaterdag 26 januari 2008 12:32 Aan: Wouter Amsterdam CC: dovecot@dovecot.org Onderwerp: Re: [Dovecot] Shared mailboxes > It is not clear to me why I should use namespaces or symlinks to share a > single maildir mailbox with multiple users. Why not configure multiple mail > clients with the same account information? Well, since by using the latter, you would introduce some kind of security breach. What happens when one of the users leaves the office for an other job? When the password of the 'shared mailbox' is not changed, the user who left could still access the shared mailbox. Even when his 'normal' account is disabled. -Remy
[Dovecot] Shared mailboxes
L.S. It is not clear to me why I should use namespaces or symlinks to share a single maildir mailbox with multiple users. Why not configure multiple mail clients with the same account information? TIA, Wouter