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
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

How to Block ALL non-local user external emails from system

Last post 09-15-2008, 16:45 by Thomas R. Stephenson. 2 replies.
Sort Posts: Previous Next
  •  09-15-2008, 7:24

    How to Block ALL non-local user external emails from system

    We have a gaming clan that has members worldwide. We want to have the ability to email freely between all members registered with the server from anywhere in the world but only from their clan email address. We want no outside email to be relayed to any member even if its from a members alt account such as Hotmail etc. I tried using the strict relay restriction, the SMTP Auth restriction and everything still gets through. I know there has to be a way to block all emails that are not legitimate users on the server I just can't find it. I have gone through the help files, and pounded through almost 70 pages of forums postings but can't seem to find the right answer to this. I get things that look promising but then the posting are for something entirely different then what I expected to see from the headers. Please Help

    System INFO

    W2K Server

    Xammp 1.6.6a

    Mercury Ver 4.62

    Registered Domain Name YES

    All MX Records up and working correctly YES

    All incoming and outgoing emails work fine using 25 w/alt 587 & 110

  •  09-15-2008, 7:40

    Re: How to Block ALL non-local user external emails from system

    Mercury is designed to accept all valid mail addressed to valid local users, as that is what a mail server should do.

    In your special case you could use an SMTP transaction filter (Config - MercS - Compliance)

     

    This line added to "Transflt.mer" should work (not tested YMMV)

    M, "*@yourdomain*", B-N, "554 Private Server - Go Away!"
     

    Means - check MAIL FROM command, for "match string", and (B) issue an error response then drop the connection immediately -  (N) for NON-MATCHING transactions, "error response string"

     

     

  •  09-15-2008, 16:45

    Re: How to Block ALL non-local user external emails from system

    We have a gaming clan that has members worldwide. We want to have the ability to email freely between all members registered with the server from anywhere in the world but only from their clan email address.

    Another idea.  Put all of the valid addresses in a distribution list and then use a scan list filter to only accept mail from the email addresses on the list. The filter would look like the following rule.  In this case is the address is not in the dist. list friends'pml is gets moved to a spam user mail directory.  I use this with another rule to block mail to a mailing list.

    If not ListScan "@c:\\pmail\\mail\\thomas\\friends.pml" Move "@s:\\pmail\\mail\\spamscan"

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
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