Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: Bud on May 12, 2016, 09:32:16 AM

Title: Single From Mail Message to Multiple Users
Post by: Bud 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  :)
Title: Re: Single From Mail Message to Multiple Users
Post by: Stefano 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)
Title: Re: Single From Mail Message to Multiple Users
Post by: Daniel B. 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)
Title: Re: Single From Mail Message to Multiple Users
Post by: Stefano on May 12, 2016, 10:12:38 AM
doh.. :-)

well.. having SOGo + sieve it's a trivial problem
Title: Re: Single From Mail Message to Multiple Users
Post by: Bud 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
Title: Re: Single From Mail Message to Multiple Users
Post by: Stefano 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