Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an application that fields inbound mail from Postfix and processes it into a database. It also spools a copy into a log file in the user's home directory - the .forward file for the user that the mail comes in for is...
"| tee -a /home/weblink/mail.log | /usr/local/bin/weblink_mpa localhost"
The problem is that the mail.log file is hitting a limit at 50M (51200000 to be precise), and no more is added to it. Where is this limit set, and how do I change it?
This is Redhat AES 3 and postfix-2.0.16-14.RHEL3.
Thanks for listening!
Greg.
Linux version 2.4.21-27.0.1.ELsmp (bhcompile@bugs.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47)) #1 SMP Mon Dec 20 18:47:45 EST 2004
My advice would be, set this up for log rotation so the file doesn't even get that big in the first place. Trying to deal with files that large or even larger become useless to you at times, especially log files.
And what is this so-called application that spools the log file into the users home directory? I would think since your kernel and system have no file limits, it would be this application. Postfix as far as I know would not do this by default either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.