Hey folks,

I’ve noticed a few times now that when I’m receiving authentication codes or other emails I rely on somewhat fast delivery, that it’s not appearing in SoGo or via ActiveSync for quite a long time afterwards (sometimes hours). What I’ve noticed is that if I look in the rspamd UI I’ll find that the system has received them email almost instantly, but then after being grey listed it doesn’t appear in my inbox for quite a long time after that.

I’m not sure what would cause this but insights on the mail pipeline would be somewhat helpful too.

I will note that this does eventually sometimes end up in the junkmail despite being greylisted by rspamd

Maybe graylisting, try to log into rspamd UI a check for action “greylist”.

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    ETNyx yes it was a greylisted email… but it took a very long time (30m+) to go to my junk mail.

    Well in this case your sender do not know how to properly send emails. You can try to tweak greylist score threshold in rspamd. But be aware, it can effect number of spam you will receive.

    7 days later

    The issue isn’t that it goes into Junk mail, the issue is that it takes an inordinate amount of time to get there.

      It totally depends on the mailserver configuration of your counterpart… the Postfix default, for example, is to wait 300s and send it out again. But other mailservers may be configured differently and it takes much longer to resend the mail

      jaitaiwan Yes i understand. What I was saying is: By default Mailcow do not enforce greylisting in case of rspamd score lower than 7. This can be modified. docs.mailcow.email Icon Tweaks - mailcow: dockerized documentation

      Also possibility is disable greylisting docs.mailcow.email Icon Disable Greylisting - mailcow: dockerized documentation

      Or you can try to add this sender to whitelist (not sure if this help) docs.mailcow.email Icon Blacklist / Whitelist - mailcow: dockerized documentation

      Okay, can you help me to understand how that would improve the speed at which the email goes from being scanned by rap and to being in my junk mail box?

      Your current situation is:
      1) Someone send you mail
      2) Rspamd score email lets say 12
      3) Rspamd enforce greylist rule bc 12 > 7 (bigger than threshold) so Postfix return to sender soft error “try it again later after X sec” about 300 sec usually
      4) Usually sender wait some time and try to delivery once again because of soft error. How long it’s per sender
      5) Sender retry to delivery
      6) *Rspamd check if time passed, if yes 7) (if no back to 3))
      7) Delivery to Junk because score 12

      • Greylist check for combination IP,sender,recipient for example (read to end !) if it’s gmail it usually come from different IP so new combination back to 3) BUT gmail is pre-whitelisted so graylist is not trigged on gmails severs. So if sender use some kind of dynamic IP it’s possible you make 4,5,6,… rounds until combination check. It’s possible that this can take hours to pass grelist

      In case you change threshold to 13 it’s like this
      1) same
      2) same
      3) no greylist straight to Junk bc 12 !> 13 (lower than threshold)

      Hope this make it clear. But it’s for all mails, so you will not greylist spamers,…

        No one is typing