Koozali.org: home of the SME Server

Aliases and forwarding email accounts, how to nest forwarded accounts

Offline jptechnical

  • ***
  • 68
  • +0/-0
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://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!
« Last Edit: May 20, 2010, 11:06:39 PM by jptechnical »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
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, ...


« Last Edit: May 20, 2010, 11:46:50 PM by jader »
...

Offline byte

  • *
  • 2,183
  • +2/-0
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
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline janet

  • *****
  • 4,812
  • +0/-0
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.