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
    2 Posts
    150 Views
    girishG
    This for reporting, this is fixed now. I have set the sieve_script_bin_path.
  • 1 Votes
    12 Posts
    584 Views
    N
    Thanks @girish! I've applied the commit (mail 4.5.0) and restarted box: only the mail container was recreated, everything else stayed up. I replayed the exact message that crashed last night's run (5.6 MB). It is no longer picked by findMailFiles(), and even when fed directly with the new spamcLearn() arguments, spamc exits with 98, it's handled as "skipped" and the process stays up. Over the last 3 days, 242 messages above 500 KB are now excluded. The sieve bin_path and default_vsz_limit = 2G changes are working too. I'll confirm "learning done" after tonight's run.
  • 3 Votes
    1 Posts
    156 Views
    No one has replied
  • Spam Training not working

    Solved Support email spam
    9
    2 Votes
    9 Posts
    2k Views
    jamesJ
    Hello @sponch sorry for the very late reply. @sponch said in Spam Training not working: Shouldn’t that happen as soon as I put mails into the spam folder manually ? Yes and No. See: https://docs.cloudron.io/email#marking-spam The filter activates after training on 50 spam and 50 ham messages.
  • Is my spam filter working?

    Solved Support spam email spamassassin
    4
    1 Votes
    4 Posts
    2k Views
    nebulonN
    You should see a summary in the email header just after the X-Spam-Status one, which explains how it came to this (ham) score. This should looks something like this, with different scores of course: X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no * trust * [87.253.236.95 listed in list.dnswl.org] * 0.0 HTML_MESSAGE BODY: HTML included in message
  • Spam as a Boolean value for filtering

    Feature Requests mail spam spamassassin
    3
    2 Votes
    3 Posts
    2k Views
    d19dotcaD
    @james Yes it’s technically a feature request. I only threw it in here since it seemed like Girish was already making adjustments to the filtering in the mail event log viewer. If you’re okay forking it to a feature request, that’s totally fine.
  • Spam Filter/DNSBL not working

    Solved Support spam spamassassin
    5
    1
    1 Votes
    5 Posts
    2k Views
    jdaviescoatesJ
    there are also some posts from @d19dotca a while back about fine tuning spam rules
  • Does the spam filter really work?

    Solved Support mail spam
    9
    0 Votes
    9 Posts
    4k Views
    necrevistonnezrN
    @timbo I have practically zero spam with the rules mentioned in my post and abusix DSNBL (https://abusix.com/) - the free tier is sufficient. Do you have catch-all enabled?
  • 1 Votes
    1 Posts
    630 Views
    No one has replied
  • MXtoolbox

    Discuss mxtoolbox ip address email spam blacklist
    5
    0 Votes
    5 Posts
    9k Views
    L
    @necrevistonnezr said in MXtoolbox: Which site? Sorry, I forgot to include the link. I have updated the post now. mxtoolbox
  • 2 Votes
    16 Posts
    7k Views
    girishG
    @d19dotca right, the 30d one seems to be 54975 size. I have increased the size of the ipset now to 262144 elements. If these things are growing more, we can look into making this size dynamic .
  • Some emails going to spam

    Solved Support mail spam
    9
    1
    3 Votes
    9 Posts
    5k Views
    C
    @THI_Staff Apologies for a late response on this. I haven't used this yet. I was grandfathered on some free monitoring elsewhere. That being said, some of the delivery reports tell you servers that attempted to send email on your behalf. That has helped me resolve some delivery issues where others were sending legitimate emails, but using one of our email addresses instead of theirs. That tripped a DMARC fail. I would start their service without and then see if you want more.
  • Further Locking Down Email

    Solved Support mail spam
    20
    0 Votes
    20 Posts
    10k Views
    girishG
    @MisterJD yeah, I have seen that some kernels have an upper limit. I haven't found a way to query this limit to show a proper error.
  • SCAMMING

    Solved Support forum spam
    9
    1 Votes
    9 Posts
    5k Views
    girishG
    Generally, we are able to manage posts which have spam content. Most existing users, they are quite benign. I think we are lucky so far with that we do little to no moderation (maybe only fixing some typos and moving to the right category) In this specific case, the issue was the profile page had spam content. This is a bit more elaborate and I am not sure how @SPRADEEP even came across it. I think if we have a script to clean up profiles which are over 2 weeks old and have not posted anything and have some junk profile, we can delete them. I can't imagine it's hard to spot junk in profiles with some basic word matching.
  • Sorbs Blocklist

    Solved Support email spam
    5
    1 Votes
    5 Posts
    3k Views
    LanhildL
    @girish Cloudron shows IP as present on Sorbs dnsbl blocklist, even though it isn't. [image: 2024-02-21_17-52-31.png] [image: 2024-02-21_17-53-31.png] Turns out I was too impatient, checks all green now.
  • "Spam" messages forwarding correctly via Forwarding sieve rule?

    Solved Support mail sieve spam
    10
    0 Votes
    10 Posts
    5k Views
    girishG
    Good notes to follow up when we look into email in the next release. IIRC, whitelist setting is a bit dangerous because it allows "spoofed" emails as it pretty much bypasses all the SPF/DMARC/DKIM checks. Meaning, Cloudron does not reject mail if those checks do not pass because there are too many misconfigured mail servers out there. Instead we tag the failures and allow spamassassin to score the rules. whitelisting makes spamassassin bypass the checks altogether.
  • Spam Filtering - Block List Not Working

    Support spam email
    7
    0 Votes
    7 Posts
    4k Views
    humptyH
    @d19dotca Sadly, they do match. I'm guessing it's something with my current setup that's acting funny. I'll ignore it for now since I plan on migrating either to the new Contabo server that I got or upgrading my current one at DO to Ubuntu 20.04. I just thought it was a wrong setting on my part. Thank you for looking into this and for sharing the custom spam rules! I know you've put a lot of time into that [image: 2443c4d7-ec13-4149-add3-28e1e7ad48ed-image.png]
  • Mailserver does not deliver to certain email addresses

    Solved Support spam mail
    11
    0 Votes
    11 Posts
    6k Views
    A
    I end this thread because I now have a more specific one going.
  • 1 Votes
    11 Posts
    5k Views
    necrevistonnezrN
    @girish said in Anyone else see many connections denied due to "Mail from domain <domain> is not allowed from your host" repeatedly from spammy IPs?: @necrevistonnezr Ah, sorry! I misread. In my case, the sender is just spamming the hell out of me for video content. Sender is not trying to spoof. I guess you have to block by IP in the network firewall. Yeah, well, those IPs are never the same (see above) and even ranges are difficult to ascertain. Maybe an easy way to subscribe to a blocklist would help? (as suggested in my old topic linked above…)
  • Sharing custom SpamAssassin Rules

    Discuss mail spam
    94
    10 Votes
    94 Posts
    46k Views
    marcusquinnM
    @humptydumpty got it. done - will see how that goes. Thanks both.