LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   postfix spool problem (https://www.linuxquestions.org/questions/linux-software-2/postfix-spool-problem-109587/)

wedgeworth 10-28-2003 02:08 PM

postfix spool problem
 
under /usr/var/spool/mail there is the file that is full. i need an editor that will let me know the first and last entry in the file. and i need someway to know how to start purging the file. i believe that the new stuff is being lost (aka not removing older entries) and not added to the file. i need a way to clean the file up so that newer entries won't be continued to be lost.

wedgeworth 10-29-2003 11:53 AM

for the moment, i've just deleted everything in the bounced folder...therefor it is starting to recieve hits again. however, it will fill up rather quickly and shut down again. what is the best way to allow the file to delete the older hits and keep the newer ones....? fifo design.....

wedgeworth 10-30-2003 11:48 AM

.

wedgeworth 10-30-2003 11:50 AM

what's the best way to just completely cut out x amount of lines out of a file. can i use the cut command to delete from line x down, or can i do a redirect so many lines back onto itself...or something. sorry still trying to figure out what all you can do with the cut command. thanks for any help....


All times are GMT -5. The time now is 02:04 AM.