Distribution groups

Discussion Room for the Synology MailStation Package

Distribution groups

Postby albertvandam » Sat Jan 30, 2010 7:17 pm

Hi everyone,

Is it possible to create distribution groups on the mailstation?

For example: Mail send to info@mydomain.com should be deliverd to user1@mydomain.com and user2@mydomain.com.

I know, this cant be done by means of the webinterface, but possibly in some config file?

Thanks in advance.
albertvandam
I'm New!
I'm New!
 
Posts: 4
Joined: Mon Nov 30, 2009 7:59 pm

Re: Distribution groups

Postby jahlives » Thu Feb 04, 2010 12:14 pm

Have a look into the postfix manual how to setup virtual users. Even though it should be possible with real users as well, I recommend the way with virtual users. After doing the setup just open the virtual file and set an entry like
Code: Select all
alert@mydomain.tld  foo@bar.tld bar@foo.tld

after that use postmap to bring the file into a format postfix can handle.
that way is suitable if you want to forward the emails to external users and if you do not want to create the account of alert locally on your system.
But if you already have a local user alert then you could also use the aliases file (/usr/syno/mailstation/etc/aliases)
Code: Select all
#internal delivery
alert: foo bar
#external delivery
alert: foo@bar.tld bar@foo.tld

don't forget to /usr/syno/mailstation/sbin/newaliases after every change you to in the aliases file
jahlives
Enlightened
Enlightened
 
Posts: 414
Joined: Thu Nov 29, 2007 10:01 am


Return to MailStation

Who is online

Users browsing this forum: No registered users and 3 guests