Koozali.org: home of the SME Server

Single From Mail Message to Multiple Users

Offline Bud

  • *
  • 487
  • +0/-0
Single From Mail Message to Multiple Users
« on: May 12, 2016, 09:32:16 AM »
guys please help

i have searched for an answer but cannot seem to find what i am looking for

using sme 9.1

i have a user on sme 9.1 server that receives a message from a client ie: " noreply@client.com " to " user@smeserver.org "

i need a copy of the same message " noreply@client.com " to also be sent to multiple users on the sme server.

how do i do this? mailsorting? usermanager?

any help greatly appreciated  :)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Single From Mail Message to Multiple Users
« Reply #1 on: May 12, 2016, 10:03:08 AM »
if "user" is not a real user but a pseudonymn, remove it, create a group named "user" and you're done

otherwise, edit user's profile and choose "both delivery local and forward" and use a group address (group@yourdomain.tld)  as recipient for forwarding (group must exist)

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Single From Mail Message to Multiple Users
« Reply #2 on: May 12, 2016, 10:07:46 AM »
I guess the OP want this only for a specific sender, not for every email to user@smeserver.org. In which case, there are several solutions, but the cleanest one would be to write a small qpsmtpd plugin (based on the bcc one)
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Single From Mail Message to Multiple Users
« Reply #3 on: May 12, 2016, 10:12:38 AM »
doh.. :-)

well.. having SOGo + sieve it's a trivial problem

Offline Bud

  • *
  • 487
  • +0/-0
Re: Single From Mail Message to Multiple Users
« Reply #4 on: May 12, 2016, 10:17:34 AM »
Daniel B.

Your Answer " I guess the OP want this only for a specific sender, not for every email to user@smeserver.org. In which case, there are several solutions, but the cleanest one would be to write a small qpsmtpd plugin (based on the bcc one) "

that is exactly what i need to do.

it is a single mail message from " noreply@client.com " that i need to send a copy to multiple users on the sme 9.1 server. This message is received once a month to a single user on the sme 9.1 server however i need that same message to be sent to multiple users on the sme 9.1 server.

any ideas what i can do

thank you for support
« Last Edit: May 12, 2016, 10:19:24 AM by Bud »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Single From Mail Message to Multiple Users
« Reply #5 on: May 12, 2016, 10:29:03 AM »
you'd install SOGo (http://wiki.contribs.org/Sogo) and enable sieve (https://wiki.contribs.org/Sogo#Sieve_integration_.28SME_9.29)

then you can create for any user as many rules you want/need/wish using the web interface.. you don't need to use SOGo as your mail client

I'm not sure but if you use Thunderbird as your client there'd be some plugins to interact directly with sieve.. Dani (hopefully) will tell you more