Re: [Dovecot] deliver errors

2007-06-28 Thread Charles Marcus
Azher Amin, on 6/28/2007 1:22 AM, said the following: Hi Timo, Thnx one of the error is gone due to duplicate passdbs, thnx. However following error is persistant. I restarted my sendmail, dovecot etc. changed the group permission as you mentioned. You never provided requested information...

Re: [Dovecot] deliver errors

2007-06-28 Thread Azher Amin
Charles Marcus wrote: Azher Amin, on 6/28/2007 1:22 AM, said the following: Hi Timo, Thnx one of the error is gone due to duplicate passdbs, thnx. However following error is persistant. I restarted my sendmail, dovecot etc. changed the group permission as you mentioned. You never provide

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 5.12, Mark Edwards wrote: Unless I specifically have /var/mail/virtual returned as home in the ldap lookup, deliver can't find the directory. In other words, it doesn't seem to respect the above mail_location setting. In addition, if I don't have a pre-existing maildir in

Re: [Dovecot] deliver errors

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 8.22, Azher Amin wrote: Jun 28 10:19:47 webmail sm-mta[19653]: l5S5Jl1Z019649: Warning: program /usr/local/libexec/dovecot/deliver unsafe: Group writable directory This error comes from sendmail. If dovecot directory isn't group writable, then I don't really have any idea

Re: [Dovecot] FreeBSD NFS file locking mechanism

2007-06-28 Thread Geoffroy Desvernay
Tony Tsang a écrit : > Hi all, > > I have some machines running FreeBSD and dovecot deployed. User's home > dir is on NFS mount and I've found that dovecot only works with > dotlock file locking mechanism, fcntl and flock failed. Now it causes > problem with thunderbird (thunderbird is cachine c

Re: [Dovecot] FreeBSD NFS file locking mechanism

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 15:18 +0200, Geoffroy Desvernay wrote: > > Tony Tsang a écrit : > > Hi all, > > > > I have some machines running FreeBSD and dovecot deployed. User's home > > dir is on NFS mount and I've found that dovecot only works with > > dotlock file locking mechanism, fcntl and flock

[Dovecot] deliver without lookup

2007-06-28 Thread Bruno Puga
Hello friends! Is it possible to make deliver delivery a message without making a lookup using virtual users? I've read the section "Without a Lookup" (http://wiki.dovecot.org/LDA) in the wiki but I can´t do the same thing in my config and I can´t figure this out. From the forum I found this th

Re: [Dovecot] deliver errors

2007-06-28 Thread azher
Hi Timo, Following is the directory output, plz suggest. webmail:~# ls -la /usr/local/libexec/dovecot/ total 9724 drwxr-sr-x 2 root staff4096 2007-06-26 18:23 . drwxr-sr-x 3 root staff4096 2007-06-26 17:56 .. -rwxr-xr-x 1 root staff 144247 2007-06-26 18:23 checkpassword-reply -rwx--

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 6:14 AM, Timo Sirainen wrote: On 28.6.2007, at 5.12, Mark Edwards wrote: Unless I specifically have /var/mail/virtual returned as home in the ldap lookup, deliver can't find the directory. In other words, it doesn't seem to respect the above mail_location setting. In

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 08:17 -0700, Mark Edwards wrote: > >> Jun 27 18:56:52 mini deliver([EMAIL PROTECTED]): auth input: > >> mail=mark > > > > You're overriding it with "mark". > > I see. Well, my aim is to avoid having to prefix my mailbox entries > in my LDAP database with "maildir:", and

Re: [Dovecot] deliver without lookup

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 11:11 -0300, Bruno Puga wrote: > HOME=/path/to/user/homedir deliver -f [EMAIL PROTECTED] and I receive the > message: Fatal: destination user parameter (-d user) not given If you're going to run deliver without -d, you must not be running it as root. signature.asc Des

[Dovecot] convert plugin problem from UW-IMAP

2007-06-28 Thread Andrew Z
Though there are conversion scripts, I'd like to give the convert plugin a chance. I have Dovecot 1.0.1 on Trustix Secure Linux 2.2 (Linux 2.4.27), and we had UW IMAP 2002e. Dovecot seems to work OK (e.g. I can add copy messages to it), but things break when I activate the convert plugin. The

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 9:04 AM, Timo Sirainen wrote: My dovecot-ldap.conf contains: user_attrs = homeDirectory=home,mailbox=mail I'm setting mailbox=mail because otherwise dovecot uses postfix's destination, which is the entire destination email address. Are my only choices to either use postfix'

Re: [Dovecot] Locking problems on Dovecot 1.x in Maildir

2007-06-28 Thread Ronald MacDonald
It seems as if the flock does not have any effect on the corrupting of the transaction logs. Additionally, I would not be prepared to use dotlock as its performance is detrimental to the server's load at busy times. Ronald. On 27/06/07, Timo Sirainen <[EMAIL PROTECTED]> wrote: No, ext3 would b

[Dovecot] UW-IMAP conversion part 2

2007-06-28 Thread Andrew Z
FWIW, the Dovecot 1.0.1 convert plugin works with all my UW-IMAP mboxes moved to ~/mail. At least that shows that my system otherwise works. Also, I wrote a script to move the mboxes and preserve the IMAP subscriptions. (I hope the list accepts the attached script.) move_mail.sh Description:

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 10:31 -0700, Mark Edwards wrote: > One thing that confused me is that setting the home attribute in > userdb doesn't override mail_location, and in fact doesn't seem to > have any affect unless the mail attribute is set. Home directory is used wherever you have ~/ or %h.

[Dovecot] dovecot help

2007-06-28 Thread Andy Fadich
Hello, I have a mail server which I upgraded yesterday. OLD: Redhat 9 sendmail (very old version) UW ipop3d usermin with readmail module for webmail access (very old version) NEW: Fedora Core 6 sendmail 8.13.8 Usermin for webmail again dovecot 1.0.0 # /etc/dovecot.conf protocols: pop3 logi

Re: [Dovecot] dovecot help

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 12:43 -0700, Andy Fadich wrote: > Everything is working great, besides a few glitches here and there. However, > When accessing mailboxes via webmail (usermin) an email shows up with a > subject of DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA. Do these messages have X-IM

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 12:38 PM, Timo Sirainen wrote: Home directory is used wherever you have ~/ or %h. Or in your case because you tried to use a relative mail_location path and Dovecot chdired to home dir. So, is it correct that mail_location is the rule, unless mail is set in user_attrs, in w

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 12:52 -0700, Mark Edwards wrote: > One thing that still puzzles me is why userdb has to be set at all. > In my case its totally unnecessary as far as I can tell, yet I get > errors if I don't set it or set it to nothing. I have it set to > return the home attribute rig

Re: [Dovecot] dovecot help

2007-06-28 Thread Andy Fadich
The message does have the X-IMAP Header intact.(X-IMAP: 1183060687 02) The email is hidden when using a pop3 client(doesn't download it), or telnetting an account and using the LIST command.The problem I am having is that within webmail (read mail module of usermin) it doesn't hide the

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 1:01 PM, Timo Sirainen wrote: On Thu, 2007-06-28 at 12:52 -0700, Mark Edwards wrote: One thing that still puzzles me is why userdb has to be set at all. In my case its totally unnecessary as far as I can tell, yet I get errors if I don't set it or set it to nothing. I have

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 23:12 +0300, Timo Sirainen wrote: > On 28.6.2007, at 23.10, Mark Edwards wrote: > > >> For v1.1 I'll add new global mail_uid and mail_gid settings. Then > >> if you > >> use them userdb won't be needed. > > > > I am using user_global_uid and user_global_gid, and so there is

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 23.10, Mark Edwards wrote: For v1.1 I'll add new global mail_uid and mail_gid settings. Then if you use them userdb won't be needed. I am using user_global_uid and user_global_gid, and so there is no reason for userdb to return uid and gid ini my case, in fact I have it

Re: [Dovecot] dovecot help

2007-06-28 Thread Timo Sirainen
On 28.6.2007, at 23.05, Andy Fadich wrote: The message does have the X-IMAP Header intact.(X-IMAP: 1183060687 02) The email is hidden when using a pop3 client(doesn't download it), or telnetting an account and using the LIST command.The problem I am having is that within webmail

Re: [Dovecot] lda and mail_location

2007-06-28 Thread Mark Edwards
On Jun 28, 2007, at 1:12 PM, Timo Sirainen wrote: On 28.6.2007, at 23.10, Mark Edwards wrote: For v1.1 I'll add new global mail_uid and mail_gid settings. Then if you use them userdb won't be needed. I am using user_global_uid and user_global_gid, and so there is no reason for userdb to

Re: [Dovecot] dovecot help

2007-06-28 Thread Andy Fadich
What do you mean "The same happens with UW-IMAP/POP3" Do you mean that internal data message is standard with both dovecot and ipop3d? Ill go look for some answers on webmins website also. Thanks for the help. Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Dovecot] dovecot help

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 15:27 -0700, Andy Fadich wrote: > What do you mean "The same happens with UW-IMAP/POP3" Do you mean that > internal data message is standard with both dovecot and ipop3d? Yes. signature.asc Description: This is a digitally signed message part

Re: [Dovecot] dovecot help

2007-06-28 Thread Scott Silva
Andy Fadich spake the following on 6/28/2007 3:27 PM: > What do you mean "The same happens with UW-IMAP/POP3" Do you mean that > internal data message is standard with both dovecot and ipop3d? > > Ill go look for some answers on webmins website also. Thanks for the help. > > Andy That is definit

Re: [Dovecot] dovecot help

2007-06-28 Thread Timo Sirainen
On Thu, 2007-06-28 at 15:49 -0700, Scott Silva wrote: > Andy Fadich spake the following on 6/28/2007 3:27 PM: > > What do you mean "The same happens with UW-IMAP/POP3" Do you mean that > > internal data message is standard with both dovecot and ipop3d? > > > > Ill go look for some answers on webm

[Dovecot] Monitoring Recomendations

2007-06-28 Thread Dehnert James Sr
I have a client that I have installed Dovecot 1.0.1 for is having some performance issues. Especially when using IMAP from various Outlook clients. I have TLS installed and all the IMAP connections are secured. I'm wondering is anyone has any recommendations for monitoring dovecot perfo