Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

block SRS senders

2016-09-03 by Marcus Schopen

Hi Emmanuel,

I get a lot of spam forwarded from an external server to my server. The 
used SRS return path e.g. looks like this:

   <srs0+uc/j=ux=mailer-service.de=postmaster@...>

To block the forwarding server udag.de in sendmail access is not an 
option, because ham is also forwarded. Sendmail's access file doesn't 
support regular expressions on "From:" filter and I don't see further 
options with sendmail. Is there a way to block those messages with 
milter-greylist using something like this:

-------
list "superspammer" from { \
  *=mailer-service.de=*@... \
}

racl blacklist list superspammer msg "Spam blocked" flushaddr
-------

I'm using milter-greylist 4.3.9-1 on Ubuntu 12.04 LTS, but could build 
backports to newer version if necessary.

Ciao
Marcus

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.