5 Replies Latest reply on May 23, 2006 9:25 AM by acoliver

    How to - block all sending Mail servers, but listed/allowed

    gohip

      I know this sounds strange, and I dont recall seing it during the setup, but...

      I would like to be able to block the sending of all emails, to our registered users, unless the sending mail servers @domain is on our list. Is there already an area for this? I had thought I saw it in M4, but now cannot find it.

      Thus user@mysite.com, or several users, can only receive email, if the senders domain name is in the list, such as admin@safeway.com

      Any ideas where to start?

      BTW, Andrew, I finally got the builds to comile with reflection, and all the funky numbering names, thanks, just had to follow the directions, of course, in your build instructions, though at time was having issue as other guy about listmemebers class

      Now to just get it to work with netbeans, netbeans wont let me import the project, as it says it does not conform to sun standards...tempermental piece that it is...

        • 1. Re: How to - block all sending Mail servers, but listed/allo
          acoliver

          Meaning:

          1. you do not wish authenticated users to be able to send mails except to local users
          or
          2. you do not wish authenticated users to be able to send emails except to local users AND an additional set of domains

          With #1 that is easy. With #2, you'll need a custom mail listener as our present behavior is to allow local users to send email to anyone they like. We would accept such a mail listener of course as a contribution.

          -Andy

          • 2. Re: How to - block all sending Mail servers, but listed/allo
            gohip

            basically, there will be no sending of email from users, except possibly an admin user, or support user

            if that doesnt work, then I could just have the mail listener send the email, manually, i.e. connect to another mail server, and send while in mail listener, this is more just for admin, performance, and possibly support instances

            This mail server is strictly for receiving emails from legitimate domains, to registered users

            it does not have POP enabled, in this instance, it is more of a Application server, in that there really is no user interaction

            not really talking looking up to see if there on blocked mail servers list, per se, but as stated, would like to add it to where only certain institutions can send email to users, institutions on a list, or in a dbase, etc.

            • 3. Re: How to - block all sending Mail servers, but listed/allo
              acoliver

              Okay so you need a custom mail listener for this. If you can make it generic (have it check a domain group) then we'd take it.

              • 4. Re: How to - block all sending Mail servers, but listed/allo
                gohip

                i gots to go to sleep...but

                isnt that higher up in the "food chain", couldnt I do it, when getting the "Message-From" or whatever header, or am I lost at exactly where the mail listener is in the food chain

                seems like the mail will still be received, but the message listener will either just toss it, based on the domain name, in dbase or keep it, and handle however

                have a good night man!

                • 5. Re: How to - block all sending Mail servers, but listed/allo
                  acoliver

                  It does happen after the mail has been received. It will be expunged though. If we moved processing up the chain it would have a greater overall cost. I still may offer such an interface, but it will be costly.