ssh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thumbsgallerypost
    Confirmed User
    • Dec 2002
    • 778

    #1

    ssh

    Is there a way to delete a crap load of mail when I run the 'mail' command on my server when logged in through SSH?
  • hoe_vender
    Confirmed User
    • Dec 2003
    • 2018

    #2
    what are you tring to do with this thread
    ICQ #286508534

    Comment

    • thumbsgallerypost
      Confirmed User
      • Dec 2002
      • 778

      #3
      Originally posted by hoe_vender
      what are you tring to do with this thread
      What do you mean?

      Comment

      • lurking
        Confirmed User
        • Jan 2004
        • 868

        #4
        delete them from /var/spool/mqueue.

        Comment

        • thumbsgallerypost
          Confirmed User
          • Dec 2002
          • 778

          #5
          Originally posted by lurking
          delete them from /var/spool/mqueue.
          How? I'm not that familiar with SSH.

          Comment

          • zagi
            Confirmed User
            • Jan 2004
            • 1238

            #6
            If anything it would be in /var/mail/username

            and additionally using the mail command you can do

            d 1 - 100000000000

            which would delete the 1st 100000000000 mails
            Managed US/NL Hosting [ [Reality Check Network ]
            Dell XEON Servers + 1/2/3 TB Packages ICQ: 4-930-562

            Comment

            • thumbsgallerypost
              Confirmed User
              • Dec 2002
              • 778

              #7
              Originally posted by zagi
              If anything it would be in /var/mail/username

              and additionally using the mail command you can do

              d 1 - 100000000000

              which would delete the 1st 100000000000 mails
              it didn't work I still have 30396 unread messages

              Comment

              • powerbubba
                Confirmed User
                • Jan 2004
                • 358

                #8
                it didn't work I still have 30396 unread messages
                oh, so that's what happened to my partner account request....
                GreatGirls.com
                [email protected]
                CrowsCrypt.com - Exclusive High Quality Goth
                www.crowscrypt.com

                Comment

                • chrisp420
                  Confirmed User
                  • Aug 2002
                  • 572

                  #9
                  mail -> then at the & prompt type:

                  d *
                  icq: 327189899

                  Comment

                  • Brujah
                    Beer Money Baron
                    • Jan 2001
                    • 22157

                    #10
                    or use something like mailwasher, or the bat. you can grab just the headers and you can delete them all at once while keeping the few that you may want.

                    Comment

                    Working...