Git Product home page Git Product logo

Comments (12)

liuch avatar liuch commented on May 27, 2024 2

Hi,
To me, all the email messages in the mailbox that do not content a correct DMARC report are either spam or failed DMARC reports. Spam, ideally, must not reach the mailbox. As for "done", it's easy to implement. As for the "other", I have no idea how to separate them from "failed." The message subject? Its attachment? The number of its attachments? In my opinion only the last one more or less guarantees the correct separation. Do you have any ideas?

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024 1

Believe it or not, I'm also a lazy person. But I don't move my email messages. This work is for a sieve script on my server, I only periodically update the rules. I like the unix way - each program should only do one job and do it well. It seems to me that sorting incoming mail messages is not my project's job. However, I promise to consider your suggestion.

from dmarc-srg.

Shnoulle avatar Shnoulle commented on May 27, 2024

Unsure on easy, but cool for sure :)

Only done and failed. Not dmarc must not be updated.

from dmarc-srg.

Shnoulle avatar Shnoulle commented on May 27, 2024

done only seems OK, or better : option in config ('moveto' => '') maybe ?

from dmarc-srg.

mayall avatar mayall commented on May 27, 2024

I'd see processing work like this:

if (processing was successful) move to done
elseif (the message appears to be a DMARC message but there was an error) move to failed
elseif (all the other messages) move to other

Ideally, I view this as a preference.

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

@Shnoulle I already thought about a similar option, because I came across a case where the creation of a subfolder in the folder where the dmarc reports are located is prohibited. As an option, either move it to another mailbox (folder), or mark it in some other way. Optionally, of course. It may be IMAP custom keywords if they are allowed on a server, but I'm not sure if php-imap library supports them, I should check it before.

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

@mayall The main problem is this phrase: "the message appears to be a DMARC message" :(

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

By the way, I'm just curious: what is the difference between messages in the done folder and messages marked as seen and not moved to the failed folder? Just to keep the mailbox clean?

from dmarc-srg.

mayall avatar mayall commented on May 27, 2024

I move anything with the phrase DMARC into the folder to be processed. I do it that way because I'm lazy. For example, the messages from this thread end up there. Basically, I want anything to do with DMARC to end up in that folder and the subfolders.

I understand that my needs may not be shared by others but it seems like the basic filtering idea would be useful for some and not hurt anything.

from dmarc-srg.

Shnoulle avatar Shnoulle commented on May 27, 2024

@Shnoulle I already thought about a similar option, because I came across a case where the creation of a subfolder in the folder where the dmarc reports are located is prohibited. As an option, either move it to another mailbox (folder), or mark it in some other way. Optionally, of course. It may be IMAP custom keywords if they are allowed on a server, but I'm not sure if php-imap library supports them, I should check it before.

osticket have some code for this. By default settings is set to INBOX.done

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

I've already implemented this feature and even more. Now I'm thinking about what to do with the mailbox cleaner: it's necessary to somehow take into account this variety of settings.

from dmarc-srg.

liuch avatar liuch commented on May 27, 2024

Done: 5e8614a. Could you check it out?

from dmarc-srg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.