Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
On Wed, 2008-03-12 at 23:39 +0100, Diego Liziero wrote: > When it happens with thunderbird, the user gets an error stating that > the mail can't be saved. > With other mail clients nothing is said and the mail is just lost. Enabling rawlog (http://wiki.dovecot.org/Debugging/Rawlog) and looking at what exactly gets sent at that time could be useful. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
On Wed, Mar 12, 2008 at 6:59 PM, Diego Liziero wrote: > [..] > Some users are complaining that their sent mails sometimes don't get > written to imap Sent-mail folder. Tim Alberts wrote: > [..] I'm finding that using multiple clients at the same time, changes are not > immediately posted so viewing the same account with thunderbird on one > machine and outlook on another, it appears to get out of sync. Seems > mostly the 'delete' or 'move' commands don't actually happen until the > client program is closed. Mmm.. the fact I'm reporting is different: you noticed that changes don't appear immediately when using multiple clients because of local caching. Here it happens that mail isn't actually written to an imap folder (sent mail). Closing all instances and opening a new one doesn't get the lost mail back. When it happens with thunderbird, the user gets an error stating that the mail can't be saved. With other mail clients nothing is said and the mail is just lost. Regards, Diego.
Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
On Wed, 12 Mar 2008, Diego Liziero wrote: Perhaps, as it never happened with wu-imap, it could be fixed with dovecot, too. The hard part is to understand why it happens. I wonder if an IMAP trace for a working UW-IMAP setup and the failing Dovecot setup might help. -- Asheesh. -- Satire is what closes in New Haven.
Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
> On Wed, Mar 12, 2008 at 6:59 PM, Diego Liziero <[EMAIL PROTECTED]> wrote: > > Has anyone had similar issues? Charles Marcus wrote: > Yes... I don't believe this is a dovecot issue, as this is an occasional > issue with Thunderbird I've seen on both dovecot and Courier-imap (in > fact it seems to happen more often on the sites that use Courier)... > [..] The fact is that with wu-imap none complained about missing sent mails, we just switced last week to dovecot (mainly because of really bad performance of wu-imap) and several users started complaining about this issue. Another (maybe related?) strange thing is that local mail (sent by sendmail) sometimes get delayed to the following queue run (that was set to 30 min). Even this fact never happened before the switch to dovecot. I thought it could be caused by a bad locking configuration, but Centos5 sendmail should use fcntl, wu-imap should have used it as well (am I wrong?), and dovecot is explicitly configured with fcntl, too. Perhaps, as it never happened with wu-imap, it could be fixed with dovecot, too. The hard part is to understand why it happens. Regards, Diego.
Re: [Dovecot] interesting note - not sure just how to take care of this one
On 3/12/2008 4:20 PM, Joseph Norris wrote: in the file the user's unencrypted password is showing up as follows: Mar 12 11:24:41 malaga dovecot: auth(default): pam(jnorris,XXX.XXX.XXX.XXX): pam_authenticate() failed: Authentication failure Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): lookup Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): Password mismatch Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): CRYPT("the uncrypted password in plain text here") != 'x' is there a way to disable this? dovecot -n output might hep... sounds like a config issue (debug enabled) to me... -- Best regards, Charles
Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/
Scott Silva wrote: on 3-12-2008 11:07 AM Tim Alberts spake the following: Scott Silva wrote: on 3-10-2008 6:09 PM Tim Alberts spake the following: I'm moving to IMAP and trying to understand all the details of where to save email. The system is CentOS running sendmail - procmail which delivers as: DEFAULT=$HOME/Maildir/ I'm trying also to use Usermin as the webmail client. I can get mail to deliver to $HOME/Maildir/ and I can get clients (thunderbird outlook etc) to view them. However Usermin seems stuck with saving 'Drafts' 'Sent' and 'Trash' in $HOME/mail/ as mbox and Dovecot won't find them even when I use the setting: maildir:~/Maildir:mbox:~/mail/ I don't know what exact question to ask to I'll just ask for any thoughts on this? Second question, different topic. Are there problems with running POP3 and IMAP? I've always run POP3 and I'm thinking to move to IMAP for some clients so the Usermin webmail will be better 'synchronized' with the users inbox. Do you have usermin set to access mail by IMAP or the default of accessing the mail directly on the filesystem? I did have Usermin configured to read directly. I have changed this so Usermin goes through the local IMAP server (dovecot) and Usermin seems to be working much better with the mail. However, I have a new problem... I've changed my mail location back to mbox as follows: mail_location: mbox:~/mail/:INBOX=/var/mail/%u This is working great with two exceptions. First, using mozilla thunderbird as a client, I can create folders, but I can't create sub-folders. Why might this be? How are you trying to create the folders? With mbox you have to create the folders with a trailing slash "foldername/". You can only have either a folder or another mbox, but you can't have both. OH...that worked, thank you. Second, I have Usermin configured to save a copy of sent mail in a folder 'Sent'. mozilla thunderbird is doing this OK, but Usermin is not. It gives me the following error on the web interface: Failed to send mail : Failed to set IMAP flags : Error in IMAP command UID: Invalid arguments. I never thought usermin as a webmail client was very good anyway. It seemed as more of a kludge then polished software, especially when accessing mail by IMAP. I won't argue that statement much. I will say that I have been using Webmin/Usermin since I started with Linux about 10 years ago and Webmin has always been an outstanding graphical tool for configuring a Linux box and all the server apps etc. Usermin, I have watched it's evolution over time, and my opinion of it today is, it is just about evolved to a very usable and well developed application. Plus, it offers far more than just reading email. Shell interface, MySQL interface, gives users the ability to change their account passwords. Feature wise, I don't think anything compares to Usermin. Checking through the logs, I don't see any other errors so I'm having trouble find out why? The email does get delivered, but no copy is saved. On your second question, I run bothPOP3 and IMAP on the server. Some people with light traffic just want to get the mail to their PC, and other users want IMAP so they can work with their mail from multiple locations and computers. That's exactly what I'm going for. Good to hear I can expect it to work fine. I still have problems with outlook on pop3, especially if the mail is left on the server and also accessed with another MUA like outlook express -- don't ask -- stupid PHB decision -- but I haven't had other problems. I have Thunderbird as my MUA of choice, but also have both outlook and outlook express accessing my IMAP store occasionally for testing and debugging purposes. I'm also testing several webmail softwares on the same mail store and I haven't seen any gotchas. I too use Thunderbird, but all my clients will undoubtedly use Outlook or Eudora so I have more testing to find the gotchas with those too.
Re: [Dovecot] outlook2003 fails sasl authentication
On Wed, 12 Mar 2008 16:24:11 +0100 Johan Hendriks <[EMAIL PROTECTED]> wrote: {snip} > this is my posfix part of sasl > > smtpd_sasl_auth_enable = yes > smtpd_sasl_exceptions_networks = $mynetworks > broken_sasl_auth_clients = yes > smtpd_recipient_restrictions = permit_mynetworks, > permit_sasl_authenticated, > reject_unauth_destination > permit ^^ Are you sure about the last 'permit'. You are potentially making yourself an open relay. I would suggest 'reject' as the correct action. You might want to inquire on the Postfix forum for more info. {snip} -- Gerard [EMAIL PROTECTED] Winning isn't everything. It's the only thing. Vince Lombardi signature.asc Description: PGP signature
[Dovecot] interesting note - not sure just how to take care of this one
Hello all, the dovecot -> ldap connection is working correctly but I notice something in my maillog that is disturbing: dovecot.conf in the passdb section I have passdb passwd { } then it drops down into the ldap stuff. The user gets validated via this first and if it fails passes on to the ldap stuff. the problem is: in the file the user's unencrypted password is showing up as follows: Mar 12 11:24:41 malaga dovecot: auth(default): pam(jnorris,XXX.XXX.XXX.XXX): pam_authenticate() failed: Authentication failure Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): lookup Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): Password mismatch Mar 12 11:24:41 malaga dovecot: auth(default): passwd(jnorris,XXX.XXX.XXX.XXX): CRYPT("the uncrypted password in plain text here") != 'x' is there a way to disable this? thanks. -- Cell: 209.201.3410 Desk: 209.228.4576 email: [EMAIL PROTECTED] #Joseph Norris (Linux/Apache/Mysql/Perl - what else is there?) print @c=map chr $_+100,(6,17,15,16,-68,-3,10,11, 16,4,1, 14,-68,12,1,14,8, -68,4,-3,-1,7,1,14,-68, -26,11,15,1,12, 4,-68,-22,11,14,14,5,15,-90);
Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/
on 3-12-2008 11:07 AM Tim Alberts spake the following: Scott Silva wrote: on 3-10-2008 6:09 PM Tim Alberts spake the following: I'm moving to IMAP and trying to understand all the details of where to save email. The system is CentOS running sendmail - procmail which delivers as: DEFAULT=$HOME/Maildir/ I'm trying also to use Usermin as the webmail client. I can get mail to deliver to $HOME/Maildir/ and I can get clients (thunderbird outlook etc) to view them. However Usermin seems stuck with saving 'Drafts' 'Sent' and 'Trash' in $HOME/mail/ as mbox and Dovecot won't find them even when I use the setting: maildir:~/Maildir:mbox:~/mail/ I don't know what exact question to ask to I'll just ask for any thoughts on this? Second question, different topic. Are there problems with running POP3 and IMAP? I've always run POP3 and I'm thinking to move to IMAP for some clients so the Usermin webmail will be better 'synchronized' with the users inbox. Do you have usermin set to access mail by IMAP or the default of accessing the mail directly on the filesystem? I did have Usermin configured to read directly. I have changed this so Usermin goes through the local IMAP server (dovecot) and Usermin seems to be working much better with the mail. However, I have a new problem... I've changed my mail location back to mbox as follows: mail_location: mbox:~/mail/:INBOX=/var/mail/%u This is working great with two exceptions. First, using mozilla thunderbird as a client, I can create folders, but I can't create sub-folders. Why might this be? How are you trying to create the folders? With mbox you have to create the folders with a trailing slash "foldername/". You can only have either a folder or another mbox, but you can't have both. Second, I have Usermin configured to save a copy of sent mail in a folder 'Sent'. mozilla thunderbird is doing this OK, but Usermin is not. It gives me the following error on the web interface: Failed to send mail : Failed to set IMAP flags : Error in IMAP command UID: Invalid arguments. I never thought usermin as a webmail client was very good anyway. It seemed as more of a kludge then polished software, especially when accessing mail by IMAP. Checking through the logs, I don't see any other errors so I'm having trouble find out why? The email does get delivered, but no copy is saved. On your second question, I run bothPOP3 and IMAP on the server. Some people with light traffic just want to get the mail to their PC, and other users want IMAP so they can work with their mail from multiple locations and computers. That's exactly what I'm going for. Good to hear I can expect it to work fine. I still have problems with outlook on pop3, especially if the mail is left on the server and also accessed with another MUA like outlook express -- don't ask -- stupid PHB decision -- but I haven't had other problems. I have Thunderbird as my MUA of choice, but also have both outlook and outlook express accessing my IMAP store occasionally for testing and debugging purposes. I'm also testing several webmail softwares on the same mail store and I haven't seen any gotchas. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature
Re: [Dovecot] deliver fails - passdb doesn't support lookups?
On Wednesday, March 12 at 11:40 AM, quoth Andrew Roberts: On Wed, 12 Mar 2008, Kyle Wheeler wrote: I'm trying to get `deliver` (the LDA) to function properly. I can get it to work without doing a user lookup, but for my own sense of sanity, I want to know what I'm doing wrong getting user lookups working. (I'm using dovecot 1.0.10). Here's what I have in the "auth default" section: args = uid=3728 gid=3728 home=/domains/%Ld/%Ln passdb? I thought it was the userdb that was important! What's going on here? With a static userdb, dovecot still wants to verify that the user exists with a passdb lookup. If your MTA is configured to verify that the user exists before passing mails to the LDA, you safely tell userdb to disable this check by addding "allow_all_users=yes" to your passdb args. Ahhh! That makes sense, thank you! Okay, so allow_all_users=yes would make it work... but what if I do want it to check users. What might I have wrong in my ldap settings that would prevent it from looking up users? And what kind of a performance penalty do I pay for making that lookup? ~Kyle -- The best way to know God is to love many things. -- Vincent Van Gogh pgpbKMpbMwGGA.pgp Description: PGP signature
Re: [Dovecot] deliver fails - passdb doesn't support lookups?
On Wed, 12 Mar 2008, Kyle Wheeler wrote: I'm trying to get `deliver` (the LDA) to function properly. I can get it to work without doing a user lookup, but for my own sense of sanity, I want to know what I'm doing wrong getting user lookups working. (I'm using dovecot 1.0.10). Here's what I have in the "auth default" section: args = uid=3728 gid=3728 home=/domains/%Ld/%Ln passdb? I thought it was the userdb that was important! What's going on here? With a static userdb, dovecot still wants to verify that the user exists with a passdb lookup. If your MTA is configured to verify that the user exists before passing mails to the LDA, you safely tell userdb to disable this check by addding "allow_all_users=yes" to your passdb args.
Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
Diego Liziero wrote: Hi, I'm collecting users feedback of latest dovecot 1.1.rc3 development release. Some users are complaining that their sent mails sometimes don't get written to imap Sent-mail folder. I'm having that exact trouble with Usermin as I just posted a follow up to an old issue. See subject: Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/ I'm using dovecot 1.0.10. However when using thunderbird, I do not see this problem. It seems that all these users were using multiple istances of imap processes to read their mail (thunderbird+horde-imp, evolution+horde-imp or multiple thunderbird istances). Being my first experience using/configuring IMAP server, I'm finding that using multiple clients at the same time, changes are not immediately posted so viewing the same account with thunderbird on one machine and outlook on another, it appears to get out of sync. Seems mostly the 'delete' or 'move' commands don't actually happen until the client program is closed. I'm finding this annoying personally, but it seems to be the way it is supposed to work? No error message is written in dovecot.log, no user feedback in horde-imp/evolution. Only thunderbird says it can't update Sent folder. Has anyone had similar issues? Diego.
Re: [Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
On 3/12/2008 1:59 PM, Diego Liziero wrote: Hi, I'm collecting users feedback of latest dovecot 1.1.rc3 development release. Some users are complaining that their sent mails sometimes don't get written to imap Sent-mail folder. It seems that all these users were using multiple istances of imap processes to read their mail (thunderbird+horde-imp, evolution+horde-imp or multiple thunderbird istances). No error message is written in dovecot.log, no user feedback in horde-imp/evolution. Only thunderbird says it can't update Sent folder. Has anyone had similar issues? Yes... I don't believe this is a dovecot issue, as this is an occasional issue with Thunderbird I've seen on both dovecot and Courier-imap (in fact it seems to happen more often on the sites that use Courier)... The only way I've ever been able to fix it is to simply restart Thunderbird - but you have to make sure that all TBird processes are 'dead' - in Windows I often have to kill a rogue process to fix this problem. -- Best regards, Charles
Re: [Dovecot] IMAP storage - mail_location = maildir:~/Maildir:mbox:~/mail/
Scott Silva wrote: on 3-10-2008 6:09 PM Tim Alberts spake the following: I'm moving to IMAP and trying to understand all the details of where to save email. The system is CentOS running sendmail - procmail which delivers as: DEFAULT=$HOME/Maildir/ I'm trying also to use Usermin as the webmail client. I can get mail to deliver to $HOME/Maildir/ and I can get clients (thunderbird outlook etc) to view them. However Usermin seems stuck with saving 'Drafts' 'Sent' and 'Trash' in $HOME/mail/ as mbox and Dovecot won't find them even when I use the setting: maildir:~/Maildir:mbox:~/mail/ I don't know what exact question to ask to I'll just ask for any thoughts on this? Second question, different topic. Are there problems with running POP3 and IMAP? I've always run POP3 and I'm thinking to move to IMAP for some clients so the Usermin webmail will be better 'synchronized' with the users inbox. Do you have usermin set to access mail by IMAP or the default of accessing the mail directly on the filesystem? I did have Usermin configured to read directly. I have changed this so Usermin goes through the local IMAP server (dovecot) and Usermin seems to be working much better with the mail. However, I have a new problem... I've changed my mail location back to mbox as follows: mail_location: mbox:~/mail/:INBOX=/var/mail/%u This is working great with two exceptions. First, using mozilla thunderbird as a client, I can create folders, but I can't create sub-folders. Why might this be? Second, I have Usermin configured to save a copy of sent mail in a folder 'Sent'. mozilla thunderbird is doing this OK, but Usermin is not. It gives me the following error on the web interface: Failed to send mail : Failed to set IMAP flags : Error in IMAP command UID: Invalid arguments. Checking through the logs, I don't see any other errors so I'm having trouble find out why? The email does get delivered, but no copy is saved. Current dovecont version/configuration: *> dovecot --version * 1.0.10 *> dovecot -n * # 1.0.10: /etc/dovecot.conf protocols: imap pop3 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: mbox:~/mail/:INBOX=/var/mail/%u 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/lib64/dovecot/imap mail_plugin_dir(imap): /usr/lib64/dovecot/imap mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3 pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: passdb: driver: pam args: dovecot userdb: driver: passwd args: blocking=yes On your second question, I run bothPOP3 and IMAP on the server. Some people with light traffic just want to get the mail to their PC, and other users want IMAP so they can work with their mail from multiple locations and computers. That's exactly what I'm going for. Good to hear I can expect it to work fine.
[Dovecot] deliver fails - passdb doesn't support lookups?
Hello, I'm trying to get `deliver` (the LDA) to function properly. I can get it to work without doing a user lookup, but for my own sense of sanity, I want to know what I'm doing wrong getting user lookups working. (I'm using dovecot 1.0.10). Here's what I have in the "auth default" section: auth default { mechanisms = plain login passdb ldap { args= /var/lib/dovecot/dovecot-ldap.conf } userdb static { args = uid=3728 gid=3728 home=/domains/%Ld/%Ln } user = vpopmail socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vpopmail group = vchkpw } client { path = /var/run/dovecot/auth-client mode = 0660 } } } And yet, when I run deliver, I get no warnings, no errors, and most especially, no email delivered. Here's how I call deliver: cat testemail | setuidgid vpopmail \ /usr/local/libexec/dovecot/deliver \ -d [EMAIL PROTECTED] I tried running deliver within strace, and here's what I found. It opens up the authentication socket and writes: [EMAIL PROTECTED] And it gets back: VERSION\t1\t0\nSPID\t10917\nFAIL\t1\n" If I understand the authentication protocol correctly, that means an internal error occurred. The dovecot log file reports this: Error: auth(default): static([EMAIL PROTECTED]): passdb doesn't support lookups, can't verify user's existence passdb? I thought it was the userdb that was important! What's going on here? ~Kyle -- Men, as an organization, are getting more women than any other group working anywhere in the world. Wherever women are, we have men looking into it. -- Jerry Seinfeld pgpEnizZR6vZf.pgp Description: PGP signature
[Dovecot] imap sent-mail folder sometimes dosen't get updated when used by more than a mailer at the same time.
Hi, I'm collecting users feedback of latest dovecot 1.1.rc3 development release. Some users are complaining that their sent mails sometimes don't get written to imap Sent-mail folder. It seems that all these users were using multiple istances of imap processes to read their mail (thunderbird+horde-imp, evolution+horde-imp or multiple thunderbird istances). No error message is written in dovecot.log, no user feedback in horde-imp/evolution. Only thunderbird says it can't update Sent folder. Has anyone had similar issues? Diego.
Re: [Dovecot] outlook2003 fails sasl authentication
Thank you so much that was it! I just migrated from one server to another and that line did not made it in the new dovecot.conf file. Well i need to use diff more. Thanks again Jens Meyer schreef: Hi! I have a similar configuration - and run into the same problem before two weeks. As I remember I expanded the following line in dovecot.conf: --> mechanisms = plain login <-- It works for me and hopefully it is the correct solution (even if I am no dovecot-expert). Kind regards, Jens Johan Hendriks schrieb: Hello all i have postfix running with dovecot-sasl and mysql as a backend. It all runs good. I run into trouble as where outlook 2003 fails to authenticate when sending e-mail. I have thunderbird outlook2007 and 2003 clients. The tunderbird and 2007 clients are working OK, the outlook2003 client get the relay access denied message. In the postfix log i see it is not initiating sasl they all use pop i use dovecot 1.0.13 this is my posfix part of sasl smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination permit smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth and this is my dovecot sasl part # dovecot SASL socket listen { client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } } Am i doing something wrong? I guess if it is not configured right outlook 2007 and thunderbird will fail also! regards, Johan Hendriks
Re: [Dovecot] outlook2003 fails sasl authentication
Hi! I have a similar configuration - and run into the same problem before two weeks. As I remember I expanded the following line in dovecot.conf: --> mechanisms = plain login <-- It works for me and hopefully it is the correct solution (even if I am no dovecot-expert). Kind regards, Jens Johan Hendriks schrieb: Hello all i have postfix running with dovecot-sasl and mysql as a backend. It all runs good. I run into trouble as where outlook 2003 fails to authenticate when sending e-mail. I have thunderbird outlook2007 and 2003 clients. The tunderbird and 2007 clients are working OK, the outlook2003 client get the relay access denied message. In the postfix log i see it is not initiating sasl they all use pop i use dovecot 1.0.13 this is my posfix part of sasl smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination permit smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth and this is my dovecot sasl part # dovecot SASL socket listen { client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } } Am i doing something wrong? I guess if it is not configured right outlook 2007 and thunderbird will fail also! regards, Johan Hendriks
[Dovecot] outlook2003 fails sasl authentication
Hello all i have postfix running with dovecot-sasl and mysql as a backend. It all runs good. I run into trouble as where outlook 2003 fails to authenticate when sending e-mail. I have thunderbird outlook2007 and 2003 clients. The tunderbird and 2007 clients are working OK, the outlook2003 client get the relay access denied message. In the postfix log i see it is not initiating sasl they all use pop i use dovecot 1.0.13 this is my posfix part of sasl smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = $mynetworks broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination permit smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth and this is my dovecot sasl part # dovecot SASL socket listen { client { # Assuming the default Postfix $queue_directory setting path = /var/spool/postfix/private/auth mode = 0660 # Assuming the default Postfix user and group user = postfix group = postfix } } Am i doing something wrong? I guess if it is not configured right outlook 2007 and thunderbird will fail also! regards, Johan Hendriks
Re: [Dovecot] Debugging sieve-options
Hi Chris, thank you very much for your helpful answer! deliver was configured fine already. But I was not aware that I need another tool/configuration for managing sieve-scripts. I am using pysieved now (with Sieve for Thunderbird) and everything is working fine. Great... Kind regards, Jens Chris Vogel schrieb: Hey Jens, the big picture is: The sieve plugin works with deliver. Deliver is the lda (local delivery agent), which comes with Dovecot. To use it you need to configure your mailer (postfix / exim / sendmail) to deliver emails using Dovecots deliver instead of writing to users maildirs or mailfiles directly. To use the managesieve protocol you need a patch to Dovecot - the MANAGESIEVE patch. You'll find a lot of information about it in the mailing lists archive and there are links in the Wiki. You should start reading about lda deliver in the Wiki. Once you've got sieve working you can start to worry about managesieve :). Good luck! Chris.
Re: [Dovecot] Sieve doesnt filter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 12 Mar 2008, Sven Schmidt wrote: But now I want to copy a mail not move a mail, it is possible? Nope. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH1723VJMDrex4hCIRAtoSAJ980NlqUHyVdH3ZgHScyBJz9WAXnQCfe55F JTdP2GOcOqiBaAywxh9BrkA= =UQS3 -END PGP SIGNATURE-
Re: [Dovecot] Fileinto to a maildir with sieve
On 12.03.2008 13:00, Nicolas Letellier wrote: Anton Yuzhaninov a écrit : On 12.03.2008 12:04, Nicolas Letellier wrote: Is it possible to specify a maildir to a fileinto rule in a sieve file? A simple: require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto ".Junk"; } try fileinto "Junk"; OMG. It's works. So, never put a dot in the name of the directory :-) But if nested folders in a maildir used, dot should be used, e. g. fileinto "maillists.dovecot"; -- WBR, Anton Yuzhaninov Rambler Mail
Re: [Dovecot] Fileinto to a maildir with sieve
Anton Yuzhaninov a écrit : On 12.03.2008 12:04, Nicolas Letellier wrote: Is it possible to specify a maildir to a fileinto rule in a sieve file? A simple: require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto ".Junk"; } try fileinto "Junk"; OMG. It's works. So, never put a dot in the name of the directory :-) Thanks. - Nicolas.
Re: [Dovecot] Fileinto to a maildir with sieve
On 12.03.2008 12:04, Nicolas Letellier wrote: Is it possible to specify a maildir to a fileinto rule in a sieve file? A simple: require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto ".Junk"; } try fileinto "Junk"; -- WBR, Anton Yuzhaninov
Re: [Dovecot] Sieve doesnt filter
Steffen Kaiser schrieb: I guess, this is just a simplification of you real filter, therefore one remard: keep is not reached, if address matches, but header not. The regex does not look correct, use just one backslash per asterisk. BTW: I would use header :contains "X-Spam-Level" "*" Bye, After a little more trying, I found the target mailbox. But now I want to copy a mail not move a mail, it is possible?
[Dovecot] Fileinto to a maildir with sieve
Hello, Is it possible to specify a maildir to a fileinto rule in a sieve file? A simple: require "fileinto"; if header :contains "X-Spam-Flag" "YES" { fileinto ".Junk"; } does'nt work becaise .Junk is a directoty, not a mailbox... See my dovecot-deliver log: Couldn't open mailbox .Junk: Invalid mailbox name Mar 12 09:52:38 helm deliver([EMAIL PROTECTED]): sieve runtime error: Fileinto: Generic Error Is it possible to specify a directory (maildir)? Thanks. - Nicolas.
[Dovecot] Problem with a sieve file
Hello, I use a simple sieve file like: require "fileinto"; if header :contains ["From"] ["root"] { redirect "[EMAIL PROTECTED]"; } When I send an email with root to this user, I have this error in my deliver log: Mar 12 09:43:18 helm deliver([EMAIL PROTECTED]): open(~/.temp.hostname.net.53398.23c1b1a363c2c4e8) failed: No such file or directory Mar 12 09:43:18 helm deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED]>: forwarded to <[EMAIL PROTECTED]> Why I have this error? I don't understand it. I use dovecot with Postfix (2.4) and FreeBSD (6.2) : dovecot-1.0.12Secure and compact IMAP and POP3 servers dovecot-sieve-1.0.2 A sieve plugin for the Dovecot LDA called 'deliver' See my config a sieve in my dovecot.conf: mail_plugins = cmusieve quota (in protocol lda) sieve = /var/mail/vmail/%u/sieve (in plugin) Thanks for your help. - Nicolas.