[Dovecot] patch: allow proxy to lookup host by name

2010-03-11 Thread Martin F. Foster
This patch allows the dovecot proxy processes to lookup the destination host by name instead of IP address. Tested agains 1.2.10, expected to work against 1.2.11. The patch is pretty straightforward, it's making it work within the restrictions of the login process that's more interesting. I

Re: [Dovecot] Scalability plans: Abstract out filesystem and make it someone else's problem

2010-03-11 Thread Sebastian Färber
>b) Use threads, either via some library or implement yourself. Each thread of >course uses some extra memory. Also enabling >threads causes glibc to start >using a thread-safe version of malloc() (I think?), which slows things down >(unless that can be avoided, >maybe by using clone() directly

[Dovecot] Emails Disappearing -- Mystery

2010-03-11 Thread Mario Antonio
I got a case that I haven't been able to resolve. I hope somebody can give me some hints. One of our users is reporting emails disappearing in front of his eyes, (Right ... emails filters at the client side ) Server does not have global sieve filter enabled (no file present), even th

Re: [Dovecot] sieve fileinto rule (pigeonhole)

2010-03-11 Thread Stephan Bosch
Oliver Eales wrote: Hello, i discovered that when a sieve rule "fileinto drawer;" tries to deliver a mail into a non existent drawer, the drawer gets created. This is neat, but is there also a way to automatically subcribe to the created folder ? Yes, but not explicitly through some Sieve com

Re: [Dovecot] Sendmail / Dovecot Config

2010-03-11 Thread Dennis Guhl
On Thu, Mar 11, 2010 at 04:40:27PM +, John Moorhouse wrote: [..] > My only problem is that I have also configured send mail as best as I know > to listen on port 25 as an SMPT client but any emails sent to it to one of > the email addresses are saved by sendmail to /var/spool/mail/username an

[Dovecot] sieve fileinto rule (pigeonhole)

2010-03-11 Thread Oliver Eales
Hello, i discovered that when a sieve rule "fileinto drawer;" tries to deliver a mail into a non existent drawer, the drawer gets created. This is neat, but is there also a way to automatically subcribe to the created folder ? Regards, Oliver Eales

[Dovecot] Sendmail / Dovecot Config

2010-03-11 Thread John Moorhouse
I'm trying to set up dovecot on a Fedora box for about 5 users, I have a raid 5 array that is used for home folders etc mounted on /home, and I've created a directory /home/mail, which I have used a sym link to map /var/mail to. I've created folders for each of the users with relevant permissions a

Re: [Dovecot] IMAP proxy configuration

2010-03-11 Thread ben
No because I don't have local domains, I use proxy on public network to allow access to the real servers on the private LAN, but I think you have to use proxy_maybe and 127.0.0.1 for local domains: http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy We use the external IP of the local

Re: [Dovecot] IMAP proxy configuration

2010-03-11 Thread mail...@securitylabs.it
On 11/03/2010 17:14, Leonardo Rodrigues wrote: Em 11/03/2010 09:53, mail...@securitylabs.it escreveu: Just insert a column in the MySQL table with the host relative to the domain. This is my configuration on the proxy: password_query = SELECT users.clear AS password, domains.host, '%u*prox

Re: [Dovecot] IMAP proxy configuration

2010-03-11 Thread Leonardo Rodrigues
Em 11/03/2010 09:53, mail...@securitylabs.it escreveu: Just insert a column in the MySQL table with the host relative to the domain. This is my configuration on the proxy: password_query = SELECT users.clear AS password, domains.host, '%u*proxy' AS destuser, 'proxy' AS pass, 'Y' AS proxy FR

Re: [Dovecot] Scalability plans: Abstract out filesystem and make it someone else's problem

2010-03-11 Thread Ed W
On 10/03/2010 21:19, Timo Sirainen wrote: On 10.8.2009, at 20.01, Timo Sirainen wrote: (3.5. Implement async I/O filesystem backend.) You know what I found out today? Linux doesn't support async IO for regular buffered files. I had heard there were issues, but I thought it was mainl

Re: [Dovecot] IMAP proxy configuration

2010-03-11 Thread mail...@securitylabs.it
On 11/03/2010 13:27, Leonardo Rodrigues wrote: [cut] # Get the password password_query = select endereco as user, password, '/var/spool/mail/%u' as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as userdb_quota_rule, '

[Dovecot] IMAP proxy configuration

2010-03-11 Thread Leonardo Rodrigues
i know dovecot can act as IMAP and POP3 proxy . but i'm having a hard time configuring it. Actually i'm using a simple dovecot configuration with virtual users stored on MySQL. My dovecot-sql.conf is pretty simple: [r...@correio dovecot]# cat dovecot-sql.conf driver = mysql connec

[Dovecot] troubles with expire plugin

2010-03-11 Thread Denis Fateyev
Hello there, Now I'm using `expire` plugin and getting troubles with cronjob (from user `exim`): /usr/sbin/dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh Fatal: setgid(12(mail)) failed with euid=93(exim), gid=93(exim), egid=93(exim): Operation not permitted (This binary should probab

Re: [Dovecot] uid fetch/store always use the last uid when range is invalid

2010-03-11 Thread Timo Sirainen
On 11.3.2010, at 12.07, Jean-Baptiste Vignaud wrote: >>> l uid store 100:* +flags (\Seen \Deleted) >>> * 281 FETCH (UID 362 FLAGS (\Deleted \Seen)) >>> l OK Store completed. >> >> and exactly as required by RFC 3501. > > Thanks; i'll tell him :) > > It seems he has seen another server that

Re: [Dovecot] uid fetch/store always use the last uid when range is invalid

2010-03-11 Thread Jean-Baptiste Vignaud
On Thu, Mar 11, 2010 at 10:54 AM, Timo Sirainen wrote: >> one colleague found a strange behavior, that can be annoying : > .. >> and more annoying: >> >> l uid store 100:* +flags (\Seen \Deleted) >> * 281 FETCH (UID 362 FLAGS (\Deleted \Seen)) >> l OK Store completed. > > and exactly as requi

Re: [Dovecot] uid fetch/store always use the last uid when range is invalid

2010-03-11 Thread Timo Sirainen
On 11.3.2010, at 11.27, Jean-Baptiste Vignaud wrote: > one colleague found a strange behavior, that can be annoying : .. > and more annoying: > > l uid store 100:* +flags (\Seen \Deleted) > * 281 FETCH (UID 362 FLAGS (\Deleted \Seen)) > l OK Store completed. and exactly as required by RFC 35

[Dovecot] uid fetch/store always use the last uid when range is invalid

2010-03-11 Thread Jean-Baptiste Vignaud
hello all; one colleague found a strange behavior, that can be annoying : -bash-3.1$ telnet 0 143 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN AUTH=CRAM-MD5] Dovecot ready. l login login pass