2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] how to do this ?
FromSent OnAttachments
Jean-Christophe BoggioAug 23, 2007 5:15 pm 
Sam VarshavchikAug 23, 2007 5:46 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] how to do this ?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Aug 23, 2007 5:46:50 pm
List:net.sourceforge.lists.courier-users

Jean-Christophe Boggio writes:

Hi,

I want to be able to define domains this way :

some@domain.tld -> account1 (SQL) @domain.tld -> account2 (alias) some@otherdomain.tld -> account3 (SQL)

I use SQL authentication with a PostgreSQL backend.

If I understand things correctly, aliases are processed, then authentication is done.

In my case, I have the catch-all for domain.tld defined within an alias. So some@domain.tld (in my db) is never looked up.

Presuming that you have an alias entry of:

@example.com: userid

Define account "userid", which will have a .courier-default file for the catchall, and also define account "userid-someone", which will receive mail for some@example.com.