7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Avoid expansion a...
FromSent OnAttachments
Bernd WurstOct 15, 2007 6:34 am 
Bernd WurstOct 15, 2007 6:52 am 
Gordon MessmerOct 17, 2007 3:02 pm 
Bernd WurstOct 18, 2007 10:58 am 
Gordon MessmerOct 18, 2007 9:14 pm 
Bernd WurstOct 18, 2007 10:13 pm 
Gordon MessmerOct 18, 2007 10:37 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] Avoid expansion addresses for hosteddomainsActions...
From:Bernd Wurst (ber@bwurst.org)
Date:Oct 18, 2007 10:58:12 am
List:net.sourceforge.lists.courier-users

Hi Gordon.

Am Donnerstag, 18. Oktober 2007 schrieb Gordon Messmer:

Bernd Wurst wrote:

One thing is there that I don't like: In the constellation described above, mail to bern@suessmost.de gets rejected although a catch-all is defined for this domain (and fo@suessmost.de is working correctly). I would call this really unexpected behaviour. Is this fixable?

Isn't that specifically what you were trying to accomplish, to begin with? I thought you wanted "bernd-foo" to be rejected.

Yes, but ... no. :)

I want my customers to have a choice:

1. If no catchall ("alias") is present, bernd-foo should be rejected. That's what I wanted in my first message and what I got now. 2. If a catchall is present, I would think that bernd-foo goes to the catchall. But it gets rejected anyway.

I solved the first one by *not* creating a .courier-default in the vmail-user's home ("home of ber@suessmost.de"). But to enable catchall-addresses at all, I need another vmail-home-directory ("home of ali@suessmost.de") where a .courier-default resides to accept any mail to the catchall-account. My database tells courier the different home-directory for all accounts starting with "alias@".

It seems like courier first divides the account (opposed to the docs, btw!) in local and domain-part, then splits at every dash in the local part and searches for accounts (.courier-files) with the same algorithm that is used on local delivery accounts.

According to the docs, a useraccount "local@host" is looked up literally and an alias@host acts as a catchall. I did not find anything saying that local-foo@host goed to local@host's ~/.courier-foo.

From the point of view of customers that use virtual mail deliveries, they do not control the presence and content of .courier-files. They only control the presence of accounts available for authdaemon. So the magic-dash-splitting is (IMHO!) weird and unintuitive for hosteddomains. It's great for local accounts, anyway!

Got what I mean? ;-)

cu, Bernd