Jump to content


Photo

FAQ: POP'ing GMAIL spam


  • Please log in to reply
13 replies to this topic

#1 Jank1887

Jank1887

    Advanced Member

  • Membera
  • PipPipPip
  • 204 posts

Posted 05 August 2005 - 09:03 AM

Because of Gmail's setup (Label's, not folders, no real inbox, messages almost never deleted, etc.) and the fact that it doesn't "forward as attachment", reporting spam received at a Gmail account can be a bit of a nuisance. You can easily get the full headers, but only one at a time. These forums have given some methods for doing this, but it is still one-at-a-time if you go through the gmail interface. Fine for small quantities, but if you get more, an en'masse method would be preferable.

Gmail has enabled forwarding and POP access to the accounts. However, it will not download anything in the spam folder. So, here's how to POP download your spam, so that you can forward your spam en'masse to SpamCop using another more capable account.

1) Enable POP access in Gmail
  • From within your Gmail account, click on Settings.
  • Click on the "Forwarding and POP" heading.
  • Under "POP Download:", select one of the "Enable POP for..." settings
    (which you select is up to you. Just remember that it will download everything not in Trash or spam. That can be a lot the first time if you select the ALL option. After the first download, it always reverts to just downloading stuff since you're last download.
  • Make sure you have the "keep Gmail's copy in the Inbox" set.
  • Click the "Save Changes" button.
2) Set up POP access in your client
  • Configure your preferred account to download your Gmail mail via POP (link given with typical instructions on the Settings page, or HERE for convenience.)
  • I would recommend setting up a Gmailspam folder or something with appropriate filters.
3) Download your spam, First time
  • First, clear out your inbox. Move everything to Archive, Trash, spam, etc.
  • Download your gmail to your other account. Do with that mail whatever you want. (it could be a lot of mail if you selected the "All" setting above.
  • In Gmail, select all the spam you want to report, and select the "Not spam" button to move it back to the inbox.
  • Download your gmail mail again to the other account. Depending on your Gmail setting, all of the spam from your inbox may or may not be downloaded.
  • Select all of the spam in your inbox, and select the "Report spam" button to get it back out of your Inbox.
  • If you want, "Delete Forever" everything in spam.
  • Report at your leisure.
4) Future spam downloads
  • Clear out your inbox, as above.
  • Download your new non-spam gmail. Move it 'out of the way'.
  • Select everything in spam that you want to report, click "Not spam" to move it to the Inbox.
  • Download the spam
  • Move the spam back into spam via the "Report spam" button.
  • Report at your leisure.
Until Gmail allows direct access to spam via POP, or gives "multiple forward as attachment" capability, that's the convoluted process you'll need to POP your Gmail spam.

edit: typos/grammar

Edited by Jank1887, 05 August 2005 - 09:07 AM.


#2 Jeff G.

Jeff G.

    T-shirt wearing out

  • Membersph
  • PipPipPipPipPip
  • 3,730 posts

Posted 05 August 2005 - 10:21 AM

Thanks for the time and effort, Jank. I'm wondering, if you have Gmail set up to forward, will it still save the spam in its spam folder, will it forward the spam, or both? I haven't tried this yet.
Best Regards, Jeff G. (full signature)

#3 Jank1887

Jank1887

    Advanced Member

  • Membera
  • PipPipPip
  • 204 posts

Posted 05 August 2005 - 10:29 AM

don't know. I know you can't JUST forward spam. But I thought I read somewhere that it doesn't forward spam at all. If I find the link or reference, I'll post it.

edit: Got it. This Blog describes how one guy uses his Gmail account just as a spam filter. In it he mentions:

Once that forwarding rule is set on Gmail, all incoming mail to user[at]gmail.com will get spam filtered and anything left over will be forwarded to user[at]domain.com, with a copy left at Gmail.

So, really, Gmail does everything in it's power to prevent you from moving your spam off their servers in an efficient manner.

< conspiracy theory>My guess, it's the same as with Postini. The more spam you move to other handling options, the better those handling options can get (better filters, blocks, heuristics, etc.) As they possibly compete with Postini or Gmail, they limit this functionality so as not to indirectly reduce their own worth. < /conspiracy theory>

Edited by Jank1887, 05 August 2005 - 10:35 AM.


#4 Wazoo

Wazoo

    What Life?

  • Forum Admin
  • 13,195 posts

Posted 05 August 2005 - 11:20 AM

Wow! Interesting, well presented, the perfect solution for some. Thanks for all the effort. Quandary .... exactly where would one recommend placing this item? At present, it would appear that to (more or less) fit into the existing structure, it would slide into the block; Parsing & Reporting spam - decisions, problems How do I get my email program to reveal the full, unmodified email? -----> See also the tutorials in the How to use .... > SpamCop Reporting section How do I configure Mailhosts for SpamCop? -----> Mailhost System Configuration Explanation NEW! One version of a Step-by-step MailHost set-up but .... from that perspective, it seems like it would fall into the Tutorial section ..??? Ir's not really a "how to get full headers" item .... In this structure (recall, one Saturday morning bit of frenzy) .. I had only snagged the first, sometimes second level of the FAQ entries from the www.spamcop.net FAQ list. I'd added the "see the Tutorials" entry here to add in the data developed 'here' that isn't 'there' .. other applications, other servers, etc. There is/was a plan to convert this a bit closer to a web page . things like expanding line items, drop downs, etc. .... but still having some issues with the "custom HTM Lpage" modification I added ... ton loads of work, to say the least, and with all the changes seen in the upcoming 2.1 version of this app ....??? This query might be better split from here and added to the long FAQ Topic itself ..??

#5 Jank1887

Jank1887

    Advanced Member

  • Membera
  • PipPipPip
  • 204 posts

Posted 05 August 2005 - 11:43 AM

Quandry .... exactly where would one recommend placig this item?

 

You're the expert... I'll defer to your astute judgement ;)

#6 Wazoo

Wazoo

    What Life?

  • Forum Admin
  • 13,195 posts

Posted 05 August 2005 - 11:49 AM

I had added it to the top section .. not sure whether to simply call that an unsorted section or some general stuff ... so it "is" placed into the FAQ as a NEW! item .... it's just the next step/level/whatever that has me wandering around in my head <g>

#7 alanjshea

alanjshea

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 06 October 2006 - 10:24 AM

Because of Gmail's setup (Label's, not folders, no real inbox, messages almost never deleted, etc.) and the fact that it doesn't "forward as attachment", reporting spam received at a Gmail account can be a bit of a nuisance. You can easily get the full headers, but only one at a time. These forums have given some methods for doing this, but it is still one-at-a-time if you go through the gmail interface. Fine for small quantities, but if you get more, an en'masse method would be preferable.


Good suggestions. I have changed step 3 to make it even easier:

* Create a label (mine is "SpamSpam").
* Select all messages in spam, assign the label "SpamSpam".
* Click on "Not spam"
* POP your messages (messages in labels will be popped)
* Open the Label "SpamSpam"
* Select all messages
* Click on "Report spam"
* Open spam
* Click on "Permanently Delete all spam"
* Done!

#8 choicefresh

choicefresh

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 March 2007 - 05:07 PM

You can also:

1. Go to
http://www.freepops.org/en/
and install FreePOPs.
2. Make sure you put FreePOPs in your Startup folder so it is always running. It uses very little resources to leave it running.
3. Go to http://www.freepops....hp?plugin=gmail and read about the Gmail.lua plugin.
4. Download this plugin and make sure it is in the FreePOPs Program Files directory with all the other ".lua" files. It may already be there.
5. Set up a separate "Gmail spam" account in Thunderbird. Under "Server Settings", make sure that you:
A. Set the "Server Name" to "localhost" only.
B. Set the "Port" to "2000".
C. Set "User Name" to "your_acct[at]gmail.com?folder=spam" where "your_acct" is your Gmail account name. It is critical that you do NOT capitalize any of the letters in the "User Name" field.
D. For "Use secure connection", you MUST make sure the "Never" is selected.
6. You will be asked for your password the first time you connect and have the option to have Thunderbird save the password for future connections.

Taken from http://www.castlecop...59435-0-15.html, SB06794's post.

[edit - plugin link fixed]

Edited by Farelf, 11 August 2007 - 01:52 AM.


#9 Fuhrmanator

Fuhrmanator

    Member

  • Members
  • PipPip
  • 15 posts

Posted 10 August 2007 - 03:25 PM

Snipped a mega cool method to download Gmail spam for reporting via email forwarding with Thunderbird...

Awesome!!! This is a HUGE time saver. :D

Thanks for posting it here!

FYI, the URL that points to the Gmail plug-in is invalid on the Freepops site, and should be: http://www.freepops....hp?plugin=gmail (the text of the URL is right, but the BBCode is not). One reason I dislike BBcode forums :(

Edited by Fuhrmanator, 10 August 2007 - 03:28 PM.


#10 Fuhrmanator

Fuhrmanator

    Member

  • Members
  • PipPip
  • 15 posts

Posted 10 August 2007 - 03:42 PM

Awesome!!! This is a HUGE time saver. :D

Hold the bus!

I downloaded all of my spam, which was over 1000 messages, most of which are older than 48 hours and can't be reported anyway (which makes that move stupid)... At message number 928, I got a timeout on the POP connection.

When I tried to check my email via Gmail normally, I got the following message:

Account Lockdown: Unusual Activity Detected



This account has been locked down due to unusual account activity. It may take up to 24 hours for you to regain access.

Unusual account activity includes, but is not limited to:

1. Receiving, deleting, or downloading large amounts of mail via POP in a short period of time.
2. Sending a large number of undeliverable messages (messages that bounce back).
3. Using file-sharing or file-storage software, browser extensions, or third party software that automatically logs in to your account.
4. Leaving multiple instances of your Gmail account open.
5. Browser-related issues. Please note that if you find your browser continually reloading while attempting to access your Inbox, it’s probably a browser issue, and it may be necessary to clear your browser’s cache and cookies.

If you feel that you have been using your Gmail account according to the Gmail Terms of Use, you can troubleshoot your problem by clicking here.

Prolly it's cos I downloaded so many messages... Ima wait 24 hours and see what happens.

The lesson in all of this is to not download so many messages :(

#11 kamaraju

kamaraju

    Member

  • Members
  • PipPip
  • 76 posts

Posted 11 August 2007 - 09:07 AM

FWIW, I have been using the python scripts (
http://www.submanifo...on/gknujon.html ) to automatically report spam from my gmail account to both spamcop and knujon. I have been using it on my Linux machine for a while with good results.

#12 andrewRump

andrewRump

    Member

  • Members
  • PipPip
  • 14 posts

Posted 30 September 2007 - 04:27 AM

I downloaded all of my spam, which was over 1000 messages, most of which are older than 48 hours and can't be reported anyway (which makes that move stupid)... At message number 928, I got a timeout on the POP connection.

Prepend your GMail address with recent: and you will only download the last 30 days of messages.
Ref: https://mail.google....mp;answer=47948

Andrew

#13 andrewRump

andrewRump

    Member

  • Members
  • PipPip
  • 14 posts

Posted 25 October 2007 - 07:45 AM

GMail is currently rolling out IMAP Access!!! :D :lol: B)

#14 ahoier

ahoier

    Member

  • Members
  • PipPip
  • 20 posts

Posted 27 December 2007 - 07:54 PM

GMail is currently rolling out IMAP Access!!! :D :lol: B)

Indeed they are ;)

And from the webpage that referenced at http://forum.spamcop...amp;#entry58407

The Submanifold scri_pt(s) now use Gmail's IMAP feature to grab only "spam" messages, and batch send them to SpamCop (and Knujon, optionally).

Thus far, it's working great, been using it about a month or two now without any errors.

The only restriction I think may be that IMAP is currently only rolled out for English (US) gmail.com users...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users