6 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Virtual domain ho...
FromSent OnAttachments
Bill WilliamsonSep 5, 2002 4:03 pm 
Marc LindahlSep 5, 2002 9:14 pm 
Peter C. NortonSep 5, 2002 11:32 pm 
Bowie BaileySep 6, 2002 6:15 am 
Marc LindahlSep 6, 2002 7:27 am 
Bill WilliamsonSep 6, 2002 1:27 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Virtual domain hosting & .courierActions...
From:Bowie Bailey (Bowi@BUC.com)
Date:Sep 6, 2002 6:15:41 am
List:net.sourceforge.lists.courier-users

I haven't gone too deeply into this setup, but based on the docs, it looks like it should work like this:

Alias file: @t1.hc.com: test1

This will send anything for bl@t1.hc.com to test1-blah. Delivery is controlled by the file .courier-blah in test1's home directory. The .courier-default file controls delivery for any name that doesn't have an explicit .courier-blah file. I can't find the reference in the docs at the moment, but I seem to remember reading that with a virtual host alias, if the .courier-default file doesn't exist, then there must be a .courier-blah file or the mail will bounce (I am assuming that there are no .courier files in the /etc/courier/aliasdir directory).

I will be doing this kind of setup on my server sometime soon, so if anyone sees anything wrong with this explanation, please let me know.

Bowie

-----Original Message----- From: Bill Williamson [mailto:batk@happychinchilla.com] Sent: Thursday, September 05, 2002 7:02 PM To: cour@lists.sourceforge.net Subject: [courier-users] Virtual domain hosting & .courier

Short version: How do you get .courier files to work with virtual hosting, so that user "test1" can control all mail going to test1.com. For example, he could reassign tes@test1.com, or any arbitrary @test1.com account. I've only had luck reassigning test1-*@test1.com

6 friends and I are all splitting a dedicated server. Each has their own domain name. We want to run courier as our mail server. I've run it with a single domain for about a year now, so I am not at the COMPLETE newbie stage.

I've got some domains set up for virtual hosting, with the option "Owner of this account controls mail delivery by creating .courier files (system accounts only)." selected in webadmin. All config has been done in webadmin for consistancy sake.

For testing before going "live" with the server, I set up users test1, test2, and test3. test1.happychinchilla.com is set up as a virtual to go to test1. test2.happychinchilla.com is set up as a virtual to go to test2.

(tx = testx, hc = happychinchilla) I can send mail to test1 through tes@t1.hc.com, and same with test2. I can set up .courier-blah in their home directories and send to t1-b@t1.hc.com, and same for t2. I can set up .courier-test1-test2 and get it to deliver to user test2 when sent to t1-@t1.hc.com, and vice versa. I CANNOT get, for example, supe@t1.hc.com to go to user t3, or anything that doesn't start with the username.

Is this possible? I want each user to have control over every address in their own domain (for setting up mailing lists/etc mostly) without me having to add manual aliass in $courier/etc/aliasdir.

Thanks --Bill