Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Procmail Delivery File Size Limitation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
godoffooz
n00b
n00b


Joined: 31 Jul 2003
Posts: 9
Location: Cambridge, MA

PostPosted: Thu Jan 15, 2004 9:03 pm    Post subject: Procmail Delivery File Size Limitation Reply with quote

I just noticed a strange behavior with procmail.

I use procmail and spamassassin to filter my mail and deliver spam mail to ~/mail/Spam so that I can double check spamassassin once in a while with pine to make sure that I don't miss anything important.

Today spam messages started getting delivered to my inbox. After a lot of messing around, I have decided that procmail is refusing to deliver mail to the Spam mbox file because it is too large. If I replace the file with a smaller file, or delete the file entirely, then everything works. Right now the Spam file is 51222790 bytes.

Is there some kind of 50 megabyte limit on the size of an mbox file that procmail will deliver to?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Jan 15, 2004 9:36 pm    Post subject: Reply with quote

No, there is a limit on the size of an mbox. Period.
You have to set/change this limit in your MTA config.
If you use Postfix then, yes, 50 MB is the default limit, you can change this by adding
Code:
mailbox_size_limit=

in your main.cf.
Back to top
View user's profile Send private message
godoffooz
n00b
n00b


Joined: 31 Jul 2003
Posts: 9
Location: Cambridge, MA

PostPosted: Thu Jan 15, 2004 9:46 pm    Post subject: Reply with quote

Thanks that worked well.

As a note, I needed to put the following into the main.cf file
Code:
mailbox_size_limit = 0

If I didn't put the 0 in there, then mail wasn't getting delivered at all.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Jan 16, 2004 1:59 am    Post subject: Reply with quote

Of course it would!
But the size limit is in bytes, so anything under 51200000... with a lot of zeroes would be less than the default ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum