cqi2004.etsmtl.ca is virtual. It means that it's not real. Only real stuff belongs in hosteddomains, and me.
well, that's where i got confused. that domain really exist, it is the fqdn of that machine, it's just that i want the users to be in a mysql db and not having real accounts on the box.
That's not what the virtual domain alias does. It, essentally, sends all mail addressed to a domain to a single local account. The owner of the account then gets to specify, by installing appropriately-named .courier files, what happens to [EMAIL PROTECTED], for arbitrary values of "user".
am i choosing the wrong solution ?!
Yes. What you want is to initialize either hosteddomains, or locals (and esmtpacceptmailfor, in either case), depending on how your mysql database is set up.
See the description of locals and hosteddomains configuration files.
Putting example.com in hosteddomains results in Courier looking up [EMAIL PROTECTED] in the mysql database.
Putting example.com in locals results in Courier looking up just 'user' in the mysql database.
thanks alot for your patience Sam,
-Pascal PS: would you prefer me replying to you directly ?
No. It's better to archive this publicly.
pgp00000.pgp
Description: PGP signature
