LMTP-proxy for balancing between backends. Have anyone?

2007-02-18 Thread Igor Zhbanov

Hello!

I need to redirect LMTP connections from Postfix to Cyrus IMAP backends
storing actual users mailboxes on a per-user basis. Ideally Postfix or some
LMTP-proxy will lookup to MySQL table to decide where to forward mail to. Do
you know any solutions? And can you share?

Thanks.

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Bipindas K




Hi All,
I had setup a squirrelmail/oldap server with autocreate patch. The
problem is when a valid user login,cyrus will not create 

its inbox automatically. But the createonpost is working successfully.
I am pasting my imapd.conf file below. 


--
autocreatequota: 1
createonpost: yes
autocreateinboxfolders: Inbox|Trash|Sent|Drafts
--

When a valid user login the squirrelmail showing following errors


(1).The following error show on left panel
---
Warning: substr_count(): Empty substring. in
/usr/share/squirrelmail/functions/imap_mailbox.php on line 394

Warning: substr_count(): Empty substring. in
/usr/share/squirrelmail/src/left_main.php on line 932




(2).The following error show on right panel
-
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Mailbox does not exist
-

Please tell me the missing thing.
Kindly help

BipinDas
-- 




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Moving mail into IMAP server and the Received date

2007-02-18 Thread RM

Hi,
I'm experimenting with setting up an IMAP server to use as a shared 
resource for our project team, to serve a history of mail involved with 
the project accumulated from a number of users over some years, 
including via newsgroup and regular mail and having been sent and 
received using various mail clients.  The accumulated mail is currently 
collected in a set of folders in my Mozilla Thunderbird mail local 
folders, and I want to move it all as-is into a secured IMAP server so 
that others can search, read and deposit mail there too.
I've been experimenting with cyrus and some other imap servers which 
also exhibit this problematic behaviour: when I move the mail from a 
local folder to an imap folder under cyrus, my adjacent 
Windows/OutlookXp mail reader sorts the mail by Received date, and the 
date registered as Received is the time/date that the copy operation 
is carried out (ie: now) rather than the date that the mail was actually 
originally received.
In Linux/Thunderbird (my primary mail reader) it uses the Sent date to 
sort the mail, which is fine, but Outlook thinks in terms of the 
Received date and that's going to be broken by the mail copy process.

Some questions:
Is Cyrus responsible for presenting that Received date, as the mail's 
pure text (view source) contains no reference to that date?
Is it possible to force Cyrus to *not* recreate that Received date; or 
perhaps to copy the Sent date to the Received date when mail arrives 
by copying from folder to folder, as opposed to when it is received via 
the common mail delivery mechanism?
Is it possible to run a script to reset all the Received dates for a 
given set of mail (by folder location) to match the Sent date per mail?

Thanks
Rob


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Simon Matter
 Hi All,
 I had setup a squirrelmail/oldap server with autocreate patch. The
 problem is when a valid user login,cyrus will not create

 its inbox automatically. But the createonpost is working successfully. I
 am pasting my imapd.conf file below.


 --
 autocreatequota: 1
 createonpost: yes

Remove the line below and try again. I don't think creating Inbox makes
sense, INBOX is a special folder and is always created, what you do is
creating a subfolder Inbox, like INBOX.Inbox.

 autocreateinboxfolders: Inbox|Trash|Sent|Drafts
 --

 When a valid user login the squirrelmail showing following errors

The problem I know with that configuration is that, at least when using
pam, openldap users are not case sensitiv. That's why I added a new module
to the pam stack which makes sure the user is lowercase. And in my case I
also set lmtp_downcase_rcpt: yes in imapd.conf to apply the same rule
from the MTA side.

Simon



 (1).The following error show on left panel
 ---
 Warning: substr_count(): Empty substring. in
 /usr/share/squirrelmail/functions/imap_mailbox.php on line 394

 Warning: substr_count(): Empty substring. in
 /usr/share/squirrelmail/src/left_main.php on line 932
 



 (2).The following error show on right panel
 -
 ERROR : Could not complete request.
 Query: SELECT INBOX
 Reason Given: Mailbox does not exist
 -

 Please tell me the missing thing.
 Kindly help

 BipinDas
 --
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Bipindas K




Simon Matter wrote:

  
Hi All,
I had setup a squirrelmail/oldap server with autocreate patch. The
problem is when a valid user login,cyrus will not create

its inbox automatically. But the createonpost is working successfully. I
am pasting my imapd.conf file below.


--
autocreatequota: 1
createonpost: yes

  
  
Remove the line below and try again. I don't think creating "Inbox" makes
sense, INBOX is a special folder and is always created, what you do is
creating a subfolder Inbox, like INBOX.Inbox.

  
  
autocreateinboxfolders: Inbox|Trash|Sent|Drafts
--

When a valid user login the squirrelmail showing following errors

  
  
The problem I know with that configuration is that, at least when using
pam, openldap users are not case sensitiv. That's why I added a new module
to the pam stack which makes sure the user is lowercase. And in my case I
also set "lmtp_downcase_rcpt: yes" in imapd.conf to apply the same rule
from the MTA side.

Simon

  
  

(1).The following error show on left panel
---
Warning: substr_count(): Empty substring. in
/usr/share/squirrelmail/functions/imap_mailbox.php on line 394

Warning: substr_count(): Empty substring. in
/usr/share/squirrelmail/src/left_main.php on line 932




(2).The following error show on right panel
-
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Mailbox does not exist
-

Please tell me the missing thing.
Kindly help

BipinDas
--

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

  
  

  

Hi simon,
I had triend again according to your instructions,but fails. The same
error throwing.

-- 




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Simon Matter
 Simon Matter wrote:
 Hi All,
 I had setup a squirrelmail/oldap server with autocreate patch. The
 problem is when a valid user login,cyrus will not create

 its inbox automatically. But the createonpost is working successfully.
 I
 am pasting my imapd.conf file below.


 --
 autocreatequota: 1
 createonpost: yes


 Remove the line below and try again. I don't think creating Inbox
 makes
 sense, INBOX is a special folder and is always created, what you do is
 creating a subfolder Inbox, like INBOX.Inbox.


 autocreateinboxfolders: Inbox|Trash|Sent|Drafts
 --

 When a valid user login the squirrelmail showing following errors


 The problem I know with that configuration is that, at least when using
 pam, openldap users are not case sensitiv. That's why I added a new
 module
 to the pam stack which makes sure the user is lowercase. And in my case
 I
 also set lmtp_downcase_rcpt: yes in imapd.conf to apply the same rule
 from the MTA side.

 Simon


 (1).The following error show on left panel
 ---
 Warning: substr_count(): Empty substring. in
 /usr/share/squirrelmail/functions/imap_mailbox.php on line 394

 Warning: substr_count(): Empty substring. in
 /usr/share/squirrelmail/src/left_main.php on line 932
 



 (2).The following error show on right panel
 -
 ERROR : Could not complete request.
 Query: SELECT INBOX
 Reason Given: Mailbox does not exist
 -

 Please tell me the missing thing.
 Kindly help

 BipinDas
 --
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




 Hi simon,
 I had triend again according to your instructions,but fails. The same
 error throwing.

So what is created on the server when you try to login or what do the logs
show?

Simon

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html