Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Nuno on March 14, 2003, 03:33:34 AM

Title: Email forwarding
Post by: Nuno on March 14, 2003, 03:33:34 AM
Hi, I would like to create an email 'all@mydomain.com' and that all the incomming mails are forwarded to 3 other email addresses (not being accounts or emails on the SME box)

I know, that I can forward an email to another email address, but is this possible to 3 different email addresses?

I'm using SME 5.6.

thanks


regards,
Nuno
Title: Re: Email forwarding
Post by: Laurence Griffiths on March 14, 2003, 06:50:12 AM
There may be better ways of doing it, but this will work:-

1. Create three dummy user accounts on your SME server. These could be "dummy1", "dummy2" and "dummy3".

2. Create a group called "all" and make all three dummy accounts members of that group.

3. Forward the email for each dummy account to to ONE of your desired forwarding addresses.

That's all. Good luck.
Title: Re: Email forwarding
Post by: Abe Loveless on March 14, 2003, 09:59:56 AM
If you find that you are going to have more than 3 addresses, it may be easier to just install a listserv manager.  There are how-to's around for ezmlm and Mailman.  Both work very well.
Title: Re: Email forwarding
Post by: Michael Soulier on March 15, 2003, 04:30:36 PM
Nuno wrote:
>
> Hi, I would like to create an email 'all@mydomain.com' and
> that all the incomming mails are forwarded to 3 other email
> addresses (not being accounts or emails on the SME box)
>
> I know, that I can forward an email to another email address,
> but is this possible to 3 different email addresses?

qmail is your friend.

http://www.lifewithqmail.org/lwq.html#dot-qmail-files

Mike
Title: Email forwarding
Post by: Antonio Oliveira on March 27, 2004, 02:52:26 AM
I've never used SME so I don't know if this will work correctly. I do use another GNU/Linux distro (Fedora), and use postfix as my MTA.
I changed from sendmail after having lots of headaches with it.  :-?
Under postfix that can be done quite easily:
Edit /etc/postfix/aliases, and add a line like this:
all@mydomain.com   email1@domain1.com email2@domain1.com email3@domain2.com ....... (you can add as many emails as you want to).

Then, run postalias to recreate the .db file and you're set.
If somebody sends an email to all@mydomain.com postfix will forward it to the other addresses.
You don't even have to create the "all" user account in the machine hosting mydomain.com to get this to work.
I'm a postfix-converted-fan ! :)

Good luck !