On Wednesday 11 June 2003 01:38, Christophe Zwecker 
<[EMAIL PROTECTED]> wrote:
> I got foo.com in locals and in hostedomains, when mail is
> send to a local user bart, courier says relaying denied
> unless I put
>
> [EMAIL PROTECTED]:   bart
>
> in aliaes. how can I just have it accept anything that
> has a local user on the machine ?
>
> thx alot for help on this, coming from sendmail im kinda
> lost with alle those options here :-)

You can't have a domain in both locals or hosteddomains;  
it's got to be one or the other.  If foo.bar is in locals 
that means that when mail arrives for "[EMAIL PROTECTED]", 
courier will strip the "@foo.bar" part and try to deliver 
to account "user".  If foo.bar is in hosteddomains then 
when mail arrives for "[EMAIL PROTECTED]" courier will attempt 
to deliver it to account "[EMAIL PROTECTED]".

How are your accounts set up?  It looks from your example 
like foo.bar is really a local domain since the account 
name is "bart" rather then "[EMAIL PROTECTED]".  Remove foo.bar 
from hosteddomains and run "makehosteddomains".  Then put 
foo.bar into esmtpacceptmailfor (if you haven't already) 
and run "makeacceptmailfor" so courier will accept mail for 
that domain in the first place.  Then see if it works like 
you expect.

Jeff Jansen


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to