Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jfarschman on February 08, 2006, 12:13:53 AM

Title: Forward email to multiple (two) addresses
Post by: jfarschman on February 08, 2006, 12:13:53 AM
Hi,

  I would like to forward email to more than one email address.  This is possible in the command line.  In Qmail you simply place the following in .qmail:

&first@domain.com
&second@domain2.com

That works.  Sadly, the userpanel will not let me enter anything like this.  The validation says that spaces and commas and ampersands are not allowed.

Anybody know of a contrib that handles this?  If not, could you recommend an approach for handling this?  I seem to remember something about how to handle user exceptions, but I cannot recall what.  Thanks.
Title: Forward email to multiple (two) addresses
Post by: dmajwool on February 08, 2006, 08:33:24 AM
Does it work using server-manager if you create a group of users and send your administrative emails to the group?
HTH, David.
Title: Forward email to multiple (two) addresses
Post by: jfarschman on February 08, 2006, 03:04:26 PM
David,

  Yes, creating a group work... but I have to create outside users, and there is a limit of 28 groups.

  This is a system for a group of schools.  They have ~750 users in 6 schools with various functional groups.  We are already pushing the 28 group limit.
Title: Forward email to multiple (two) addresses
Post by: pfloor on February 09, 2006, 06:53:24 AM
Quote from: "jfarschman"
David,

  Yes, creating a group work... but I have to create outside users, and there is a limit of 28 groups.

  This is a system for a group of schools.  They have ~750 users in 6 schools with various functional groups.  We are already pushing the 28 group limit.


You may be in luck.  The group limit was removed from SME7 when they updated to the 2.6 kernel back in the alpha stage.  If the final version comes out before you hit that limit then you are lucky indeed.

Paul
Title: Look into ezmlm (mailing list) contrib
Post by: RedBeard on February 09, 2006, 06:55:39 AM
You might want to look into ezmlm (mailing list) contrib.  I was looking for similar reasons but I think using groups will work out for me.  

Good Luck.
Title: Forward email to multiple (two) addresses
Post by: jfarschman on February 09, 2006, 02:22:01 PM
Very good!

  We are actually using 7BETApre1.  So there really isn't a problem if I use groups.  

  I have used the ezmlm and I like it... sort of.... I understand it but it seem to confuse anyone else who logs into the box.  One of the things I love about the SME box is it's simplicity.  Core configuration needs to be easy and EZmlm isn't really very easy.

  Anyway, thanks.  I'm probably going to fiddle around with the email validation function and see if can get it to take &characters and treat them like carriage return and new email address.  I don't know... maybe not.
Title: Forward email to multiple (two) addresses
Post by: calisun on February 09, 2006, 06:57:16 PM
Works for me when you input
first@domain.com, second@domain2.com
Title: Forward email to multiple (two) addresses
Post by: jfarschman on February 09, 2006, 07:10:02 PM
Hmmm,

  Well, I'm using SME7 and it doesn't.  I pasted in your text and it failes

"This field cannot contain white-space"

I remove the white-space and try again:

"This field must contain only letters, numbers, dots, hypens and underscores and start with a letter"

So all you have left to take out is the comma and that's the delimiter.  There is definately an email validation happening... It also doens't like the second @ symbol.  Very deliberately designed to only allow you to forward to one user.

Really, I think this is moot.  The ability to use groups and not have limits on the number of groups solves this just fine.
Title: Forward email to multiple (two) addresses
Post by: calisun on February 09, 2006, 07:42:47 PM
Ok, it looks like we were talking about two different things.
I was talking about using "forward" button in the email application.
You were talking about setting up user to forward email automatically. Your post was not very clear, it just said forward email.

So in your case groups is the only way to automatically forward to multiple email addresses.

Good luck