You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Sylvain Vieujot <sv...@apache.org> on 2005/05/28 16:17:47 UTC

Domain setting for mail root

Hello,

I have many scripts (watchdogs, ...) that send mails to root.
Just root, not root@localhost.

I have added the localhost domain in james config, but still, it doesn't
seem to handle those emails.

As some of those scripts aren't mine, is there some way to configure
james to have those emails delivered locally ?

Thanks,

Sylvain.


RE: Domain setting for mail root

Posted by Sylvain Vieujot <sv...@apache.org>.
Thank you Noel,

I'll try that.

Sylvain.

On Sun, 2005-05-29 at 13:53 -0400, Noel J. Bergman wrote:

> A local-part without a domain should be mapped to localhost internally.  For
> root mail, I use:
> 
>          <!-- pickup local mail for root -->
>          <mailet match="RecipientIsRegex=root@localhost.*" class="Forward" >
>             <forwardto> ... </forwardto>
>          </mailet>
> 
> in my configuration.
> 
> 	--- Noel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 

RE: Domain setting for mail root

Posted by "Noel J. Bergman" <no...@devtech.com>.
A local-part without a domain should be mapped to localhost internally.  For
root mail, I use:

         <!-- pickup local mail for root -->
         <mailet match="RecipientIsRegex=root@localhost.*" class="Forward" >
            <forwardto> ... </forwardto>
         </mailet>

in my configuration.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org