Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. filter outgoing email

filter outgoing email

Scheduled Pinned Locked Moved Support
email
5 Posts 2 Posters 888 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      J Offline
      jasonh
      wrote on last edited by girish
      #1

      I have looked but must be missing something. How can I create an outgoing filter for all emails in our domain.

      Eg I might want a filter for all outgoing emails from "@ourdomain.com" to "@importantcustomer.com" to send a copy to "internal-crm@ourdomain.com". That way if jim@ourdomain.com or sally@ourdomain.com sends an email to billy@importantcustomer.com then everyone on the list for internal-crm can see what the latest communications with the important customer are.

      (I have managed to set up a simple filter for eg jim@ourdomain.com to send a copy of anything incoming from the important customer to a different mailbox or list, but I can't seem to do this with outgoing emails.)

      Any suggestions?

      Thanks in advance!
      J.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @jasonh We don't have this feature for outgoing emails. I guess we need email rules for outbound mail which Cloudron currently does not have. There's only rules for inbound mails via sieve.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          Out of curiosity, have you done this with other email setups? If so, can you point me to what products implement this feature, so I can look into it further.

          J 1 Reply Last reply
          0
          • girishG girish

            Out of curiosity, have you done this with other email setups? If so, can you point me to what products implement this feature, so I can look into it further.

            J Offline
            J Offline
            jasonh
            wrote on last edited by
            #4

            @girish I gather one can do this through postfix configuration.

            I have to admit we haven't done this ourselves. It is one of the reasons we actually want to transition to something like Cloudron or poste.io or mailcow or similar so we can actually control such things.

            The email setup in Cloudron is really nice and so I think will take a lot less maintenance going forward.

            I gather that this can be done in postfix. Here are some relevant links:

            • http://www.postfix.org/FILTER_README.html
            • How to BCC all outgoing mail from one local mailbox to the other one in the same domain
            • https://stackoverflow.com/questions/755853/postfix-send-a-copy-of-every-email-to-a-given-email-address

            In the end we would also like to get this going with Mailman. The problem with just distribution lists is often I will want to send a message to someone and cc a distribution list and then if that person is on the distribution list they will receive it twice. Eg consider sending a message to jim@ourdomain.com cc: devops@ourdomain.com. Then jim will get the message twice. With Mailman we can stop this from happening and also have an archive of devops@ourdomain.com, etc.

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @jasonh Ah got it. It looks like adding sender_bcc/recipient_bcc is quite doable. Cloudron uses haraka internally and not postfix and this feature is not available out of the box. We will look into adding this. I will reach out to you by email to double check some of the finer details.

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search