Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jptechnical on May 20, 2010, 10:59:38 PM

Title: Aliases and forwarding email accounts, how to nest forwarded accounts
Post by: jptechnical on May 20, 2010, 10:59:38 PM
I have a client that is a large construction company, with a pretty elaborate structure. They are looking to move to a dedicated server email system. They use forwarders (aliases) extensively, we will be looking on the order of 50 accounts and 100 forwarders. Most email addresses will simply forward to a personal email address. Each department will have a department head and assistant, the department email must forward to the head and his assistant. There will be projects where an alias must be setup, which will include as many as 30 mailboxes, personal forwarders and department forwarders. Below is a tree structure of sorts, to demonstrate. I can't figure out the best way to do this with SME, or if it is even supported.

Below is a little sample of the structure. (http://lh4.ggpht.com/_L5lFNuE4kDY/S_Wj7hzk2jI/AAAAAAAABLk/S4NGfKGi41A/Construction%20Co.png)http://picasaweb.google.com/jptechnical/ConCoCorp#5473461165221009970 (http://picasaweb.google.com/jptechnical/ConCoCorp#5473461165221009970)

Any thoughts on how to make this work? I have been spoiled with postfix and the alias table, which is dead simple. But SME has so much more to offer, I want to make it work if I can!
Title: Re: Aliases and forwarding email accounts, how to nest forwarded accounts
Post by: Jáder on May 20, 2010, 11:45:05 PM
Not sure if I understand your problem but I think you should create a group for any forward necessity with more than 1 e-mail (2 or 30 ...it´s not different) and then forward the e-mail for each account.


alias ProjectA@company.co forward to group: Project_A_ProjectHead_n_Assistant
Group = Project_A_ProjectHead_n_Assistant
Members = Project Head person ; Assistant of Project Head

alias BigProject30@company.co forward to group: Big_Project_30persons
Group = Big_Project_30persons
Members = Aaron,... , John, ..., Peter, ...


Title: Re: Aliases and forwarding email accounts, how to nest forwarded accounts
Post by: byte on May 20, 2010, 11:56:00 PM
Its late here, but in short yes you should be able to with the use of custom-templates and create .qmail files with the relevant sections and forwarders...have a read of this:

http://www.lifewithqmail.org/lwq.html#aliases
Title: Re: Aliases and forwarding email accounts, how to nest forwarded accounts
Post by: janet on May 21, 2010, 02:33:48 AM
jptechnical

The use of Pseudonyms and Groups should achieve what you want, but this requires recipients (or aliases/Users for external recipients) to be Users on SME.
An end User can be configured to deliver locally (to self) and to one external email address. All above is done in server manager panels. Just think through the hierarchy structure before you begin.

If you need to forward to more than one external address from the one User, or don't want to add lot's of aliases/Users for external recipients, then go with the .qmail approach mentioned, which requires a bit of command line interaction.