jbonevia wrote:
As far as i can see there are 3 ways i can setup an alias:
1. As a pseudonym in the server-manager - easy to setup but only has a 1->1 relationship and is not limited to one virtual domain.
2. By using: http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/virtual%20domain%20email%20aliases%20HOWTO%20for%20sme%20server.htm
This also works well, but i cant get it to send the email to more than one user - eg info@domain1.com.au needs to go to user1 AND user2 mailboxes.
3. By setting up a group - easy to do, allows me to add multiple usernames to one group, however it has a big limitation in that there is only a maximum of 28 groups able to be added. I have already maxed out my groups by setting up all our company departments/locations etc. Also not able to limit a group to one virtual domain.
After a major hardware failure of my old faithful E-Smith 4.0.1, compatibility issues forced me to install the most recent SME Server release from scratch.
I am really disappointed by the pseudonym paradigm replacing the old alias one: I have about 45 corporate email address that redirect incoming messages to one or more users, and a php script that dinamically generated the corporate mail directory from the LDAP server and the aliases in the configuration file.
As I can see, none of the tree method you listed can handle my needs: the "create a group" one is limited to 28 groups (and a group just to distribute mail messages is a waste! Groups are better used to I-Bay access, IMHO), the other two are limited to a single address and a combination of any of the three does not allow to manage each address category separately and consistently.
So, if no one is already working in this direction, I am planning to study the new SME Server architecture to develop an "email aliases" panel to reintroduce the old aliases concept in my new server.
Meanwhile, I did some basic testing: even if the new pseudonyms are managed differently, the old way qmail used aliases still works (and it is still used someway).
You can create all the aliases you need by hand: e.g., if you need an email address "info" to deliver incoming mail to "user1", "user2" and "user3", you can create in the
/var/qmail/aliases directory a file named
.qmail-info containing what follows:
&user1
&user2
&user3
The trick works even if the users are on different domains.