Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

simple spam transaction filter rule - how should I code it?

Last post 11-27-2018, 15:14 by Anaglypta. 1 replies.
Sort Posts: Previous Next
  •  11-27-2018, 2:50

    • cncjerry is not online. Last active: 12-30-2018, 23:43 cncjerry
    • Not Ranked
    • Joined on 09-18-2016
    • Member
    • Points 140

    simple spam transaction filter rule - how should I code it?


    I get a lot of spam from fake TLDs like .info, .biz, .space, .null, .whatever (yes, that one as well). Over the years I've added rules in the transaction filtering file and have had great success this way. Every so often, they change their TLD and I have to add another but no big deal.  I only get a few if I catch it in time when they change the TLD and it might last a few months.

    Recently though, I started receiving emails from for example, but from a user named  I can't find a transaction filter that works on these emails as they are on the header of "mail from:".  I've not had a lot of success with global filtering for some reason.  This server supports only a few users and is running on a netbook so it doesn't have much horsepower.  Using the transaction filter along with Barracuda has worked great for year and seems to be pretty lightweight.

     So do I have to use global filtering or can I use transaction filtering in a different way?

    Thanks,  Great product and I really appreciate it.


  •  11-27-2018, 15:14

    • Anaglypta is not online. Last active: 29 May 2019, 12:03 Anaglypta
    • Top 500 Contributor
    • Joined on 09-30-2016
    • Luton, England
    • Member
    • Points 345

    Re: simple spam transaction filter rule - how should I code it?

    Hello Jerry,

    Transaction filtering supports the "M" command which checks the Mail From field of the header. I use commands like this to filter unwanted "From" domains

    M, "**", BS, "554 Sender MAGIX.NET is sending unsolicited email - connection dropped."

    For instance,

    Hope this helps


View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page