The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

split/filter 1GB inbox

Discussion in 'General Discussion' started by hicom, Sep 2, 2006.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I've a 1GB INBOX file that need to be parsed by a PHP script (HiveMail) through POP account. But due to the huge size of the inbox file, the script is unable to run properly.

    Is there anyway to split or filter this file (mostly tagged by SpamAssassin) without corrupting it ? I've tried 'split' but it only splits by size or lines, which doesn't work right for emails.

    Or any method I can use to PIPE these emails to the script ?

    Any advises ?

    Thx,
     
Loading...

Share This Page