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 Evan Vaala <ev...@csi.com> on 2002/09/17 17:27:33 UTC
SMTP Relay Possibility
Hello,
Will the following config allow smtp relaying? I am only using james as an smtp
receiver to register e-mail addresses for a valid listgroup. I do not reply
back to the registering user via James. I only want James for incoming. I have
setup my own e-mail stmp to be point to my James receiver. I am not able to
send outgoing messages. But can relaying still happen?
If someone were to try to relay from this server with the below config, would my
mailet TestMailet get a Mail object passed to its "service" method?
Any help appreciated!
Thanks!
Here's a portion of my config.xml:
<spoolmanager>
<!-- number of spool threads -->
<threads> 10 </threads>
<!-- Set the packages from which to load mailets and matches -->
<mailetpackages>
<mailetpackage>my.mailets</mailetpackage>
<mailetpackage>org.apache.james.transport.mailets</mailetpackage>
</mailetpackages>
<matcherpackages>
<matcherpackage>org.apache.james.transport.matchers</matcherpackage>
</matcherpackages>
<!-- Processor CONFIGURATION SAMPLE:
root is the first processor all mails enter -->
<processor name="root">
<!-- Important check to avoid race conditions -->
<mailet match="RelayLimit=30" class="Null">
</mailet>
<!-- Check for delivery from a known spam server -->
<mailet match="All" class="TestMailet"></mailet>
<mailet match="All" class="Null"></mailet>
</processor>
</spoolmanager>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Cannot retrieve messages after reboot
Posted by Mike Shoemaker <mi...@shoesobjects.com>.
Enough of a reason to switch. Thanks for your help Danny.
Mike
At 06:48 PM 09/18/2002 +0100, Danny Angus wrote:
> > Do you know if this problem would go away if I switched to using
> > a database
> > instead of the file system to store mail?
>
>Yes it would.
>Additionaly you would have other was to access mail repositories.
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
Mike Shoemaker
http://www.shoesobjects.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Cannot retrieve messages after reboot
Posted by Danny Angus <da...@apache.org>.
my own opinion is that to someone who's confident at running sql queries
from the command line, or has a handy visual app managing the contents of
repositories, be it spam, spool, errors or inboxes becomes a no-brainer you
can use SQL to filter on any field, and modify the messages in-situ, or move
them from store to store.
Although I use Linux, and the MySQL command line, Windows users might want
to note that M$Access can perform as a visual client to MySQL using the
MyODBC driver and linked tables (not imports)
d.
> -----Original Message-----
> From: Dodd Gatsos [mailto:dgatsos@slb.com]
> Sent: 18 September 2002 17:35
> To: James Users List
> Subject: Re: Cannot retrieve messages after reboot
>
>
> That's an excellent question. I've seen a lot of people on this list
> implementing James with a DB backend and I've been asking myself if there
> was any advantage to it. I haven't been able to think of one and I see
> maintaining another application as a rather large drawback. I don't even
> have the time to regularly check James to make sure it's still running or
> try and figure out why the messages aren't being removed from the inboxes
> even though I don't have express set to leave messages on the server.
>
> I would love to hear some opinions on the pros and cons.
>
> ----- Original Message -----
> From: "Mike Shoemaker" <mi...@shoesobjects.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Wednesday, September 18, 2002 11:13 AM
> Subject: Re: Cannot retrieve messages after reboot
>
>
> > Eric
> >
> > You should ask for your money back :)
> >
> > Its not really too big of a problem for me since I have all of
> 2 users. I
> > can just make sure to retrieve email prior to shutdown. I
> tried to search
> > the archive for anything related to this but kept getting an error
> message.
> >
> > Do you know if this problem would go away if I switched to using a
> database
> > instead of the file system to store mail? I have thought about
> going to a
> > mysql db but always came to the conclusion that there was no benefit to
> > me. If this problem goes away, Id be willing to switch.
> >
> > Thanks for your input Eric.
> >
> > Mike
> >
> >
> >
> > At 05:40 PM 09/18/2002 +0200, eric.charles@u-mangate.org wrote:
> > >Hello,
> > >We have the same problem since we are using James (6 months ago).
> > >This question was already answered previously : it should have
> to do with
> > >avalon repositories number reattribution. Wonderful, it was
> promised to
> > >be solved with 2.0a3.
> > >
> > >It does not work !
> > >
> > >We pray for the next version that will hopefully solve this problem.
> > >
> > >Tks,
> > >
> > >eric
> > >
> > >
> > >Mike Shoemaker wrote:
> > >
> > >>
> > >>
> > >>Hello Gang
> > >>
> > >>I recently noticed that I was unable to retrieve messages after
> rebooting
> > >>my machine. I downloaded them at work(left them on the server) via
> pop3,
> > >>rebooted, and then was unable to download them(while removing
> them from
> > >>the server). I can still see them sitting in the inbox so
> they are not
> > >>gone, just untouchable? Anything I can do to make the accessible
> > >>again. Im using James version 2.0a3 on Windows 2000, JDK 1.4
> > >>
> > >>Any insight would be appreciated
> > >>
> > >>
> > >>--
> > >>To unsubscribe, e-mail:
> > >><ma...@jakarta.apache.org>
> > >>For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> > >>
> > >
> > >
> > >--
> > >To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > >For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> > Mike Shoemaker
> > http://www.shoesobjects.com
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Cannot retrieve messages after reboot
Posted by Dodd Gatsos <dg...@slb.com>.
That's an excellent question. I've seen a lot of people on this list
implementing James with a DB backend and I've been asking myself if there
was any advantage to it. I haven't been able to think of one and I see
maintaining another application as a rather large drawback. I don't even
have the time to regularly check James to make sure it's still running or
try and figure out why the messages aren't being removed from the inboxes
even though I don't have express set to leave messages on the server.
I would love to hear some opinions on the pros and cons.
----- Original Message -----
From: "Mike Shoemaker" <mi...@shoesobjects.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Wednesday, September 18, 2002 11:13 AM
Subject: Re: Cannot retrieve messages after reboot
> Eric
>
> You should ask for your money back :)
>
> Its not really too big of a problem for me since I have all of 2 users. I
> can just make sure to retrieve email prior to shutdown. I tried to search
> the archive for anything related to this but kept getting an error
message.
>
> Do you know if this problem would go away if I switched to using a
database
> instead of the file system to store mail? I have thought about going to a
> mysql db but always came to the conclusion that there was no benefit to
> me. If this problem goes away, Id be willing to switch.
>
> Thanks for your input Eric.
>
> Mike
>
>
>
> At 05:40 PM 09/18/2002 +0200, eric.charles@u-mangate.org wrote:
> >Hello,
> >We have the same problem since we are using James (6 months ago).
> >This question was already answered previously : it should have to do with
> >avalon repositories number reattribution. Wonderful, it was promised to
> >be solved with 2.0a3.
> >
> >It does not work !
> >
> >We pray for the next version that will hopefully solve this problem.
> >
> >Tks,
> >
> >eric
> >
> >
> >Mike Shoemaker wrote:
> >
> >>
> >>
> >>Hello Gang
> >>
> >>I recently noticed that I was unable to retrieve messages after
rebooting
> >>my machine. I downloaded them at work(left them on the server) via
pop3,
> >>rebooted, and then was unable to download them(while removing them from
> >>the server). I can still see them sitting in the inbox so they are not
> >>gone, just untouchable? Anything I can do to make the accessible
> >>again. Im using James version 2.0a3 on Windows 2000, JDK 1.4
> >>
> >>Any insight would be appreciated
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >><ma...@jakarta.apache.org>
> >>For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >>
> >
> >
> >--
> >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> >For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
> Mike Shoemaker
> http://www.shoesobjects.com
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Cannot retrieve messages after reboot
Posted by Danny Angus <da...@apache.org>.
> Do you know if this problem would go away if I switched to using
> a database
> instead of the file system to store mail?
Yes it would.
Additionaly you would have other was to access mail repositories.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Cannot retrieve messages after reboot
Posted by Mike Shoemaker <mi...@shoesobjects.com>.
Eric
You should ask for your money back :)
Its not really too big of a problem for me since I have all of 2 users. I
can just make sure to retrieve email prior to shutdown. I tried to search
the archive for anything related to this but kept getting an error message.
Do you know if this problem would go away if I switched to using a database
instead of the file system to store mail? I have thought about going to a
mysql db but always came to the conclusion that there was no benefit to
me. If this problem goes away, Id be willing to switch.
Thanks for your input Eric.
Mike
At 05:40 PM 09/18/2002 +0200, eric.charles@u-mangate.org wrote:
>Hello,
>We have the same problem since we are using James (6 months ago).
>This question was already answered previously : it should have to do with
>avalon repositories number reattribution. Wonderful, it was promised to
>be solved with 2.0a3.
>
>It does not work !
>
>We pray for the next version that will hopefully solve this problem.
>
>Tks,
>
>eric
>
>
>Mike Shoemaker wrote:
>
>>
>>
>>Hello Gang
>>
>>I recently noticed that I was unable to retrieve messages after rebooting
>>my machine. I downloaded them at work(left them on the server) via pop3,
>>rebooted, and then was unable to download them(while removing them from
>>the server). I can still see them sitting in the inbox so they are not
>>gone, just untouchable? Anything I can do to make the accessible
>>again. Im using James version 2.0a3 on Windows 2000, JDK 1.4
>>
>>Any insight would be appreciated
>>
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
Mike Shoemaker
http://www.shoesobjects.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Cannot retrieve messages after reboot
Posted by "eric.charles@u-mangate.org" <er...@u-mangate.org>.
Hello,
We have the same problem since we are using James (6 months ago).
This question was already answered previously : it should have to do
with avalon repositories number reattribution. Wonderful, it was
promised to be solved with 2.0a3.
It does not work !
We pray for the next version that will hopefully solve this problem.
Tks,
eric
Mike Shoemaker wrote:
>
>
> Hello Gang
>
> I recently noticed that I was unable to retrieve messages after
> rebooting my machine. I downloaded them at work(left them on the
> server) via pop3, rebooted, and then was unable to download them(while
> removing them from the server). I can still see them sitting in the
> inbox so they are not gone, just untouchable? Anything I can do to
> make the accessible again. Im using James version 2.0a3 on Windows
> 2000, JDK 1.4
>
> Any insight would be appreciated
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Cannot retrieve messages after reboot
Posted by Mike Shoemaker <mi...@shoesobjects.com>.
Hello Gang
I recently noticed that I was unable to retrieve messages after rebooting
my machine. I downloaded them at work(left them on the server) via pop3,
rebooted, and then was unable to download them(while removing them from the
server). I can still see them sitting in the inbox so they are not gone,
just untouchable? Anything I can do to make the accessible again. Im
using James version 2.0a3 on Windows 2000, JDK 1.4
Any insight would be appreciated
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: SMTP Relay Possibility
Posted by Danny Angus <da...@apache.org>.
> <mailet match="All" class="TestMailet"></mailet>
your mailet will get every message
> <mailet match="All" class="Null"></mailet>
every message passed through your mailet will be destroyed.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>