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 mix wise <mi...@gmail.com> on 2012/02/09 02:50:14 UTC
catchall emails
Hello,
I'm trying to configure JAMES to send all inbound emails to my custom
mailet. These email addresses will be random..
ex.
alksdjflaskdfjasdfa@example.com
874893574dfjskdfj@example.com
...
But I'm get this...
"Rejected message. Unknown user: alksdjflaskdfjasdfa@example.com"
Below is my config
james-cli.sh --host 127.0.0.1 adddomain example.com
james-cli.sh --host 127.0.0.1 adduser bob@example.com somepassword
mailetcontainer.xml
...
<processors>
<processor state="root" enableJmx="true">
<mailet match="All" class="MyCatchAllMailet" />
...
Tried this but didnt have much success.
[1] http://wiki.apache.org/james/ConfigureJamesAsCatchAll
Re: catchall emails
Posted by Norman Maurer <no...@googlemail.com>.
You will need to disable the ValidRcptHandler in smtpserver.xml.
Bye,
Norman
2012/2/9 mix wise <mi...@gmail.com>:
> Hello,
>
> I'm trying to configure JAMES to send all inbound emails to my custom
> mailet. These email addresses will be random..
>
> ex.
> alksdjflaskdfjasdfa@example.com
> 874893574dfjskdfj@example.com
> ...
>
> But I'm get this...
>
> "Rejected message. Unknown user: alksdjflaskdfjasdfa@example.com"
>
>
> Below is my config
>
> james-cli.sh --host 127.0.0.1 adddomain example.com
> james-cli.sh --host 127.0.0.1 adduser bob@example.com somepassword
>
> mailetcontainer.xml
> ...
> <processors>
> <processor state="root" enableJmx="true">
> <mailet match="All" class="MyCatchAllMailet" />
> ...
>
> Tried this but didnt have much success.
> [1] http://wiki.apache.org/james/ConfigureJamesAsCatchAll
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org