ipurge doesnt work for mailbox pattern
Hi, I want to delete all older mails from my cyrus mailboxes If I run ipurge like ipurge -d 60 -f user then it works file But If I run ipurge with a pattern it fails ipurge -d 60 -f user/someuser I tried user/someuser or user.someuser etc ... doesnt help Thanks Ram Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Can I bypass authentication for connections from a host
Hi, We are running cyrus-imapd-2.2.3-8 on linux. I would like to run some maintenance script from a server. Can I configure cyrus to bypass authentication for connections from one IP We are using saslauthd with mysql based authentication Thanks Ram Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Is there a limit to number of mailboxes in cyrus
On Tue, 2005-09-06 at 19:14, Sebastian Hagedorn wrote: > Hi, > > --On 6. September 2005 18:14:27 +0530 Ramprasad A Padmanabhan > <[EMAIL PROTECTED]> wrote: > > > I have a cyrus server running linux RHEL3 with around 4000 mailboxes. > > we have about 30,000 users using the same OS, using the RPMs from > <http://www.invoca.ch/pub/packages/cyrus-imapd/>. 3 !! Is this on a single machine. Can you give some details about the hardware you use ? Thanks Ram Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Is there a limit to number of mailboxes in cyrus
Hi, I have a cyrus server running linux RHEL3 with around 4000 mailboxes. ( Single machine 2GB Ram dual-cpu with RAID ). Most of the users (90%) use pop to read their mails The problem is with frequent corruption of mailboxes. I have to reconstruct the mailboxes and then runs fine again. Is there some tuning I can do to my server or just that I cant add any more users now thanks Ram Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
duplicate elimination is inconsistent
Hi, I am using cyrus 2.2.3-8 on Fedora ( C 1 ) I find that duplicate elimination does not happen always. I feel If the MTA delivers two mails ( duplicate ) almost simultaneously to lmtp. Then lmtp is unable to catch duplicate messages. Anyone else having this problem THanks Ram Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: backend database ?
On Sun, 2004-02-08 at 23:21, Joakim Ryden wrote: on 02/08/2004 03:15 AM Michael Jonsson said the following: > For all the mail... Mail is not stored in any database. -- May not be now, But is there any reason mail cannot be stored in a database. Or a ldap directory. This thought occurred to me When I tried to integrate a web application with cyrus. A database will offer such a host of new possibilities Ramprasad NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Re: api to access cyrus header/index files
On Thu, 2004-01-22 at 19:14, Sergio Devojno Bruder wrote: Ramprasad A Padmanabhan wrote: > I am using cyrus mailboxes to store rss feeds users have subscribed > to. Now I am putting special headers in the mails for every feed which > are specific to my application. > > I want to do an optimum search on all mailboxes somewhat like > "select all mails from all mailboxes where header Xmyheader is myvalue" > > Is there a way I can do such a search without crashing my (already > loaded) imap server. > I was thinking if there was a way to directly access the cyrus.header > files from all mailboxes that can give me this result. Presently I am > using Mail::IMAPClient perl module to talk imap to the server > > Thanks > Ram Probably Cyrus inst caching your Xmyheader. Change Cyrus to cache|index your Xmyheader, this will allow your search without acessing every mail. Precisely, How do I do that. Is there a howto somewhere Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
api to access cyrus header/index files
I am using cyrus mailboxes to store rss feeds users have subscribed to. Now I am putting special headers in the mails for every feed which are specific to my application. I want to do an optimum search on all mailboxes somewhat like "select all mails from all mailboxes where header Xmyheader is myvalue" Is there a way I can do such a search without crashing my (already loaded) imap server. I was thinking if there was a way to directly access the cyrus.header files from all mailboxes that can give me this result. Presently I am using Mail::IMAPClient perl module to talk imap to the server Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Lmtp refusing connection all of a sudden
I have a cyrus 2.1.12 server running on redhat 7.2 with around 1500 users Now all of a sudden lmtp is refusing connections even though cyrus is running and the sock /var/imap/socket/lmtp is created Now How do I debug this error , Can I enable some loging somewhere I cant see anything in my messages file The users are able to login to the server using imap /POP but no new mails are delivered . Can someone please help me out. Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Re: Autodelete of old mails
> I am thinking of a hack in the ipurge source with another commandline > option > something like > ipurge -f -d 30 --skipuntil 'user/someuser' > > Is that feasible I don't know; sorry. Might it not be simpler overall, however, to give ipurge the ability to skip corrupt mailboxes and move on to the next one? Craig Ringer I am not very good at systems administration myself , I am basically a perl programmer. I looked at the source of ipurge.c , found it pretty straightforward to add a skipuntil flag On the contrary why it exits at a on finding a corrupt mailbox , I could not understand. Might be there is some exit() function call somewhere within the purge or expunge function. So now I have to flags added to my ipurge , skipuntil so that I skip all mailboxes until I find a name '>' than that name and one more flag stopat so that I skip all mailboxes after a particular mailbox So Now I can fork multiple ipurges as well as run it in a perl wrapper and check the output , If it exits for a particular mailbox , I log the mailbox name and restart ipurge to skip until and also the corrupt mailbox Now I have to reconstruct all the mailboxes listed as corrupt in my logfile Well seems got a way out , finally. I would appreciate any inputs Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Is Reiserfs better than ext3
Hello all, I am having around 2000 users on my cyrus server ( redhat 9.0 ) someone told be I should reformat my partition in Reiserfs rather that ext3 and I will get a great perlformance improvement Is that so Thanks Ram
Re: Autodelete of old mails
On Thu, 2004-01-08 at 17:26, Craig Ringer wrote: Ramprasad A Padmanabhan wrote: > I am trying ipurge out. > Seems a good idea, but does not work even if one mailbox is corrupt. A better question might be why you have corrupt mailboxes. I don't run a particularly large server, but I haven't run into mailbox corruption that hasn't been my fault (manually deleting a message when first learning about Cyrus). It seems odd for mailbox corruption to be a sufficiently common thing on your server that it makes a scheduled ipurge run impractical. Any idea what is causing the corruption? Craig Ringer A corrupt mailbox , usually means a messy administration I agree. But what happens if you get corrupt mailboxes because in the dead of the night the partition run out of disk space or because there is some one accessing using pop over a very slow link which breaks off every now and then Now the point is I have corrupt mailboxes , users arent complaining because they are not using ( mostly ) Now what do I do ? I am thinking of running ipurge as a pipe process in a perl script and catch the output. If it has quit anywhere in the middle reconstruct the mailbox and start again Now the point is How do I tell ipurge to start from where I left out. Running a different ipurge for every user is ruled out , that is too slow for my box. I am thinking of a hack in the ipurge source with another commandline option something like ipurge -f -d 30 --skipuntil 'user/someuser' Is that feasible Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Re: Autodelete of old mails
On Tue, 2003-12-30 at 12:44, Craig Ringer wrote: Ramprasad A Padmanabhan wrote: > I want to maintain my cyrus-imap server in such a way that all mails > older than 30 days will be deleted for all users > I have written a client code using perl Mail::IMAPClient. > But I was wondering if it was possible at the cyrus level. > the "popexpiretime:" in imapd.conf parameter is something like this , > But I dont think I can use it to actually delete older mails What about using the `ipurge` command? I nuke my users' trash mailboxes after 14 days with a simple command in the EVENTS section of cyrus.conf: purgetrashcmd="ipurge -d 14 -f user.%.Trash" at=0200 and it works well. Craig Ringer I am trying ipurge out. Seems a good idea, but does not work even if one mailbox is corrupt. I have around 2000 mailboxes on a redhat 7.3 machine but now whenever ipurge encounters the first corrupt mailbox it just exits Is there a way I can tell ipurge to continue on error after reporting the errors Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
ipurge simply exits in between
I want to delete all users mails older than 30 days on my cyrus imap server running on redhat linux 7.3 Thanks to members in this group , I found out I could do that with a utility called ipurge So I do a ipurge su - -c'/usr/cyrus/bin/ipurge -f -d 30 -s user' cyrus This program starts with some users mailboxes but simple exits at a particular mailbox The output is ... ... Working on [EMAIL PROTECTED]^blogstreet^com.Trash... There are no logs or error messages. Can I enable some debug to find out why this exits Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Autodelete of old mails
I want to maintain my cyrus-imap server in such a way that all mails older than 30 days will be deleted for all users I have written a client code using perl Mail::IMAPClient. But I was wondering if it was possible at the cyrus level. the "popexpiretime:" in imapd.conf parameter is something like this , But I dont think I can use it to actually delete older mails Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Quotawarn settings
Hi all , I want to use quotawarn to automatically intimate user and the admin that the user quota is above a particular %age of the quota I have put quotawarn: 90 in /etc/imapd.conf Now where Do I enter the text message ( if any ) that will go to the user Is there a way I can Cc: the warning also to the admin Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Cyrus +ldap howto
Is there a how to for using cyrus with cyrus sasl and ldap for passwords I already have got this working on my machine rehdhat linux 9.0 , But the problem is I am using it with plain text passwords in ldap. I want to encrypt them ( any encryption , SSA CRYPT etc ) . So what changes do I have do to ldap.conf and the ldap data Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Audit logs of mailbox access
Hello everyone One of my clients is using planning to use his own server , running cyrus+postfix or sendmail on linux. This imap server will be used by customers who will receive regular newsletters. One of the requirements is that whenever a customer reads / moves / deletes a mail the information should be logged for reporting purpose So is there a plugin into cyrus by which I can trigger an external program , with arguments like userid , message-id , etc whenever 1) A mail reaches a mailbox 2) The mail is marked read 3) The mail is marked deleted I know it seems to be too much of a requirement , But the purpose should be very obvious. With such a plugin I can find out which users are reading what newsletters. Has anyone done such a thing before Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
How to get last logged in time
How do I come to know when a user last logged on to the server using either a pop/Imap client Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ and FlexiMail: Messaging Solutions: http://netcore.co.in Pragatee: Integrated Server-Software Suite: http://www.pragatee.com Emergic Freedom: Server-centric Computing: http://www.emergic.com BlogStreet: Blog Profiles and RSS Ecosystem: http://blogstreet.com Deeshaa: Rural Development: http://www.deeshaa.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Return permanent failure on quota
I want to bounce back mails immediately if the mailbox quota is exceeded. Can I do this with just some parameter change Thanks Ram
Cyrus aggregator
I am sorry, for a question that looks a FAQ. I am looking for a scalable cyrus architecture that can support POP and maybe IMAP too. I came across this document http://asg.web.cmu.edu/cyrus/ag.html I am reading this yet but I am not able to understand the idea completely. Can I just install an aggregator on a machine and put it infront of my cyrus server ( running a pretty old version 2.0.14 ) Can I use it for talking pop to my other pop servers ( like qpopper ) If there is more documentation on all this, can someone send me links Thanks Ram
RE: Still can't get cyradm to work
On Thu, 2003-10-16 at 20:03, Doug Koobs wrote: Ram, I am somewhat familiar with using CPAN to install perl modules, so I used perl –MCPAN –e shell and ran the command cpan> install Cyrus::IMAP::Shell and here is what I got: Ok just try installing the perl cyrus rpm perl-Cyrus-IMAP-2.1.9-28
Re: Still can't get cyradm to work
On Thu, 2003-10-16 at 18:41, Doug Koobs wrote: Is there any way to re-compile and install cyradm without completely re-installing Cyrus? I still can’t get cyradm to work (no response, just drops me back to bash prompt when I try to run it). I used ‘less’ to look at the cyradm file, and it looks more like some kind of a man page than a perl script... Is this correct? It contains whole paragraphs of plain english that are not commented. I know next to nothing about programming, but this seems strange. Well It is a shell script not a perl script if I remember right. That is just a wrapper around perl module Cyrus::IMAP::Shell If you can install this module It should work If you are new to perl this might be some effort , Start from http://cpan.org Bye Ram
Re: script for creating folders into users mailboxes
On Thu, 2003-10-16 at 13:34, RJ45 wrote: Hello, I would like to create automatically a folder SPAM in every user mailbox. Is it possible to do that with a cyradm script ? Anyone did that already ? Anyone could point me to an already avaliable sript if such a thing does exist ? thank you Rick With just a little bit of perl , you could write a small program look at Cyrus::IMAP::Admin Bye Ram
Disable leave a copy in cyrus pop
Hello all, Is there a way I can disable leave a copy on the server. I have got some users who have kept a leave a copy on the server and now their mails are bouncing because of quota. Seeing how pop works I assume that it is quiet difficult to disable "leave a copy", Is there a way I can atleast find out how many users have kept "leave a copy" on Thanks Ram
Problems with pop access
I am using cyrus imapd 2.1.13 on redhat 9.0 with saslauthd and pam_ldap for authentication Most of my users are using pop access but sometimes the server just refuses connection, or accepts connection and delivers mail but does not delete mail from the server. I restart cyrus and things start working fine If such a thing happens How do I start cyrus in a debug mode so that I can see what is going wrong Thanks Ram
Can I use sieve scripts with procmail
I have been using lmtp and am considering using procmail instead Will sieve work with procmail as well Thanks Ram
Unable to delete big mails
Hello all, I am using cyrus-imapd-2.1.13 on redhat 9.0. Some users are using pop some imap ( total around 400 ). Everything runs fine. But sometimes( It has happened almost 4-5 times this week ) Some users are complaining that they are unable to purge mails. Almost always the mail is above 1Mb in size. I just login to the server and restart cyrus and things start moving fine. I just have made a cron entry to restart cyrus every night. But can anyone explain why would this happen Thanks Ram
Re: Login without a mailbox
On Wed, 2003-09-17 at 16:04, Richard Gilbert wrote: We use PAM and LDAP for authentication (pam_ldap from PADL). All our users are in the LDAP server but not all our users have mailboxes on the Cyrus IMAP server. Users without a Cyrus mailbox are still able to login via our Webmail service and are presented with an empty mailbox. How can I stop users without a mailbox being able to login successfully? We are running cyrus-imapd-2.1.14 and cyrus-sasl-2.1.14. I think the problem is not with cyrus itself. Are u using Horde-Imp for the webmail. It is do to with the setting on the webbased mail To verify you can use imtest on a non existing account Ram
Re: Sql based Spamassassin with sieve
On Mon, 2003-09-15 at 21:08, Darron Froese wrote: On Monday, September 15, 2003, at 09:38 AM, Ramprasad A Padmanabhan wrote: > So Does that mean That I have to use procmail and .procmailrc You have to use procmail to do it this way - but you don't have to use .procmailrc. You could put the spamc stuff in your /etc/procmailrc which is run every time procmail starts up. So you won't need extra .procmailrc files for each user. The only problem with this is that *everyone* will have their mail scanned by spamassassin this way. > But my problem is I dont the (Unix )users created on my imap server. > The users are simple LDAP accounts and cyrus Account > So there are no home areas and no procmailrc file I don't have local users either - all email authentication is done from a mysql database. -- darron froese principal nonfiction studios inc. t 403.686.8887 c 403.819.7887 f 403.313.9233 w http://nonfiction.ca/ e [EMAIL PROTECTED] Thanks for all the info. One more thing that I would like to know is If my sieve filters will still continue to work If I change my LDA to procmail I found sieve and duplelim as great features. I know I can do filtering with procmail too But again that will require every users' home directory Thanks Ram
Re: Sql based Spamassassin with sieve
On Mon, 2003-09-15 at 20:54, Darron Froese wrote: On Monday, September 15, 2003, at 01:53 AM, Joakim Ryden wrote: >>> How about this? >>> http://au2.spamassassin.org/full/2.5x/dist/sql/README >>> >>> works for me. >>> -- >>> darron froese >> I started from that page too. My actual problem is How Do I tell cyrus >> ( or sieve ) to run spamassassin with the user name to whom the mail >> is addressed > > As far as I have been able to understand you don't. You'll have to use > procmail (or maildrop or whatever is your preference) as your > LDA/intermediary ( IDA? :) - call SA from procmailrc the first thing > you > do and call deliver the last thing you do. But I may be missing > something. This is how I do it: Start spamd so it's listening on localhost: spamd -d -q -x -u cyrus In postfix/main.cf: mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" mailbox_transport = procmail In postfix/master.cf: procmail unix - n n - - pipe flags=Ru user=cyrus argv=/usr/bin/procmail -t -m USER=${user} EXTENSION=${extension} /etc/procmailrc Then in my procmail recipe it sends the email via spamc: DELIVERMAIL="/usr/lib/cyrus/deliver" IMAP="$DELIVERMAIL -e -a $USER -m user.$USER" SPAMIT="$DELIVERMAIL -e -a $USER -m user.$USER.spam" DROPPRIVS=yes :0fw | /usr/bin/spamc -f -u $USER :0 * ^X-Spam-Status: Yes | $SPAMIT # If it's got an extension - put it there. :0 w * EXTENSION ?? [EMAIL PROTECTED] | $IMAP.$EXTENSION # If there's no extension - put it in the INBOX. :0 w | $IMAP :0 w { EXITCODE=$? HOST } So Does that mean That I have to use procmail and .procmailrc But my problem is I dont the (Unix )users created on my imap server. The users are simple LDAP accounts and cyrus Account So there are no home areas and no procmailrc file That is why I Have to use cyrus with lmtp I was just wondering if it would be possible to do it in sieve Thanks Ram
Re: Sql based Spamassassin with sieve
On Fri, 2003-09-12 at 21:16, Darron Froese wrote: On Friday, September 12, 2003, at 03:11 AM, Ramprasad A Padmanabhan wrote: > Precisely. > But thats what I do not want. There are some people in my office who > themselves will decide what is spam and what is not > Now How Can I run a spamassassasin with individual settings > If there are 5 rcpts the SA must sperate instances run for all 5 of > them > Must be someway in sieve But I am not able to get one working How about this? http://au2.spamassassin.org/full/2.5x/dist/sql/README works for me. -- darron froese I started from that page too. My actual problem is How Do I tell cyrus ( or sieve ) to run spamassassin with the user name to whom the mail is addressed Ram
Re: Sql based Spamassassin with sieve
On Thu, 2003-09-11 at 05:53, Ted Cabeen wrote: > Ramprasad A Padmanabhan <[EMAIL PROTECTED]> writes: > > > I am using a gateway spamassassin with Mailscanner. The problem is every > > user would like his own individual preferences stored. > > > > So I was looking if there was a way I could use sieve to fork > > spamassassin per user with the user name and the prefernces stored in > > Mysql database. > > > > I found that some people have done this, But there doesnt seem to be > > much documentation > > We do it with amavisd-new before the mail reaches cyrus. It uses a > slightly different schema for the preferences than SA, but it works > well. Using amavisd-new for this also means that multi-recipient > messages are only run through SA once, regardless of the number of > recipients. Precisely. But thats what I do not want. There are some people in my office who themselves will decide what is spam and what is not Now How Can I run a spamassassasin with individual settings If there are 5 rcpts the SA must sperate instances run for all 5 of them Must be someway in sieve But I am not able to get one working Thanks Ram
Sql based Spamassassin with sieve
I am using cyrus on my mailserver ( Linux redhat 7.2). The users dont have any system accounts. I am using a gateway spamassassin with Mailscanner. The problem is every user would like his own individual preferences stored. So I was looking if there was a way I could use sieve to fork spamassassin per user with the user name and the prefernces stored in Mysql database. I found that some people have done this, But there doesnt seem to be much documentation Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Blog Profiles, RSS Ecosystem, Blog Tops, Search http://www.blogstreet.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Sieve forwarding to multiple-ids
How can I use sieve for forwarding to multiple email ids Thanks Ram
Re: Anyone migrating from lotus to cyrus
On Wed, 2003-07-16 at 12:28, Joakim Ryden wrote: En viss Ramprasad A Padmanabhan skrev: [...] > Great to hear that you too are using Mail::IMAPClient. Just a question > When I used the migrate function to migrate the folders ( from a WU-imap > server to a cyrus server ) I found that My script would sometimes just > hang. This would happen whenever the mails included some spechial > charachters and '\0' chars > So I did the laborius way of getting the mail list and copying all mails > one by one and timing out if a mail took too long. This way I also got > rid of the bug that would set an incorrect date on the destination > server. The date problem occurred only for Outlook Express clients. > BTW I am using Mail::IMAPClient ver 2.2.7 > > Now When I am trying to migrate from a lotus server I am having more > problems of mails timing out > Besides there is an excellent pascal script for IMAP copy at > http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html > But that too does not copy all mails > > I was looking if there was a utlility that could directly read the > ".nsf" files from a lotus server and convert to mails in cyrus > > Did you not face these problems at all, Can you just me mail me your > script If you dont mind. Check out this tool: http://www.jplanglois.com/products/imapcp/ I have used it for Exchange, cyrus, courier and whole bunch of other IMAP migrations. It has never given me any problems at all. --Jo But this does not work for lotus notes server 5.0.8 Strangely enough when I configure my outlook express client It is able to fetch the mails. So If the lotus server were not standards compliant then how does it work with outlook express Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Server Sizing for 50,000 mailboxes
Hello all, I have a basic question on sizing. How does one decide on the sizing Now My client wants a sizing for 50,000 mailboxes. Say I use Sendmail/Cyrus and expect 50 mails/s then What will be the server sizing? I have a three server architecture for 1 mailboxes one SMTP one IMAP and the third is a virus scanner and it runs fine So for 50,000 mailboxes will I require 5 x 3 = 15 servers Now that does not look sensible Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Unable to delete folders in shared mailbox
On Wed, 2003-07-16 at 21:10, Brett Thomson wrote: Hi there, I am rather new to cyrus and wasn't involved in the installation or configuration of the cyrus imap server and now have to look after it. So please forgive me if this is a stupid question or problem. For the company i work for, we have shared mailboxes such as [EMAIL PROTECTED] and info etc. I have set the permissions on the mailboxes for each department group to have full access to this mailbox. Everyone is able to login/subscribe to the imap mailboxes and read, delete and reply to emails but should anyone create a imap folder within this mailbox, no one not even the creator of the folder can delete it. I have tried giving each intervidual user who needs full access to the mailbox explict full rights to the mailbox with no luck. People are able to delete folders in their own personal mailboxes without a problem. I have looked everywhere and have not be able to workout or find information on where I have gone wrong. Does anyone know where i can find information on this problem or point me in the right direction for fixing it. Thanks for any help offered in advance Brett It seems just like a unix permission problem. In unix you can create/delete subfolders and files in a folder only if you have write permission to the parent folder. Similarly try giving delete access to the parent folder and then delete the folder Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: subscribing for a user
Phil Chambers wrote: I am still new to cyrus and trying to find my way. I have tries searching this list archive but could not find this issue. If I create a folder for a user using the Cyrus::IMAP::Admin perl module, is it possible to mark that folder as being one of the user's subscribed folders? While I am referring to Cyrus::IMAP, can anyone direct me to documentation on the perl modules? I have tried perldoc Cyrus::IMAP and get "No documentation found". Phil. --- Phil Chambers ([EMAIL PROTECTED]) University of Exeter Unfortunately I too faced this problem but could not get any easy solution What I ended up doing was , since I would know the passwd of the user I logged on as the user using Mail::IMAPCLient module and sucscribed to the folder perldoc Mail::IMAPClient NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Re: Anyone migrating from lotus to cyrus
On Tue, 2003-07-15 at 20:56, Mike Cathey wrote: On Tue, 2003-07-15 at 10:40, Ramprasad A Padmanabhan wrote: > Can Anyone give me any leads Set 'Debug => 1' in your source Mail::IMAPClient instance. What version of Mail::IMAPClient are you using? If you're not running the latest version from CPAN (2.2.8), I strongly suggest you do so. I just migrated a few (~4500) accounts with the module and found that the version in debian/stable was so old that the migrate() method wasn't even fully implemented in it. I had to grab the lastest version from CPAN. There was a bug (ID# 2455) in the migrate method in 2.2.7 that caused it to not copy the message flags to the destination IMAP server for messages smaller than $bufferSize. This appears to be fixed in 2.2.8. Cheers, Mike Great to hear that you too are using Mail::IMAPClient. Just a question When I used the migrate function to migrate the folders ( from a WU-imap server to a cyrus server ) I found that My script would sometimes just hang. This would happen whenever the mails included some spechial charachters and '\0' chars So I did the laborius way of getting the mail list and copying all mails one by one and timing out if a mail took too long. This way I also got rid of the bug that would set an incorrect date on the destination server. The date problem occurred only for Outlook Express clients. BTW I am using Mail::IMAPClient ver 2.2.7 Now When I am trying to migrate from a lotus server I am having more problems of mails timing out Besides there is an excellent pascal script for IMAP copy at http://home.arcor.de/armin.diehl/imapcopy/imapcopy.html But that too does not copy all mails I was looking if there was a utlility that could directly read the ".nsf" files from a lotus server and convert to mails in cyrus Did you not face these problems at all, Can you just me mail me your script If you dont mind. Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Anyone migrating from lotus to cyrus
Hello all, Is there any utility that can migrate mails from a lotus server with imap support to a cyrus server I have written a perl script using Mail::IMAPClient which copies mails from one server to another using imap protocol This script works fine with cyrus or WU imap servers but just hangs when I try it on a lotus server Can Anyone give me any leads Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: sa prior to lmtp delivery
On Tue, 2003-07-15 at 05:06, pnelson wrote: RH 9 cyrus 2.1.13 sasl 2.1.13 sendmail 8,12,8 spamassassin 2.44 Have been using sa on my clients (evolution) and then sending the INBOX inbound mail to a filter that runs spamc -e to check for spam. This works great. But I would like to move this to sendmail and then use sieve to filter spam to my INBOX/zjunk mailbox. The problem is I cant figure out how. How do you setup sendmail to first filter for spam and then send the email onto cyrus lmtp for delivery, where sieve pprocesses the email header for a spam line (or whatever sa does to the header). Anyone give me a clue, I'm kinda lost... and feeling like it can't be done. You can use sendmail with milter. You would find some opensource milter wit h SA What I use is MailScanner. The advantage is that I can do virus scanning,sa, blocking attachments etc Check this http://freshmeat.net/releases/124633/ Another option ofcourse is at the sieve level, I think supported in the latest cyrus release I havent tried it , but if it works fine let me know Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Recovering a corrupt mailboxes.db
On Mon, 2003-07-14 at 16:55, Ken Murchison wrote: Ramprasad A Padmanabhan wrote: > On Sun, 2003-07-13 at 20:09, Patrick Welche wrote: > >>/On Sat, Jul 12, 2003 at 06:03:54PM +0530, Ramprasad A Padmanabhan wrote: >>> Is it possible to reconstruct the mailboxes.db >>> >>> I know I can use ctl_mboxlist and a file with all the mailboxes but >>> there seems to be no utility that create this file from the mail spool >>> directory >> >>Have a look at /usr/cyrus/bin/reconstruct (!) >>/ >> > That Works only for files/mails within the inbox and not for mails in > sub folders Look at reconstruct -r -f No Sir I did that but of no avail Ultimately I had to dump the mailboxes.db and create the entries for the missing folders by hand( I mean by emacs ) And upgrade the mailboxes,db again with ctl_mboxlist This is a pain and I will sure hope it never happens again Or else I think I will write a simple perl script that will read all directories and create those entries in the mailboxes.db dump file Any comments Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Recovering a corrupt mailboxes.db
On Sun, 2003-07-13 at 20:09, Patrick Welche wrote: On Sat, Jul 12, 2003 at 06:03:54PM +0530, Ramprasad A Padmanabhan wrote: > Is it possible to reconstruct the mailboxes.db > > I know I can use ctl_mboxlist and a file with all the mailboxes but > there seems to be no utility that create this file from the mail spool > directory Have a look at /usr/cyrus/bin/reconstruct (!) That Works only for files/mails within the inbox and not for mails in sub folders Cheers, Patrick NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Recovering a corrupt mailboxes.db
Is it possible to reconstruct the mailboxes.db I know I can use ctl_mboxlist and a file with all the mailboxes but there seems to be no utility that create this file from the mail spool directory Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: login failed in cyradm
On Fri, 2003-07-11 at 18:17, Simon Matter wrote: Hi, Did you create the file /etc/sysconfig/saslauthd? You have to put 'MECH=pam' into the file and restart saslauthd, otherwise saslauthd on RedHat 9 will default to use shadow instead of pam. Obviously I did or else it would not work with imtest or telnet localhost 143 Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
login failed in cyradm
I just installed cyrus 2.1.13 on redhat 9.0 linux I am using saslauthd and backend pam ldap to authenticate After making the configuration in /etc/imapd.conf and /etc/ldap.conf and /etc/pamd I am able to login to the imap server by using raw telnet commands telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK mail2.netcore.co.in Cyrus IMAP4 v2.1.13 server ready a1 login cyrus mypassword a1 OK User logged in But when I use cyradm I get authentication failed. And in syslog an error like perl: no worthy mechs found then I changed the system password of cyrus to the same as the ldap one Now it works Meaning cyradm uses system-auth for authentication. my /etc/pam.d/imap looks like this auth sufficient /lib/security/pam_ldap.so account sufficient /lib/security/pam_ldap.so Can anyone help me understand why cyradm uses system-auth as the mechanism Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: API to write to lmtp directly
On Wed, 2003-07-09 at 13:13, mb wrote: At 11:52 +0530 Ramprasad A Padmanabhan wrote: >Is there an API available with which I can directly write to lmtp >instead of sending a mail Er.. LMTP? :) >I am presently using postfix and sending the mail, But I believe that >calling an smtp agent has its own overheads. >I am sending 10-15 messages to around 850 mailboxes every hour using >postfix and aliases. The problem is there are too many lmtp processes >and I get lmtp lock errors too often You're asking the wrong list! I believe that's really quite a small message load, and that postfix can talk LMTP over a unix socket directly. Are the lmtp processes "lmtpd" or "deliver" ? It is not that my server is getting loaded up because of the mails. After I limt the number of concurrent lmtp connections I am able to reduce the db lock errors to a great extent. Now I have set max lmtp processes as 100 , But what will happen if my user mailboxes grow to 4000 from todays 850 then the mails will be delayed forever. By the time there will be the next batch to process. So I thought if there was a way of directly writing to lmtp and to all mailboxes at the same time I will do better NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
API to write to lmtp directly
Is there an API available with which I can directly write to lmtp instead of sending a mail I am presently using postfix and sending the mail, But I believe that calling an smtp agent has its own overheads. I am sending 10-15 messages to around 850 mailboxes every hour using postfix and aliases. The problem is there are too many lmtp processes and I get lmtp lock errors too often -- Ramprasad A Padmanabhan <[EMAIL PROTECTED]> Netcore Solutions NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
FAQ How to change a userid
Is there a way I can change the user id I was searching the internet people have said I will have to create a new account and move the mails to the account That Seems quite laborious. When I am easily able to rename A subfolder of inbox ( using cyradm ) 'user/usarname/folder > user/username/newfolder' Then Why Cant I similarly rename 'user/username > user/newusername ' Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: LMTP won't deliver the mail
On Thu, 2003-06-26 at 09:45, Rob Tanner wrote: Hi, Intalled v2.1.13 on Solaris (sunos 5.7). Solved one problem only to have another pop up out of the blue a few hours later. LMTP simply stopped delivering. At one time I had over 700 lmtp processes running, but no mail was being delivered. No errors are logged. It just stopped working, seemingly out of the blue. I stopped and restarted the master process and stopped and restarted postfix. Nothing I did helped. Since this is a production system (the test system never gave me any problem, but then it never had any heavy load either), I ultmiately had to reconstruct the mail partitions and put the MessagingDirect server back in service. I really want to get the system over to Cyrus. Any ideas as to what was happening. Is there anything I might look for in the logs that might give me a clue (keeping in mind that no specific errors were reported)? If you havent got over it by now ( that would be too bad if that was a real live server ) do what I would normally do in such a situation. stop cyrus kill all lmtp processes ( You may still see them in `ps `) now remove deliver.db file .. might be in /var/imap/ start cyrus again keep fingers crossed Hope that helps Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Best way of putting a single file into multiple mailboxes
On Wed, 2003-06-25 at 21:48, Henrique de Moraes Holschuh wrote: On Wed, 25 Jun 2003, Ramprasad A Padmanabhan wrote: > I dont want to increase no of concurrent lmtp connection on the contrary > decrease them. I figured out the way of decreasing them But still the > results are no great I have postfix (2.0) delivering stuff here to up to 5000 users in a single lmtp session (AND as a single message, too. We use it for site-wide newsletters). You just need to make sure all the limits (such as recipient limit, per-transport limits, etc) agree. Postfix will open one lmtp connection to cyrus, and use that for all it can (that does mean to deliver a bunch of different mails to different recipients). It will open a new lmtp connection only if all the current ones are "busy" connections, AND you haven't told it not to (by limiting the number of lmtp transports in master.cf). It will tear down the lmtp connection only after it was idle for a while. I agree with you but my situation is a little different I must have explained my problem more clearly, I have got around only 10 recepients per newsletter on an average and there are around 700 such newsletters to be delivered. These are news articles people have subscribed to accourding to interests Suppose Now I increase the number of lmtp_concurrent connections and if multiple instances of ltmp are trying to deliver to the same mailbox then these mailboxes will get locked , so again There will be lmtp connections waiting. I havent tried out increasing the number of concurrent connections per user because I want to be sure before I change anything on the live server Thanks Ramprasad NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Best way of putting a single file into multiple mailboxes
On Wed, 2003-06-25 at 18:40, Rob Siemborski wrote: On Wed, 25 Jun 2003, Ramprasad A Padmanabhan wrote: > I am trying to deliver newsletters to multiple people who have accounts > on my own server. > I am sending it as mail to postfix and delivering to all mailboxes > The problem is there are so many lmtp connections that cyrus dies. > Especially When I have hundreds of such newsletters generated Postfix should have a configuration option to increase the max # of recipients involved in an LMTP transaction. I believe it is something like _destination_recipient_limit. I dont want to increase no of concurrent lmtp connection on the contrary decrease them. I figured out the way of decreasing them But still the results are no great The default is 1, which will result in pretty poor performance. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper -- Ramprasad A Padmanabhan <[EMAIL PROTECTED]> Netcore Solutions NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Best way of putting a single file into multiple mailboxes
I am trying to deliver newsletters to multiple people who have accounts on my own server. I am sending it as mail to postfix and delivering to all mailboxes The problem is there are so many lmtp connections that cyrus dies. Especially When I have hundreds of such newsletters generated The alternative I am thinking of is to use IMAP to copy these files If I have a super user account who has write access to all mailboxes Then I can write a script that will login as superuser and copy the message into all mailboxes Does anyone has any better Ideas ? Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
LMTPD error on NUL characters
Sometimes I get such Kind of errors, <[EMAIL PROTECTED]>: host /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 554 5.6.0 Message contains NUL characters (in reply to end of DATA command) Looked up on google ( I dont Know How will I survive without google) People have said run 'tr -d \\000' on the file before delivery But Only a small percentage of my mails give this error and it is not worth scanning all mails for NUL chars Is there a better way -- Ramprasad A Padmanabhan <[EMAIL PROTECTED]> Netcore Solutions NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Re: Cyrus takes long time to restart
Rob Siemborski wrote: On Sat, 21 Jun 2003, Ramprasad A Padmanabhan wrote: I am running cyrus 2.0.16 on redhat 7.2 linux There are 2000+ mailboxes on the server and almost everyone uses POP to download the mails The problem is whenever cyrus is restarted it takes too long to start almost 3 minutes. Is there some pruning that needs to be done with cyrus database. And since 95% of my users are using POP does that make any change to the configuration Yes, the recovery of the cyrusdb files still needs to be done. Depending on what backends you are using, you may be able to solve this by increasing checkpoint frequency or pruning the database more often. Can you show me where I can find docs to do so. I am using db files to store the backend. Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology: http://www.emergic.org
Cyrus takes long time to restart
I am running cyrus 2.0.16 on redhat 7.2 linux There are 2000+ mailboxes on the server and almost everyone uses POP to download the mails The problem is whenever cyrus is restarted it takes too long to start almost 3 minutes. Is there some pruning that needs to be done with cyrus database. And since 95% of my users are using POP does that make any change to the configuration Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org
Global sieve script
Hello all, This is my first post to the list and I am sorry If my question is an FAQ. I tried searching the archives of this list but it was a frustrating experience Is it possible to execute in sieve a global script that will be common for all mailboxes. The default script for that mailbox should be executed after this common script Thanks Ram NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134 MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP Fleximail: Mail Storage, Management and Relaying http://www.netcore.co.in Emergic Freedom: Linux-based Thin Client-Thick Server Computing http://www.emergic.com BlogStreet: Top Blogs, Neighborhoods, Search and Utilities http://www.blogstreet.com Rajesh Jain's Weblog on Technology:http://www.emergic.org