Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I'm being spammed a lot lately from *@*.in domains I know how to create a filter so I can auto delete those messages. But I need a search that only searches in the mail address.

for example if i use from:*.in I do get all the *@*.in emails but I also get emails where the sender name contains in.

How do I exclude the sender name from the search? Or search only in the email address?

share|improve this question
add comment

2 Answers

This is a result of Gmail ignoring periods (".") in email addresses, a function. You may need to build a filter targeting all the email addresses from whom you receive the offending messages:

from:spam@linked.in OR spam@registry.in OR ...

A pain, I know, but given Google is unlikely to change how the period is interpreted, it may be your only option.

share|improve this answer
    
yeah if it only was that easy :( they are using a different domain name for every email they send. so adding them to a spam list doesn't help. –  FLY Jun 20 '12 at 8:03
1  
Sorry! Your best option may just be to use the 'Report Spam' button in Gmail and let it learn that you hate all '.in' domains. –  JadoJodo Jun 20 '12 at 12:18
    
No worries :) I'm already doing that just hoped there was a better solution. I would give you a +1 for trying but my rep on this site is still 1 so I can't upvote yet –  FLY Jun 20 '12 at 13:36
add comment

For a filter, I used the following:

from:(host.com OR email@otherhost.com)

I hope that helps shed a light. I know it took me a while to figure out that Google was using their same search operators in Gmail.

share|improve this answer
    
As explained in the comments of the answer of JadoJodo the domain names differ so it won't be possible to put in every host name. I just need a wildcard for the domain name. –  FLY Sep 30 '13 at 7:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.