Is there a way to check what limitations a suse 10 server has on files? I admin a server for about 85 mail users and have spamassassin configured to write all caught spam to a file and not deliver. The other day all the spams were being tagged and delivered. I looked at the file and it was pretty large so I moved it and gzipped it. Spams started being delivered to the empty file again. The file was (~2.1gigs) in size. I don't believe I have quotas of any sort enabled. I'm just wondering where to start looking into why this happened. Rob
On Wednesday 20 September 2006 17:39, Rob Sell wrote:
Is there a way to check what limitations a suse 10 server has on files? I admin a server for about 85 mail users and have spamassassin ...
The limits on the number of and size of files are determined by the filesystem type. Some info about these limits can be found here: http://en.wikipedia.org/wiki/Comparison_of_file_systems -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts
Rob Sell wrote:
Is there a way to check what limitations a suse 10 server has on files? I admin a server for about 85 mail users and have spamassassin configured to write all caught spam to a file and not deliver. The other day all the spams were being tagged and delivered. I looked at the file and it was pretty large so I moved it and gzipped it. Spams started being delivered to the empty file again. The file was (~2.1gigs) in size. I don't believe I have quotas of any sort enabled. I'm just wondering where to start looking into why this happened.
Your server log should tell you why they were delivered instead of quarantined. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-09-20 at 17:47 +0200, Sandy Drobic wrote:
quotas of any sort enabled. I'm just wondering where to start looking into why this happened.
Your server log should tell you why they were delivered instead of quarantined.
Right. Something similar happens to me now and then. I use spam with procmail, and now and then procmail doesn't like the mailbox where spam is delivered, says there is a write error (it doesn't specify) and mail goes then to the current default folder. The solution is to delete or rename the bad folder, because trying to find which email is the one that breaks the folder is not so easy. Samples: +++----> 2006-09-05T01:11:17+0200 procmail: Error while writing to "/home/cer/Mail/in_spam" procmail: Truncated file to former size - From yellowgirlnc@ vaneurope .com Tue Sep 5 01:11:14 2006 <-- edited Subject: Re: About software Folder: /var/spool/mail/cer 6552 +++----> 2006-09-05T01:19:39+0200 procmail: Error while writing to "/home/cer/Mail/lists/suse-linux-e" procmail: Truncated file to former size - From suse-linux-e-return-281256-robin.listas=telefonica.net@suse.com Tue Sep 5 01:19:39 2006 Subject: [SLE] skype Folder: /home/cer/Mail/lists/in_dups 3594 A solution could perhaps be filter the whole folder through procmail till it barks. Not sure about it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFEXvAtTMYHG2NR9URAnH5AJ4yGAv2vqlGoXLOFO3l3/4X7j/oRwCcCjvP mPxQ0ucXQQj8o5zMkAoD7eo= =FWKx -----END PGP SIGNATURE-----
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Wednesday 2006-09-20 at 17:47 +0200, Sandy Drobic wrote:
quotas of any sort enabled. I'm just wondering where to start looking into why this happened. Your server log should tell you why they were delivered instead of quarantined.
Right.
Something similar happens to me now and then. I use spam with procmail, and now and then procmail doesn't like the mailbox where spam is delivered, says there is a write error (it doesn't specify) and mail goes then to the current default folder. The solution is to delete or rename the bad folder, because trying to find which email is the one that breaks the folder is not so easy.
This can happen if for example a null character is included within a message to make procmail barf. This could help in such a case: http://www.postfix.org/postconf.5.html#message_strip_characters (available in Postfix 2.3) Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-09-20 at 21:06 +0200, Sandy Drobic wrote:
This can happen if for example a null character is included within a message to make procmail barf. This could help in such a case:
http://www.postfix.org/postconf.5.html#message_strip_characters (available in Postfix 2.3)
Mmm! I'll try to keep that in mind the next time it happens, to see if the mbox contains a null. Do you know offhand of a program to find that out? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFEZSOtTMYHG2NR9URAlSzAJ4mzSGDIJltcJpLsyFTaOn32ILWcgCcDFPf QYwaVZpu5P9Vws+MGT72rOE= =e+JV -----END PGP SIGNATURE-----
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Wednesday 2006-09-20 at 21:06 +0200, Sandy Drobic wrote:
This can happen if for example a null character is included within a message to make procmail barf. This could help in such a case:
http://www.postfix.org/postconf.5.html#message_strip_characters (available in Postfix 2.3)
Mmm! I'll try to keep that in mind the next time it happens, to see if the mbox contains a null. Do you know offhand of a program to find that out?
Midnight Commander? Try [F3]View -> [F7]HexView -> Enter Search String: 00 Grep doesn't seem to like null characters. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
Sandy Drobic wrote:
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Wednesday 2006-09-20 at 21:06 +0200, Sandy Drobic wrote:
This can happen if for example a null character is included within a message to make procmail barf. This could help in such a case:
http://www.postfix.org/postconf.5.html#message_strip_characters (available in Postfix 2.3)
Mmm! I'll try to keep that in mind the next time it happens, to see if the mbox contains a null. Do you know offhand of a program to find that out?
Midnight Commander? Try [F3]View -> [F7]HexView -> Enter Search String: 00 Grep doesn't seem to like null characters.
Sandy
You can use grep if you pass it through od first. -- Geir A. Myrestrand
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-09-20 at 22:51 +0200, Sandy Drobic wrote:
Mmm! I'll try to keep that in mind the next time it happens, to see if the mbox contains a null. Do you know offhand of a program to find that out?
Midnight Commander? Try [F3]View -> [F7]HexView -> Enter Search String: 00 Grep doesn't seem to like null characters.
¡Fantastic! I can even edit it from inside mc. A wonderful program, I use it a lot, but it didn't occur to me. [...] But I can find no '00' in two saved folders I have... Either they are not broken, or it is not '00' the culprit. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFEqWJtTMYHG2NR9URApLEAJsFEOomO9AuTqEr7hoBLFXMI7eOzwCeJtrE F3fuPWkVo/VhdkEKP9OZP8Q= =bVnY -----END PGP SIGNATURE-----
Sandy Drobic wrote:
Rob Sell wrote:
Is there a way to check what limitations a suse 10 server has on files? I admin a server for about 85 mail users and have spamassassin configured to write all caught spam to a file and not deliver. The other day all the spams were being tagged and delivered. I looked at the file and it was pretty large so I moved it and gzipped it. Spams started being delivered to the empty file again. The file was (~2.1gigs) in size. I don't believe I have quotas of any sort enabled. I'm just wondering where to start looking into why this happened.
Your server log should tell you why they were delivered instead of quarantined.
Sandy I have you tried setting the ulimit?
-- Joseph Loo jloo@acm.org
participants (6)
-
Carlos E. R.
-
Geir A. Myrestrand
-
Joseph Loo
-
Rob Sell
-
Sandy Drobic
-
stephan beal