Does anyone know here if there's a way to have Gmail add a header onto email 
marked as Spam?

Right now I am using procmail with fetchmail and mutt, and I want procmail to 
send all stuff marked as spam into a spam-mailbox on mutt (easy to do, I know 
how to do this if there's a header).

Problem is, there's no way to know what Gmail tags as spam (as far as I know). 
I added their filters: "Matches: to:(@) - Do this: Never send it to Spam" on 
their web clientt (all my mailing list replies kept getting sent to my spambox 
on Gmail for some reason), but now I basically would get rid of the sole reason 
why I use gmail if I use this filter: their anti-spam is the best except for my 
lists getting marked off. (No offense, but most other anti-spam lists don't 
work as good as Gmail; I have only once had a legit email sent to me marked as 
spam by Gmail, and only sometimes my lists get sent there)

If I have the spam go to the normal spam-box on Gmail, fetchmail doesn't grab 
it (and if it did, I don't want all of it mixed up in my normal mail). I want 
to send all the (possible ham) into a spam mailbox to read on mutt. I don't get 
enough spam (and I hope this remains true!) that weeding through a seperate box 
daily for ham would annoy me. It does, however, annoy me when all the spam is 
in my main inbox.

.procmailrc contents:
># Environment variable assignments
>PATH=/bin:/usr/bin:/usr/local/bin
>VERBOSE=off                   # Turn on for verbose log
>MAILDIR=$HOME/Mail            # Where Procmail recipes deliver
>LOGFILE=$HOME/.procmaillog    # Keep a log for troubleshooting.
>
># gmail spam box (does not work, there is no header for this (yet?)); this is 
>just an experemental rule to show that this is what I would use if gmail 
>supported it
>:0
>* ^X-Gmail-Spam: True
>gmailspam/
>
>:0
>inbox/

.fetchmailrc:
>set daemon 300
>poll pop.gmail.com                   # Tell fetchmail about server
>with proto POP3                      # Use the POP-protocol       
>user 'mygmailusername'               # Your Gmail Username            
>there with password 'mypasswordhere' # Your Gmail Password  
>is 'localusr' here                   # Local Username                    
>mda "/usr/bin/procmail -d %T"        # Tell fetchmail which MDA to use   
>options                              # Options duh                             
>         
>keep                                 # Keep the mail on server = safe
>ssl                                  # Use ssl
>sslcertck                            # Check the certificates
>sslcertpath /etc/ssl/certs           # Path to the certificates


Thanks in advance for any help / suggestions.
--
Harry.

Reply via email to