From: David Ehle [mailto:[EMAIL PROTECTED]
> 
>  Have you looked into using aliases?
> 
>  Add a file to /etc/courier/aliases with a line like:
> 
>  [EMAIL PROTECTED]: [EMAIL PROTECTED]
> 
>  The substitution will happen at the beginning of the delivery and
>  so the message will go through all of the normal filtering that
>  jsmith01 would get.
> 
>  Bowie
> ##########
> Bowie, Martijn,
> 
>   I thought that would work, but once I was read up on it I wasn't
> sure.  It seemed that I would need to use hosteddomains but it
> seemed like then you needed to be using a ldap or mySQL backend to
> handle it.  If I put the new domains in hosteddomains and do the
> makehosted domains, can I then just drop a
> [EMAIL PROTECTED]: jsmith
> in /etc/courier/aliases/john, do a make aliases and it work?
> 
> I have just tried it without using hosteddomains, just a domain I
> have in locals, and it definately did NOT work.

It should work just fine with hosteddomains.  It will work with the
domain in locals too -- you just have to drop the domain.  Just keep
in mind that all domains that you list in locals are considered to be
equivalent (i.e. [EMAIL PROTECTED] == [EMAIL PROTECTED]) since the
domains are stripped before delivery.

Also, you don't need to use ldap or mySQL unless you have a large
number of mailboxes.  You can use userdb, which is part of Courier and
is very easy to use.  I'm not sure of how far it will scale, but I've
got somewhere around 400 active mailboxes configured using userdb and
it works quite well.

Bowie


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to