Re: [CentOS] Mail Question

2011-06-28 Thread Bo Lynch
On Mon, June 27, 2011 8:18 pm, Christopher Chan wrote:
 On Tuesday, June 28, 2011 03:01 AM, Bo Lynch wrote:

 /var/mail/farmer for user farmer. cannot open file: File too large


 self compiled postfix?
 ___

No self compiled postfixit appears to be something with the MDA. If I
tell postfix to use procmail it works just fine. However after doing some
reading I have heard some pretty good things about Dovecot LDA. So I'm
gonna try that I guess. What does postfix use as a default MDA? Any
recomendations on procmail vs Dovecot LDA? Thanks again for all your help

Bo


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-28 Thread Devin Reade
Bo Lynch bly...@ameliaschools.com wrote:

 Any
 recomendations on procmail vs Dovecot LDA? Thanks again for all your help

If you're running into problems due to the size of mailboxes, using
an MDA that does storage as one file per message is a good idea.
One excellent one that is also available on CentOS is the Cyrus IMAPd
(does POP too).  It's very robust and scalable.  When I changed over
years back, the difference in performance (and latency as seen by users)
was amazing.

Devin
-- 
If you're not part of the solution, you're part of the precipitate.
- Stephen Wright

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-28 Thread Christopher Chan
On Tuesday, June 28, 2011 07:54 PM, Bo Lynch wrote:
 On Mon, June 27, 2011 8:18 pm, Christopher Chan wrote:
 On Tuesday, June 28, 2011 03:01 AM, Bo Lynch wrote:

 /var/mail/farmer for user farmer. cannot open file: File too large


 self compiled postfix?
 ___

 No self compiled postfixit appears to be something with the MDA. If I
 tell postfix to use procmail it works just fine. However after doing some
 reading I have heard some pretty good things about Dovecot LDA. So I'm
 gonna try that I guess. What does postfix use as a default MDA? Any
 recomendations on procmail vs Dovecot LDA? Thanks again for all your help


Like devin suggested, change your mail store format to maildir and get a 
whole host of benefits over mbox. All filesystems in Centos 5 have 
indexed/hashed directories so you should not have problems with 
thousands of email in each mailbox.

As for your lda, choose whatever you can support. I don't know whether 
you have to generate filter recipes or not but take those into account 
if you do. I personally am using postfix and dovecot lda with sieve support.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-28 Thread Kai Schaetzl
Devin Reade wrote on Tue, 28 Jun 2011 07:06:20 -0600:

 One excellent one ... is ... Cyrus

Basically all of them can do it. As you may have noticed he obviously 
*wants* mbox format. If he would want to change to mailfolder format he 
doesn't have to change *any* of his software mix.
I, too, would recommend moving away from mbox format if he has such large 
boxes, though.

Kai


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-27 Thread Marian Marinov
On Monday 27 June 2011 21:25:42 Bo Lynch wrote:
 Hello everyone,
 
 Im having a issue that I just cant seem to figure out. We currently are
 running an email server Centos 5.6 Postfix/Dovecot with a squirrelmail
 frontend. I was setting up a testbed to do a migration to SoGo using
 LDAP/MYSQL/POSTFIX/Dovecot. I have everything up and functional but one
 thing is giving me an issue. The testbed box will not handle a users
 mailbox over 2gb. We are using mbox on the existing server with no issues
 at all. I have multiple users with inboxes over 2gb and and archive mbox
 file with over 50gb. I have check postfix and made sure that the
 mailbox_size_limit = 0
 Both are running i686 as returned by the arch command and both are Centos
 version 5.6.
 Any ideas would be greatly appreciated.

Did you checked the ulimits? Try adding:
  ulimit -f unlimited
to the postfix/dovecot init scripts.
Also if you are chrooting postfix or dovecot, check the limits in 
/etc/security/limits.conf.

Marian


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-27 Thread Bo Lynch
On Mon, June 27, 2011 2:32 pm, Marian Marinov wrote:
 On Monday 27 June 2011 21:25:42 Bo Lynch wrote:
 Hello everyone,

 Im having a issue that I just cant seem to figure out. We currently are
 running an email server Centos 5.6 Postfix/Dovecot with a squirrelmail
 frontend. I was setting up a testbed to do a migration to SoGo using
 LDAP/MYSQL/POSTFIX/Dovecot. I have everything up and functional but one
 thing is giving me an issue. The testbed box will not handle a users
 mailbox over 2gb. We are using mbox on the existing server with no
 issues
 at all. I have multiple users with inboxes over 2gb and and archive mbox
 file with over 50gb. I have check postfix and made sure that the
 mailbox_size_limit = 0
 Both are running i686 as returned by the arch command and both are
 Centos
 version 5.6.
 Any ideas would be greatly appreciated.

 Did you checked the ulimits? Try adding:
   ulimit -f unlimited
 to the postfix/dovecot init scripts.
 Also if you are chrooting postfix or dovecot, check the limits in
 /etc/security/limits.conf.

 Marian

Added the ulimts -f unlimited to both init scripts. Same issue. Also
checked the limits.conf file. Everything in it is rem out. Still having
the same issues. My log file states..
cannot update mailbox
/var/mail/farmer for user farmer. cannot open file: File too large


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-27 Thread Mário Barbosa
Bo Lynch wrote:
[...]
 frontend. I was setting up a testbed to do a migration to SoGo using
 LDAP/MYSQL/POSTFIX/Dovecot. 
[...]
 file with over 50gb. I have check postfix and made sure that the
 mailbox_size_limit = 0
   
[...]
  My log file states..
 cannot update mailbox
 /var/mail/farmer for user farmer. cannot open file: File too large
   

http://www.linuxquestions.org/questions/linux-networking-3/file-too-large-in-postfix-495988/#post2480213

IOW, check virtual_mailbox_limit also.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail Question

2011-06-27 Thread Christopher Chan
On Tuesday, June 28, 2011 03:01 AM, Bo Lynch wrote:

 /var/mail/farmer for user farmer. cannot open file: File too large


self compiled postfix?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos