(1) I want all outbound mail to "masquerade" (envelope, headers, esmtp protocol entries, etc.) behind memeplex.com
I don't believe you can do this with Courier.
(2) I want the local server to be memeplex.com
That's easy enough.
(3) I want all mail sent to users that don't exist on the local host to go to the user "aathan" I don't want such mail to generate bounces or be delievered as part of an error report; I want it to show up as if the sender got the address right.
You can do that, but you'll regret it later. The way to do it would be to create a file named ".courier-default" in etc/courier/aliasdir/ and put your own username in that file. All addresses which don't resolve to an existing user or alias will go to you. Your mailbox will fill up with spam and viruses.
If you leave out the .courier-default file, then mail sent to addresses that don't exist will not be accepted by Courier. They will be refused outright during the SMTP conversation. They won't be bounced by your server, or be delivered as part of an error report. They will never be your problem.
I've tried several permutations, none of which work. The important ones are:
None of your permutations specified what you'd done with "locals" or "hosteddomains", so I assume you've got them wrong. Get rid of the "@memeplex.com: aathan" alias, since the dot-courier file will do the address redirection that you want. Create a file called "locals" in your "esmtpacceptmailfor.dir" directory containing "memplex.com", symlink "etc/courier/locals" to "esmtpacceptmailfor.dir/locals", and run 'makeacceptmailfor'.
That should get local delivery working properly, which will put you in a better position to start testing options. If you are pursuing a virtual domain setup, you can create a userdb or sql/ldap db later and then destroy the locals files and replace them with the appropriate hosteddomains files.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
