Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • 3 Votes
    10 Posts
    3k Views
    d19dotcaD
    @girish - this is not possible to do unfortunately in Cloudron it seems, but kindly tell me if I'm doing something wrong here. The redirect works for filtering out spam, in other words only non-spam messages get through to the endpoint email using a filter like this: # rule:[Forward non-spam messages] if allof (not header :contains "x-spam-status" "Yes,") { redirect "<externalEmailAddress>"; } However, all messages marked as spam still save in the mailbox regardless of any filters I set to discard them. In my case, I want the spam messages to be discarded/deleted automatically as there's no sense in them remaining in the "forwarding only" mailbox. It seems maybe there's a priority filter going on elsewhere in Cloudron that's overriding my sieve filter? Using a filter like this: # rule:[Discard spam messages on arrival] if allof (header :contains "x-spam-status" "Yes,") { discard; stop; } ... will still save the email in the Spam folder. I've tried variations of it too but no-dice. Basically I can't get any filters to work when it's an identified spam message, only filters when it's NOT spam. Here's a way to reproduce it: Set this filter in Roundcube: # rule:[Discard spam messages on arrival] if allof (header :contains "x-spam-status" "Yes,") { discard; stop; } Send a message to the email account using the GTUBE string which SpamAssassin automatically marks with 1000 points, it's basically a test for spam filters: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X See if the message is really discarded per the sieve filter or if it's still arriving in the Spam folder. In my cases, they still arrive in the Spam folder which seems to be incorrect behaviour. Edit: I wrote a dedicated bug for this instead: https://forum.cloudron.io/topic/5189/can-t-discard-spam-messages-on-arrival-using-sieve-filters/1
  • E-mail is not configured properly

    Solved Support mail blacklist spam relay
    8
    0 Votes
    8 Posts
    3k Views
    danielreyes61D
    Nevermind, I did not realize sendgrid setup was only for sending email, I see the other parts to setup for receiving email now. Please disregard.
  • Spamhaus blocking nanoleaf emails (they use sendgrid)?

    Solved Support mail spam
    7
    1
    1 Votes
    7 Posts
    2k Views
    ?
    @girish Will do
  • On all Cloudrons email>domains RED!

    Support email spam blacklist
    9
    1
    2 Votes
    9 Posts
    3k Views
    jimcavoliJ
    I really like the blackllist checking being built-in. Frankly, I'd also be a fan of getting notifications about it. I suppose UX-wise, perhaps this is the appropriate sort of thing to trigger a yellow status on email.
  • Completely discard spam messages

    Solved Support email spam
    11
    0 Votes
    11 Posts
    3k Views
    P
    @girish Ok
  • Cloudron Mailserver mail sent to spam in Gmail

    Discuss email spam
    19
    2 Votes
    19 Posts
    6k Views
    P
    @marcusquinn Thank's Marcus, I'll follow your advice to check the reputation BEFORE, and if reputation is poor, just delete and purchase new one. Should be interesting that ISP's do themself this control and tell BEFORE the IP reputation.
  • Outbound spam filtering for forwarded mail

    Feature Requests spam email
    2
    1 Votes
    2 Posts
    824 Views
    marcusquinnM
    Personally, I'm migrating away from GMail, and wouldn't recommend it, although I appreciate it's difficult to cut those ties for some. Another possible solution: would be to forward to any other email service that does support POP3 but doesn't have spam filtering. That way, you're not sending email to GMail, it's pulling and filtering. Appreciate that a 3 mailserver setup is odd though, but then so is GMail. I think it's worth just having a POP3 post in Feature Requests though, purely as a way to allow for any other 3rd party email someone wanted to do this with. I can see privacy advantages in POP3 as well, if one didn't want emails stored on their Cloudron and just locally. I wouldn't like to see POP3 ignored as without advantage, when if privacy is a concern, that could be a legitimate use-case.
  • Reading a cloudron mailbox using GMail

    Solved Support gmail mail spam
    19
    0 Votes
    19 Posts
    5k Views
    E
    added a Feature Request for #2 -- please upvote https://forum.cloudron.io/topic/5027/pop3-gmail-polling-support
  • What is the intention of /home/yellowtent/boxdata/mail/spamd ?

    Solved Support spamassassin spam
    34
    0 Votes
    34 Posts
    10k Views
    d19dotcaD
    @girish Yes I definitely do use mailing lists, sorry I thought I noted that before. Many (though I don’t think all) of the email directories that are unexpectedly found in this directory are from mailing list addresses. In other words they are on the recipient list of a mailing list. So it’s as if the mailing list feature is creating these too, but it doesn’t make sense of course to have one on the forwarding addresses. The mailing list email I could see and understand I guess since it’s still trying to identify spam to not forward, but I don’t get why it’s adding the destination addresses in as if they’re mailboxes that it can learn from. I can’t reproduce on-demand that I’ve seen so far but just giving it time for a day or two and they’ll start to appear. I guess sending an email to the mailing list would trigger it, I can try that too next time I’m at my computer again.
  • Spam filter doesn't always learn

    Support email spam
    12
    1 Votes
    12 Posts
    3k Views
    nebulonN
    I also had some pretty annoying spam, which just wouldn't get marked as spam, despite marking the very same mail previously as spam more than once. In my case tweaking the bayes filter worked very well, but your milage may vary (a lot of spam for me is in German) You can set custom spam assassin rules https://docs.cloudron.io/email/#custom-spam-filtering-rules and there the bayes values like this: score BAYES_999 2.0 score BAYES_99 4.5 But these values may probably have to be adjusted to your case, so I wouldn't bump up the weights too much to avoid marking ham as spam too often. I hope we can improve on that in the future as having to tweak such rules manually is really not a good strategy.
  • Disable spam filtering

    Solved Support mail spam
    7
    1 Votes
    7 Posts
    2k Views
    girishG
    OK, with @NCKNE 's help we got this figured out. Cloudron has a anti-spoof check where we don't allow external servers to send email with FROM address set to any incoming domain. In this case, a backup MX is relaying email to Cloudron and it is correctly detected as spoof-ed email. The workaround is to simply whitelist the MX's IP in the SPF record. With this Cloudron has the "authorization" that the server is allowed to relay such email and accepts the mail. I have added a section in our doc here - https://cloudron.io/documentation/email/#alternate-mx
  • 4 Votes
    12 Posts
    4k Views
    W
    @iamthefij Well the you can make it so you're not discoverable unless you message the person. Thats pretty anonymous
  • 1 Votes
    2 Posts
    940 Views
    girishG
    @d19dotca Currently, there is no way. The SA settings are set in stone. I can open up our mail addon git repo tomorrow so you can get a better idea of how we have implemented it. But overall, our idea was that customers don't have to deal with implementation details like SA (for example, maybe we use rspamd later) and that spam detection should just work. If you have SA expertise, I am happy to incorporate your suggestions into the default settings.
  • [Feature Request] rspamd for spam filtering?

    Discuss mail spam
    8
    3 Votes
    8 Posts
    3k Views
    d19dotcaD
    @girish I just wanted to add another reason why we need better spam control exposed to admins... I just had a client who had their home IP address blacklisted by Spamhaus in their PBL because of the range of IP it was found in, even though they were not spamming at all (since the PBL blocks IP ranges). I have asked for it to be delisted but it'd be awesome if in the future I could just whitelist the IP address or something like that to quickly resolve it for them. Update: Just found https://cloudron.io/documentation/email/#blacklist-domains-and-ips which is for blacklisting but I extrapolated from that and found the related whitelist files too, so used that. This needs to be added to the docs. I will see if I can submit that change in the git for you guys. With that said though, it'd still be nice to see this exposed in the UI so if an admin is on the road / unable to SSH to the server, it can be easily whitelisted still.
  • How does spam work with special mail folders?

    Solved Support email mac ios spam junk
    20
    1 Votes
    20 Posts
    5k Views
    girishG
    @necrevistonnezr said in How does spam work with special mail folders?: @girish Wouldn't it make sense to create hardlinks instead of symlinks for these folders so that you don't have duplicate folders? Ar am I overlooking something? The cloudron backup logic does not understand hardlinks. It would then end up taking backup of your junk folder twice. This is unlike symlinks which is ignored by the backup code. Neither the symlink nor the contents of a symlink are backed up. This does bring up an important point that if you move your mail server to a different server, you have to remember to create this symlink by hand again!