Jean-Christophe Boggio writes:

Ok, I think I clearly see my mistakes.

I wonder if I can have the following behaviour :
- I have some real accounts on thefreecat.org and I want them delivered
   normally.
- I want unknown accounts for thefreecat.org delivered to a catchall. This
   way, when I register myself on, say, toyota.com, I will give them the
   address toy...@thefreecat.org
   If I start receiving SPAM on this address I will simply blacklist it (with
   an alias pointing to the bofh-spamtrap "account")
   I don't want to manually create a .courier-toyota for every single address
   of this sort.
- On other domains, I want a "normal" behaviour with "User xxx unknown".

I used to have the first 2 points working with a /etc/courier/aliasdir/.courier-default
redirecting to my address but it was a global catchall-for-every-domain.

Thanks for your patience and help,

Just set up all domains as virtual domains. Install a .courier-default file for whatever domains you want to have a domain-specific catchall.

To disable an individual address, put "spamtrap" in the bofh file, see the courier man page for a description.

But it's easier just to have a separate domain, that does not have a domain- wide default, for throwaway addresses. You should set up a subdomain, public.thefreecat.org, with its own MX record pointing to your server, and set it up without a domain-wide default, then just list the individual mailboxes you want to exist in this domain.

Attachment: pgpzA6FEq8LKP.pgp
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to