Koozali.org: home of the SME Server

e-mail forwarding

Chris Vaughn

e-mail forwarding
« on: October 26, 2000, 02:35:08 AM »
When setting up a specific user, is it possible to forward that accounts e-mail to more than one forward address? If it is what is the correct syntax...

Thanks for the help.
Chris Vaughn

Damien Curtain

RE: e-mail forwarding
« Reply #1 on: October 26, 2000, 02:54:54 AM »
You can edit the users .qmail file by hand, and from there set it to forward to several addresses, unfortunately in its current form will be overwritten if you latter modify the account via the web manager.

It all depends how often you want/need to do this.

Via the web Id be looking at the aliases addon as a possible way I guess. Just be carefull not to create a loop.

I tried then with 2 addresses in the create an account and it seemed to send to a bad address, I guess ill hear from the postmaster soon about that address:)

--
 Damien

Kevin McClain

RE: e-mail forwarding
« Reply #2 on: October 26, 2000, 07:56:44 AM »
#To edit the .qmail file:
log in as root
cd /home/e-smith/files/users/username
#(replace username with name of email account to edit)
pico .qmail
#If you want this account to recieve mail and forward mail start with this
./Maildir/
&user@forwardingaddress.xxx
#start each address to be forwarded to with a & and only one address per line
#Dont use ./Maildir/ if you only want to forward mail
#when you finish, hit enter so that cursor is on empty line under last email address
#Do ctrl-x
#enter Y to save
#Hit enter to save file as .qmail
#You're through! These changes will not show up in the Forwarding Address line in #the E-smith Manager and any thing entered there will change the .qmail file  so if #you edit the .qmail file, its probally best if you dont enter anything in the Forwarding #address Field after that.( And you probally  should take anything out of the #forwarding address Field before editing .qmail file)
#Hope This helped.

Rodney

RE: e-mail forwarding
« Reply #3 on: September 20, 2001, 06:45:08 AM »
I am merely trying to forward email from catering@domain1.com e-smith email alias to in the 90alias file to a grp of users on my server. If someone could point me in the right direction I'd really appreciate it.