$Id: howto-freevsd-vhost-sendmail.txt,v 1.12 2003/01/19 00:51:15 jonen Exp $ $Log: howto-freevsd-vhost-sendmail.txt,v $ Revision 1.12 2003/01/19 00:51:15 jonen + test Revision 1.5 2003/01/19 00:01:34 jonen + updated Revision 1.4 2002/02/28 21:59:52 cvsbasti modify explantion about 'sendmail.cw' Revision 1.3 2002/02/11 03:32:37 cvsbasti first checkin' ============================= main server ============================= BTW: if you want to have most mail config-scripts in one directory you have to move the files '/etc/sendmail.cw' and '/etc/virtusertable' to '/etc/mail/'. then you *must* change the entry 'FW/etc/sendmail.cw/' in your '/etc/sendmail.cf' to 'FW/etc/mail/sendmail.cw'. for 'aliases' make a link like: #ln -s /etc/aliases /etc/mail/aliases (i did so because of more overview and sure i've been used to do so ;-) - edit 'sendmail.cf' (i explained above) and add to 'sendmail.cw' all domains for which sendmail should recieve mails ============================ virtuser ============================ - edit 'virtusertable' and add all mail-users which mail should be recieved for e.g.: user@domain user # for a real-user info@domain info # aliases (see aliases section) user@domain user@other-domain # forwarding @domain account@some.domain # forward all mails to @domain which could not delivered by rules before - build virtusertable.db from virtusertable e.g.: #makemap hash /etc/mail/virtusertable /info-list # deliver all mails for alias 'info-list' to every user recorded in file 'info-list' - create aliases with: # newaliases - know you see the little trick of using 'included'-file for e.g. mailing-lists because you only have to edit the plain-text-formated 'iclided'-file and don't need a '#newalises' if you changed it sample for a 'included'-file: user1@domain.com user2@domain.com