From: Paeddy [mailto:[EMAIL PROTECTED] > > i have localy hosted domains like: > baenz.net > cori.ch > funky-fio.ch > > the users to this domains are: > mail.baenz.net > mail.cori.ch > mail.funky-fio.ch > > and i wanted to set-up the system in a way that users can > send email like > [EMAIL PROTECTED] this mail should finally apear in > mail.cori.ch. the sender > should be able to write anything in front of @cori.ch and the > it always > should come to [EMAIL PROTECTED] which is the also the user > configured in the > userdb files. > > could someone give me some hints how to set up ?
Check out the "Virtual Domains" section of http://www.courier-mta.org/makealiases.html. Essentially, what you want to do is this: Create a file in /etc/courier/aliases containing lines like these: @baenz.net: [EMAIL PROTECTED] @cori.ch: [EMAIL PROTECTED] etc... In the home directory of each user (such as [EMAIL PROTECTED]), create a file called '.courier-default' that looks like this: ./Maildir According to the docs, the virtual domain expansion is not recursive, so the aliases should not cause a problem. Anyone want to back me up here (or tell me I've got it all wrong :)? After you make the changes to the aliases file, you will need to run 'makealiases'. Bowie ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users