1

Gmail filter: forward emails that arrive to Inbox to one email address, and emails that arrive to spam to another email address.

How can this be done?

I tried playing with filters with the conditions of in:spam and is:spam, but so far no success.

EDIT: these are the XML (exported) rules I am trying:

<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
    <title>Mail Filters</title>
    <id>REPLACED</id>
    <updated>2023-01-17T06:50:47Z</updated>
    <author>
        <name>REPLACED</name>
        <email>REPLACED</email>
    </author>
    <entry>
        <category term='filter'></category>
        <title>Mail Filter</title>
        <id>REPLACED</id>
        <updated>2023-01-17T06:50:47Z</updated>
        <content></content>
        <apps:property name='hasTheWord' value='deliveredto:[email protected]'/>
        <apps:property name='label' value='uniqueTag'/>
        <apps:property name='forwardTo' value='[email protected]'/>
        <apps:property name='sizeOperator' value='s_sl'/>
        <apps:property name='sizeUnit' value='s_smb'/>
    </entry>
    <entry>
        <category term='filter'></category>
        <title>Mail Filter</title>
        <id>REPLACED</id>
        <updated>2023-01-17T06:50:47Z</updated>
        <content></content>
        <apps:property name='doesNotHaveTheWord' value='label:uniqueTag'/>
        <apps:property name='label' value='spamTag'/>
        <apps:property name='forwardTo' value='[email protected]'/>
        <apps:property name='shouldNeverSpam' value='true'/>
        <apps:property name='sizeOperator' value='s_sl'/>
        <apps:property name='sizeUnit' value='s_smb'/>
    </entry>
</feed>
7
  • When you say "forward all mail", you mean a rule with: Has the Words deliveredto:[email protected] ?
    – Nathan B
    Jan 9, 2023 at 12:21
  • Well, doesn't work for me :( The emails in the spam folders stay in spam and are not forwarded..
    – Nathan B
    Jan 11, 2023 at 12:10
  • 1
    Thanks, yes, I am talking about new email arriving: I would like regular non-spam to be fowarded to [email protected] and email that is marked as spam to be forwarded to [email protected] - that's it. I edited the question with the XML as per your request. Thank you!
    – Nathan B
    Jan 17, 2023 at 6:57
  • 1
    Thank you so much for the assistance.
    – Nathan B
    Jan 18, 2023 at 16:07
  • 2
    Thank you. Just received an answer from Google that it is indeed impossible... :( Pitty.
    – Nathan B
    Jan 22, 2023 at 12:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.