View previous topic :: View next topic |
Author |
Message |
godoffooz n00b
Joined: 31 Jul 2003 Posts: 9 Location: Cambridge, MA
|
Posted: Thu Jan 15, 2004 9:03 pm Post subject: Procmail Delivery File Size Limitation |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Jan 15, 2004 9:36 pm Post subject: |
|
|
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 |
|
|
godoffooz n00b
Joined: 31 Jul 2003 Posts: 9 Location: Cambridge, MA
|
Posted: Thu Jan 15, 2004 9:46 pm Post subject: |
|
|
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 |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Jan 16, 2004 1:59 am Post subject: |
|
|
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 |
|
|
|