Koozali.org: home of the SME Server

Forward email to multiple (two) addresses

Offline jfarschman

  • *
  • 406
  • +0/-0
Forward email to multiple (two) addresses
« 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline dmajwool

  • *****
  • 180
  • +0/-0
Forward email to multiple (two) addresses
« Reply #1 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.

Offline jfarschman

  • *
  • 406
  • +0/-0
Forward email to multiple (two) addresses
« Reply #2 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline pfloor

  • *****
  • 889
  • +1/-0
Forward email to multiple (two) addresses
« Reply #3 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
In life, you must either "Push, Pull or Get out of the way!"

Offline RedBeard

  • ***
  • 62
  • +0/-0
Look into ezmlm (mailing list) contrib
« Reply #4 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.
............

Offline jfarschman

  • *
  • 406
  • +0/-0
Forward email to multiple (two) addresses
« Reply #5 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline calisun

  • *
  • 620
  • +0/-1
Forward email to multiple (two) addresses
« Reply #6 on: February 09, 2006, 06:57:16 PM »
Works for me when you input
first@domain.com, second@domain2.com
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline jfarschman

  • *
  • 406
  • +0/-0
Forward email to multiple (two) addresses
« Reply #7 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline calisun

  • *
  • 620
  • +0/-1
Forward email to multiple (two) addresses
« Reply #8 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
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite