[root@alanstudio]# vi /etc/mail/virtusertable
To create the virtusertable database file for virtual user email alias forwarding
A. assume you want to alias admin@freebsdhelp.org to other LOCAL user on the same server
*MAKE SURE ALL ENTRIES ARE SEPERATED WITH * :
virtusertable>
admin@freebsdhelp.org john
virtusertable<
B. assume you want to alias dave@freebsdhelp.org to other FOREIGN user on other server:
virtusertable>
dave@freebsdhelp.org dave@yahoo.com
virtusertable<
C. assume you want to alias all emails coming on freebsdhelp.org to one LOCAL user and
still you want your admin@freebsdhelp.org and dave@freebsdhelp.org works:
virtusertable>
admin@freebsdhelp.orgj ohn
dave@freebsdhelp.org dave@yahoo.com
@freebsdhelp.org big
virtusertable<
D. the same of the above but to a FOREIGN user:
admin@freebsdhelp.org john
dave@freebsdhelp.org dave@yahoo.com
@freebsdhelp.org big@kuwaitnet.net
/etc/init.d/sendmail restart
Save the file and restart sendmail service.
Server is hosted by Alanstudio
Linux Operating System
Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.
|