Re: Mailet question

2003-07-01 Thread Kenny Smith
Here is a snippet from JDBCVirtualUserTable that does this kind of 
thing, so you know where to start searching:

getMailetContext().sendMail(mail.getSender(), recipientsToAddForward, 
mail.getMessage());

recipientsToAddForward is a Collection of MailAddress(es).

Kenny Smith
JournalScape.com
Danny Angus wrote:
you have to send the mail using the mailet context, and GHOST the original so that it re-enters from the top, alternatively copy the message and send that in a new mail to the cc recipient.

Mail message headers *don't* control the recipients of the email, strange but true. 

d.


-Original Message-
From: Shal Jain [mailto:[EMAIL PROTECTED]
Sent: 01 July 2003 16:45
To: James Users List
Subject: Mailet question
James vers 2.1.2
OS - Win2K
I have a mailet that monitors all outbound messages and under certain
conditions adds a CC recipient
I know the mailet executes because the headers of the outbound 
messages show
the added CC recipient address.
However, the message is not delivered to this special address.
The SMTP log shows message being spooled to all other recipients 
(to/cc/bcc)
except for the one that I added

I am including the service method as well as the changes to the config.xml
file.
What am I missing ?



The service method looks somewhat like this

 public void service(Mail mailObj) throws javax.mail.MessagingException
 {
   MimeMessage msg = mailObj.getMessage();
   boolean evalSuccess = evalConditions();
  if (evalSuccess)
  {
  msg.addRecipients(Message.RecipientType.CC, [EMAIL PROTECTED]);
  }
}


In the config file the the mailet has been configured at the very begining
of the transport processor
 processor name=transport

   !-- add custom address to the CC List --
   mailet match=All class=CCSender /-- my mailet
   !-- Is the recipient is for a local account, deliver it locally --
   mailet match=RecipientIsLocal class=LocalDelivery/
   !-- If the host is handled by this server and it did not get --
   !-- locally delivered, this is an invalid recipient --
   mailet match=HostIsLocal class=ToProcessor
  processorerror/processor
/mailet
 ...
 --- rest of the transport processort block --
/processor






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[off topic] Re: How to hook into James/Phoenix Logging routines ?

2003-06-25 Thread Kenny Smith
Hi Richard,

There really isn't a disconnected way of doing it built into James. It's 
just a matter of using standard Java designs to accomplish the task 
(I'll explain below to point you in the right direction). This message 
is off topic for the list, but maybe it might help someone else out, so 
please forgive me if I transgress too far. :)

If you want your XmlRpcHandler to be disconnected from the Mailet 
context, my suggestion is:

1) Define your own logger interface (could simply contain one method... 
public void mylog( String msg )... ). This could be a java file like 10 
lines long (but don't use the method name log() it will collide with the 
existing log() method in GenericMailet). I'll call it MyLogger..

2) Have your mailet implement the MyLogger interface and add a method to 
the mailet called mylog() that simply calls log(), which is the standard 
 way a mailet writes to the mailet-xxx.log

3) Have your XmlRpcHandler constructor take a reference to an instance 
of MyLogger. Then when constructing it, pass 'this' to it.

4) Whenever your XmlRpcHanldler wants to log a message, it calls the 
mylog() method on it's MyLogger.

The above should get you a basic framework where your XmlRpcHandlers can 
write log messages without knowing where they are being called from.

Kenny Smith
JournalScape.com


Richard Clark wrote:
Hi, I am new to James, and have also only been working with Java for a
few months (C die hard), so forgive me if I am missing a blatantly
obvious answer ;)
My question is, Is it possible (and how) to call/hook into the logging
functions of James.  

I have a mailet (which seems to be working fine) to process XML-RPC
calls in email attachments.  The mailet launches a handler object with a
call to Apache's XmlRpcServer.execute().  

What I want to be able to do is perform logging to the James
mailet-xxx.log from withing my XmlRpcHandler object which has no
knowledge of the GenericMailet object.
Thanks in advance for any pointers.

-Richard C

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: InSpammerBlackList not behaving?

2003-06-23 Thread Kenny Smith
 Which version of James?

2.1.2

 Add something to display the IP address.  That could be helpful. 
Also, what
 are the DNS servers listed in the DNS server log?

22/06/03 19:43:02 INFO  dnsserver: DNS Server is: 66.139.72.6
22/06/03 19:43:02 INFO  dnsserver: DNS Server is: 66.139.72.22
   As you can see, we got the desired NXDOMAIN.

--- Noel
hmm... ok, the 'host' command says that doesn't exist. Perhaps dig is 
doing the look up in a more correct or complicated way.

Happy days... looks like I can't use these blacklists anyway because 
they will block my remote users that are sending over cable modems 
AND it looks like they've labeled the /24 I'm on as a spammer block... 
why can't I just find a place to host my site where I'm not blacklisted 
by arogant little wankers because of someone ELSE's abuse? *sigh*

Ah well, I've sent a message to my hosting company, let's see how they 
react.

Thank you again for your help, Noel. Always there with the answer when I 
need you.

Kenny Smith
JournalScape.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: InSpammerBlackList not behaving?

2003-06-23 Thread Kenny Smith
NXDOMAIN == Non-eXistant Domain == host does not exist  :-)
Ok, then I'm really confused now. Because according to my log, 
InSpammerBlacklist is saying these hosts DO exist.

While I'm in this testing phase, I'm not actually ditching the emails 
that match InSpammerBlacklist, I'm just adding a mail header to them and 
flagging those mails with a different color in my inbox.

For example, emails sent from localhost:

# java -cp lib/dnsjava-1.3.2.jar dig 1.0.0.127.relays.ordb.org
; java dig 0.0
;; -HEADER- opcode: STATUS, status: NXDOMAIN, id: 24769
From my mailet log:

InSpammerBlacklist: Looking up 127.0.0.1: 1.0.0.127.relays.ordb.org
InSpammerBlacklist: 1.0.0.127.relays.ordb.org exists
The way it determines if it exists is by doing a getByName() and if an 
UnknownHostException is not thrown, then the host exists.

Kenny Totally Confused Smith



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Redirect class in Mailet Api

2003-06-23 Thread Kenny Smith
Hi Hut,

You may be confused between the Mailet API and Mailets that exist in the 
James API. The Mailet API is a bunch of interfaces that define the 
contracts that Mailets should follow. Using these interfaces, the James 
group has implemented actual Mailets that conform to the Mailet spec.

Try looking here: http://james.apache.org/javadocs/index.html

Instead of here: http://james.apache.org/mailet/index.html

These are both linked to on http://james.apache.org/ on the left.

Kenny

Hut Carspecken wrote:
Hontvari,

Could you please explain a little. :)  I have searched the JavaDocs for the
Mailet API.
Thanks!
- Original Message -
From: Hontvari Jozsef [EMAIL PROTECTED]
To: James Users List [EMAIL PROTECTED]
Sent: Monday, June 23, 2003 3:08 PM
Subject: Re: Redirect class in Mailet Api


see Redirect *mailet*.

- Original Message -
From: Hut Carspecken [EMAIL PROTECTED]
To: James Users List [EMAIL PROTECTED]
Sent: Monday, June 23, 2003 9:58 PM
Subject: Redirect class in Mailet Api
Hello Again,

I need to write a custom mailet that forwards emails to a particular
address

with a change in the subject header.  I believe that Noel mentioned a
redirect class somewhere in the mailet api.  Is there?
THanks,

Hut



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


InSpammerBlackList not behaving?

2003-06-22 Thread Kenny Smith
Hi all,

I'm sure I'm doing something wrong, or misunderstanding, but it appears to
me that the InSpammerBlacklist matcher is matching all the time, regardless
of address.

I've added logging to my InSpammerBlacklist matcher and recompiled and I see
this in the log:

22/06/03 18:44:49 INFO  James.Mailet: InSpammerBlacklist: Looking
up...'67.35.205.24.blackholes.mail-abuse.org'

22/06/03 18:44:49 INFO  James.Mailet: InSpammerBlacklist: Host exists

However, when I look it up from the command line (using my James configured
DNS servers):

# host 67.35.205.24.blackholes.mail-abuse.org 66.139.72.6
Using domain server:
Name: 66.139.72.6
Address: 66.139.72.6#53
Aliases:

Host 67.35.205.24.blackholes.mail-abuse.org not found: 3(NXDOMAIN)
#

I'm thoroughly confused, am I doing something wrong or misunderstanding?

Kenny Smith
JournalScape.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: InSpammerBlackList not behaving?

2003-06-22 Thread Kenny Smith
Hi Noel,

I updated my config.xml with the new lists, but I'm still getting the 
same behavior, now however with the new lists. Is there something else 
I'm missing?

Thanks,
Kenny
On Sunday, June 22, 2003, at 07:06 PM, Noel J. Bergman wrote:

Kenny,

I would not use those block lists.  The latest version of config.xml 
has a
different set.

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: James is featured on IBM DeveloperWorks

2003-06-11 Thread Kenny Smith
This means we're probably going to be getting a lot of new people asking 
questions, we should give extra special attention to answering questions 
on the list.

Kenny

Steve Brewin wrote:
I bet this increases the number of downloads!

Working with James, Part 1 An introduction to Apache's James enterprise
e-mail
 http://www-106.ibm.com/developerworks/java/library/j-james1.html

-- Steve





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Trouble with Sending Remote mail messages

2003-06-11 Thread Kenny Smith
Hi all,

Maybe an example will help:

The DNS servers for my site are

cachens1.serverbeach.com 66.139.72.6
cachens2.serverbeach.com 66.139.72.22
As Serge said, you can use ipconfig /all to find out what name servers 
your windows machine is using.

My DNS server block looks like this:

dnsserver
servers
server66.139.72.6/server
server66.139.72.22/server
/servers
authoritativefalse/authoritative
/dnsserver
I host mail for several domains on my site, including journalscape.com 
and slangman.com, my servernames block looks like this:

servernames autodetect=false autodetectIP=true
servernamelocalhost/servername
servernamejournalscape.com/servername
servernameslangman.com/servername
!-- ... others removed for brevity --
/servernames
I don't know, but perhaps this will help as a clear example.

Kenny Smith
JournalScape.com
Serge Knystautas wrote:
Hutson Carspecken wrote:

Hello Again,

I am still having trouble with sending remote mail addresses.  I can 
send to one remote address (yahoo.com domain) but I can't send to 
where else.

Is there a definitive method or means of configuring a server to send 
remote messages?

I have tried the servernames  tag and the RemoteDelivery mailet 
gateway tag.  Setting these to my ISP IP address.


You don't need to specify any other SMTP server in your configuration. 
servernames is where you put your DNS server.

Since you're running windows, just type ipconfig /all in a command 
window and copy the IP addresses you see under DNS Servers as 
servernames.

Do not specify a gateway, start up your server, and you should be set. 
If email doesn't get through, it is most likely because your ISP is 
blocking you from sending email.  However, since you can deliver to at 
least Yahoo!, then that doesn't seem to be the case.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Connection to James shaky (network is stable though)

2003-06-04 Thread Kenny Smith
Hi all,

I've got a weird one for you.

I have a user who has two POP accounts running on the same James server 
(jenn and jslang are the user names). Sometimes when she's checking her 
jenn account (with Outlook via POP3) she will get an error about not 
being able to contact the server.

In the pop server log I find this (some edits have been made only to 
make the lines shorter):

03/06/03 10:17:48 ERROR pop3server: Exception during connection from 
adsl-67-119-139-124.dsl.lsan03.pacbell.net (67.119.139.124) : Socket closed
java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:162)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at o.a.j.pop3server.POP3Handler.handleConnection(POP3Handler.java:307)
at 
o.a.j.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:462)
at 
o.a.a.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
at o.a.a.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)



The weird part is that she NEVER has a problem when checking the jslang 
account, even though they are on the same server. After Outlook fails to 
connect to James, it stops checking again until she closes and opens 
Outlook again.

Does anyone have any suggestions? I'm going to setup ngrep to see what's 
going on, but I'm not sure I can recreate it at will.

Kenny



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JDBC Repository: What is in the error_message field?

2003-04-01 Thread Kenny Smith
Hi all,

I'm _really_ sorry to post this again. I know I asked this question like 
6 months ago, but I can't seem to find it in the archives and I don't 
remember.

I'm writing a tool that will be me a way to take a glance at the 
spool/spam/deadletter repositories. The message_state on a bunch of the 
messages is 'error' and the error_message is set to a number (in this 
case, either 13, 14 or 15). Where can I find out what those error codes 
mean in english?

Kenny Smith
JournalScape.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SMTP AUTH scares me...

2003-03-19 Thread Kenny Smith
Hi Emmanuel,

I had a problem with this at work. For some reason the firewall was 
dropping packets that it deemed to be authentication packets. This 
included SMTP, SSH, all sorts of stuff. The IT guys didn't really tell 
what they changed or give me a good description, but it sounded like 
some sort of proxy configuration was the cause.

Kenny

Emmanuel Gilmont wrote:
Hello guys,

I have troubles with the smtp protocol enabled with auth and verification. 
When I send mails from my lan, there are no problems, the log shows correctly 
that the auth mechanism works well. When I try the same from the internet, 
the auth fails. When I try to telnet my james server and issue a ehlo 
command, I must retry several times before getting the message auth=auth 
login...

Between my james server and the Internet, I have a Dlink DI804 
router/firewall. Does it possible that it's the problem? How can I solve 
this?

Any idea? Thanks a lot,
Emmanuel
_
Envie de discuter en live avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SMTP AUTH scares me...

2003-03-19 Thread Kenny Smith
Hi Danny,

I've totally found James/SMTP-AUTH to be totally rocking too, but this 
problem I had with the lan at work made it appear that when I telneted 
to james and issued the ehlo, that no AUTH LOGIN PLAIN was returned.

I downloaded Ethereal on my workstation and fired up ngrep on the james 
box so that I could sniff the network locally on both machines. In the 
ngrep on the mail server I could see James responding with the AUTH 
LOGIN PLAIN but in the sniff from my local workstation there was no such 
thing.

The firewall was stripping it out, presumably so that it could proxy the 
connections to mail servers and handle any SMTP-AUTH automatically. Very 
weird.

Kenny Smith

Danny Angus wrote:
Many firewalls handle SMTP differently than other connections.

Usually they simply filter packets based on their source and destination. 
It is often possible, however, for firewalls to be setup to proxy SMTP traffic on port 25.
This allows the firewall to use services such as RBL's (Relay Black Lists) to block mail from known open relays, and possibly implement other  rules.

I don't think this is your issue though.

When you connect from anywhere and issue EHLO you should get 250 AUTH LOGIN PLAIN

but you are only required to actually authenticate yourself if the RCPT TO recipients are not local.

I've found SMTP AUTH to be quite effective and stable, but I'm using James from cvs, and the first release of v2.1 not the latest release of v2.

d.


-Original Message-
From: Emmanuel Gilmont [mailto:[EMAIL PROTECTED]
Sent: 19 March 2003 08:46
To: James-User Mailing List
Subject: SMTP AUTH scares me...
Hello guys,

I have troubles with the smtp protocol enabled with auth and 
verification. 
When I send mails from my lan, there are no problems, the log 
shows correctly 
that the auth mechanism works well. When I try the same from the 
internet, 
the auth fails. When I try to telnet my james server and issue a ehlo 
command, I must retry several times before getting the message auth=auth 
login...

Between my james server and the Internet, I have a Dlink DI804 
router/firewall. Does it possible that it's the problem? How can I solve 
this?

Any idea? Thanks a lot,
Emmanuel
_
Envie de discuter en live avec vos amis ? Tlcharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1re messagerie instantane de France
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Ridiculous number of processes

2003-03-11 Thread Kenny Smith
Hi Noel,

I very happy you posted this, I totally want to use it (because I really
don't like telneting to shutdown james). I have a question, I've got a
script called /etc/rc3.d/S99james that starts up james on boot, should I
remove that now that I put yours in /etc/rc.d/init.d ?

Kenny

 I am attaching a script for James
 suitable for use with SysVInit.  If you are using a system like
 RedHat, then this would go into /etc/rc.d/init.d/.

  $ chkconfig --add james   # add james to default runlevels

 You can also use service service-name [service-command], e.g.,

  $ service james   # list available commands

 Nota Bene: you must either update the path inside this script, or
 make sure that james is visible through /opt/james, e.g., via a symlink.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: uknown smtp host - virtual server?

2003-03-06 Thread Kenny Smith
Hi,

Isn't the problem that since that trailing really shouldn't be there 
from JavaMail's perspective that it's not going to look up the host 
correctly?

Kenny

Noel J. Bergman wrote:
Josip,

Good question.  I can reproduce the results, but I'm not sure what is going
wrong inside of JavaMail for that one.  Have sent of an inquiry.
	--- Noel

-Original Message-
From: Josip Almasi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 6:41
To: [EMAIL PROTECTED]
Subject: uknown smtp host - virtual server?
Hi,

When my James 2.1.2 sends to game.mtonline.org, I get
javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
java.net.UnknownHostException: 193.95.196.170.
But, I _can_ connect to it on smtp.
It's a virtual server there, so reverse query will not return
game.mtonline.org.
In spoolmanager.log is DEBUG spoolmanager: Result was ghost

In short - can I send to virtual servers?

Thanks!

Josip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: uknown smtp host - virtual server?

2003-03-06 Thread Kenny Smith
Hi all,

Isn't the problem here simply that the DNS lookup doesn't expect that 
trailing dot to be on there?

Kenny Smith

Noel J. Bergman wrote:
Josip,

Good question.  I can reproduce the results, but I'm not sure what is going
wrong inside of JavaMail for that one.  Have sent of an inquiry.
	--- Noel

-Original Message-
From: Josip Almasi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 06, 2003 6:41
To: [EMAIL PROTECTED]
Subject: uknown smtp host - virtual server?
Hi,

When my James 2.1.2 sends to game.mtonline.org, I get
javax.mail.MessagingException: Unknown SMTP host: 193.95.196.170.;
java.net.UnknownHostException: 193.95.196.170.
But, I _can_ connect to it on smtp.
It's a virtual server there, so reverse query will not return
game.mtonline.org.
In spoolmanager.log is DEBUG spoolmanager: Result was ghost

In short - can I send to virtual servers?

Thanks!

Josip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


What Causes: IOException: Could not find message

2003-03-05 Thread Kenny Smith
I'm sending a mail through my new james install (moving to a new server 
and trying to get it setup) and I'm getting this on the console where I 
started james:

java.io.IOException: Could not find message
at 
org.apache.james.mailrepository.MimeMessageJDBCSource.getInputStream(MimeMessageJDBCSource.java:176)
at 
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:287)
at 
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:321)
at 
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:311)
at 
org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.java:626)
at org.apache.james.James.storeMail(James.java:848)

Any idea what causes that?

Kenny

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: What Causes: IOException: Could not find message

2003-03-05 Thread Kenny Smith
Hi Noel,

Well, this is my situation... I have potentially two instances of James 
using the same tables for reading/writing.

I'm moving ISPs right so, I've got my original James using the mysql on 
my new server, in addition to the james on my new server using those 
same tables.

I added some debug stuff already and did what you described below with 
adding the query and params to the message so I could see what's going 
on. At this point, I'm hoping the server/dns switch will only be going 
on for another 6 or 7 hours, so I have more pressing things to deal with 
until then. I'm sure it will be just fine once we are back to one James 
accessing the tables.

Thanks for your response! Helpful as always! :)
Kenny
Noel J. Bergman wrote:
Kenny,

Never seen that message, but it is concerning that you are seeing it.  The
IOException could be more descriptive by telling you the message name (key)
that it was using, but basically it means that it did a query using the
message name and repository name, and got a bad response from:
 SELECT message_body FROM ${table} WHERE message_name = ? AND
repository_name = ?
you might want to check your database.

What appears to be happening is that James is being asked to store a message
that is already in a JDBC store (the spool) into a user inbox.  At the
particular point where the exception occurs, it is trying to open an input
stream on the message headers.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 11:56
To: [EMAIL PROTECTED]
Subject: What Causes: IOException: Could not find message
I'm sending a mail through my new james install (moving to a new server
and trying to get it setup) and I'm getting this on the console where I
started james:
java.io.IOException: Could not find message
 at
org.apache.james.mailrepository.MimeMessageJDBCSource.getInputStream(MimeMes
sageJDBCSource.java:176)
 at
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:287
)
 at
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:321
)
 at
org.apache.james.core.MimeMessageWrapper.writeTo(MimeMessageWrapper.java:311
)
 at
org.apache.james.mailrepository.JDBCMailRepository.store(JDBCMailRepository.
java:626)
 at org.apache.james.James.storeMail(James.java:848)
Any idea what causes that?

Kenny

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Spool Error Codes?

2003-03-03 Thread Kenny Smith
Hey all,

I'm looking at stuff in my error spool, but I don't know what the error 
codes mean. Are they documented anywhere?

Kenny

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Cesar,

Thanks for the reply, but I'm already using 2.1.1, so that patch is 
included. Any other suggestions?

Kenny

Cesar Bonadio wrote:
I had the same problema in version 2.03a and I found 
a patch in the users mailling list after the patch it worked 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Randy,

I definately have netspcape configured to auth, because it was working 
before and it stopped yesterday. I'm trying to find out what else in the 
system may have changed, but I can't find anything. So, I'm just fishing 
for suggestions at this point.

Thanks for the response!
Kenny
JRC wrote:
Kenny,

I'm using James 2.1a1 with Phoenix 4.0.1. SMTP AUTH true
I just downloaded and installed Netscape 7 to try it out. I configured
Netscape mail for one of my local James accounts and had no trouble sending
mail to one of my remote accounts. Maybe you don't have Netscape configured
to authenticate
---randy

- Original Message -
From: Kenny Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 9:55 AM
Subject: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?


Hi all,

I've been running SMTP-AUTH on my James 2.1 server for quite awhile now
and it's been working great. Suddenly though, I find that Netscape and
Mozilla's mail readers refuse to send smtp-auth information.
Has anyone experienced this? I've sniffed the communication and it looks
to me like James is sending the AUTH LOGIN PLAIN notification, but my
mail reader is just ignoring it.
I'm able to use Outlook to auth and send just fine, but Netscape 7,
Mozilla 1.2b and 1.3b are giving me problems.
Kenny Smith

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Noel,

This is what I'm seeing...

S: 220 samaritech.net SMTP Server (JAMES SMTP Server 2.1) ready Fri, 28 
Feb 2003 10:55:37 -0800 (PST)

C: EHLO journalscape.com

S: 250-samaritech.net Hello journalscape.com (63.149.241.217 
[63.149.241.217])
250 AUTH LOGIN PLAIN

C: MAIL FROM:[EMAIL PROTECTED]

S: 250 Sender [EMAIL PROTECTED] OK

C: RCPT TO:[EMAIL PROTECTED]

S: 530 Authentication Required

It looks like James is sending 250 AUTH LOGIN PLAIN and Netscape is 
simply not responding.

Kenny

Noel J. Bergman wrote:
Suddenly though, I find that Netscape and Mozilla's
mail readers refuse to send smtp-auth information.


Kenny,

Is this a change in behavior?  There was a change made to send:

 250-AUTH LOGIN PLAIN
 250 AUTH=LOGIN PLAIN
Are you seeing both?  Is that causing a problem?

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Noel,

Well, that's a darn good point. I thought I upgraded... hmmm. Let me 
give the upgrade another try.

What is the CVS tag I should be using to get the latest 2.x version?

Kenny

Noel J. Bergman wrote:
Kenny,

You are running James v2.1, not James v2.1.1 or James v2.1.2.  One
difference is that new reply I mentioned to you, which was added to the code
on February 9th.
You really ought to try James v2.1.2.  It has that additional response for
some SMTP AUTH clients, and there are critical bug fixes, too.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 14:03
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

This is what I'm seeing...

S: 220 samaritech.net SMTP Server (JAMES SMTP Server 2.1) ready Fri, 28
Feb 2003 10:55:37 -0800 (PST)
C: EHLO journalscape.com

S: 250-samaritech.net Hello journalscape.com (63.149.241.217
[63.149.241.217])
250 AUTH LOGIN PLAIN
C: MAIL FROM:[EMAIL PROTECTED]

S: 250 Sender [EMAIL PROTECTED] OK

C: RCPT TO:[EMAIL PROTECTED]

S: 530 Authentication Required

It looks like James is sending 250 AUTH LOGIN PLAIN and Netscape is
simply not responding.
Kenny

Noel J. Bergman wrote:

Suddenly though, I find that Netscape and Mozilla's
mail readers refuse to send smtp-auth information.


Kenny,

Is this a change in behavior?  There was a change made to send:

250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
Are you seeing both?  Is that causing a problem?

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Noel,

When I tried perviously to do a cvs update in my james dir and build, it 
tried to build 3.0a1. Did I do something incorrectly?

Kenny

Noel J. Bergman wrote:
No CVS tag necessary.  James v2.1.2 is the current release.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 15:59
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

Well, that's a darn good point. I thought I upgraded... hmmm. Let me
give the upgrade another try.
What is the CVS tag I should be using to get the latest 2.x version?

Kenny

Noel J. Bergman wrote:

Kenny,

You are running James v2.1, not James v2.1.1 or James v2.1.2.  One
difference is that new reply I mentioned to you, which was added to the
code

on February 9th.

You really ought to try James v2.1.2.  It has that additional response for
some SMTP AUTH clients, and there are critical bug fixes, too.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 14:03
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

This is what I'm seeing...

S: 220 samaritech.net SMTP Server (JAMES SMTP Server 2.1) ready Fri, 28
Feb 2003 10:55:37 -0800 (PST)
C: EHLO journalscape.com

S: 250-samaritech.net Hello journalscape.com (63.149.241.217
[63.149.241.217])
250 AUTH LOGIN PLAIN
C: MAIL FROM:[EMAIL PROTECTED]

S: 250 Sender [EMAIL PROTECTED] OK

C: RCPT TO:[EMAIL PROTECTED]

S: 530 Authentication Required

It looks like James is sending 250 AUTH LOGIN PLAIN and Netscape is
simply not responding.
Kenny

Noel J. Bergman wrote:


Suddenly though, I find that Netscape and Mozilla's
mail readers refuse to send smtp-auth information.


Kenny,

Is this a change in behavior?  There was a change made to send:

250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
Are you seeing both?  Is that causing a problem?

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Noel,

I totally understand, that's what I was asking previously. What is the 
name of the 2.x branch so I can check it out?

cvs update -r xx ?

Kenny

Noel J. Bergman wrote:
Kenny,

To get at James v2, you need to check out a branch.  James HEAD is the v3
content.  I have two James directories on my system, one for the version 2
branch, the other for HEAD.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 17:31
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

When I tried perviously to do a cvs update in my james dir and build, it
tried to build 3.0a1. Did I do something incorrectly?
Kenny

Noel J. Bergman wrote:

No CVS tag necessary.  James v2.1.2 is the current release.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 15:59
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

Well, that's a darn good point. I thought I upgraded... hmmm. Let me
give the upgrade another try.
What is the CVS tag I should be using to get the latest 2.x version?

Kenny

Noel J. Bergman wrote:


Kenny,

You are running James v2.1, not James v2.1.1 or James v2.1.2.  One
difference is that new reply I mentioned to you, which was added to the
code


on February 9th.

You really ought to try James v2.1.2.  It has that additional response for
some SMTP AUTH clients, and there are critical bug fixes, too.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 14:03
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

This is what I'm seeing...

S: 220 samaritech.net SMTP Server (JAMES SMTP Server 2.1) ready Fri, 28
Feb 2003 10:55:37 -0800 (PST)
C: EHLO journalscape.com

S: 250-samaritech.net Hello journalscape.com (63.149.241.217
[63.149.241.217])
250 AUTH LOGIN PLAIN
C: MAIL FROM:[EMAIL PROTECTED]

S: 250 Sender [EMAIL PROTECTED] OK

C: RCPT TO:[EMAIL PROTECTED]

S: 530 Authentication Required

It looks like James is sending 250 AUTH LOGIN PLAIN and Netscape is
simply not responding.
Kenny

Noel J. Bergman wrote:



Suddenly though, I find that Netscape and Mozilla's
mail readers refuse to send smtp-auth information.


Kenny,

Is this a change in behavior?  There was a change made to send:

250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
Are you seeing both?  Is that causing a problem?

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?

2003-02-28 Thread Kenny Smith
Hi Noel,

The problem still is occuring, but I'm pretty much convinced at this 
point that SOMETHING on my company's network is blocking the AUTH lines 
in the response.

When I telnet to james from my windows box at work, I see:

250-samaritech.net Hello journalscape.com (lax.oingo.com [209.189.108.252])

and when I telnet to james from my linux box at work, I see:
250-samaritech.net Hello journalscape.com (lax.oingo.com [209.189.108.252])
250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
So.. in the end. I'm running 2.1.2 and convinced that James is behaving 
properly.

Thanks for all your help, I'll go nag the IT guys.

Kenny Smith

Noel J. Bergman wrote:
Oh, sorry!  I thought you meant a linear tag.  The branch is branch_2_1_fcs.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 18:19
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

I totally understand, that's what I was asking previously. What is the
name of the 2.x branch so I can check it out?
cvs update -r xx ?

Kenny

Noel J. Bergman wrote:

Kenny,

To get at James v2, you need to check out a branch.  James HEAD is the v3
content.  I have two James directories on my system, one for the version 2
branch, the other for HEAD.
	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 17:31
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

When I tried perviously to do a cvs update in my james dir and build, it
tried to build 3.0a1. Did I do something incorrectly?
Kenny

Noel J. Bergman wrote:


No CVS tag necessary.  James v2.1.2 is the current release.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 15:59
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

Well, that's a darn good point. I thought I upgraded... hmmm. Let me
give the upgrade another try.
What is the CVS tag I should be using to get the latest 2.x version?

Kenny

Noel J. Bergman wrote:



Kenny,

You are running James v2.1, not James v2.1.1 or James v2.1.2.  One
difference is that new reply I mentioned to you, which was added to the
code



on February 9th.

You really ought to try James v2.1.2.  It has that additional response

for

some SMTP AUTH clients, and there are critical bug fixes, too.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 14:03
To: James Users List
Subject: Re: Anyone had problems with SMTP-AUTH and Netscape/Mozilla?
Hi Noel,

This is what I'm seeing...

S: 220 samaritech.net SMTP Server (JAMES SMTP Server 2.1) ready Fri, 28
Feb 2003 10:55:37 -0800 (PST)
C: EHLO journalscape.com

S: 250-samaritech.net Hello journalscape.com (63.149.241.217
[63.149.241.217])
250 AUTH LOGIN PLAIN
C: MAIL FROM:[EMAIL PROTECTED]

S: 250 Sender [EMAIL PROTECTED] OK

C: RCPT TO:[EMAIL PROTECTED]

S: 530 Authentication Required

It looks like James is sending 250 AUTH LOGIN PLAIN and Netscape is
simply not responding.
Kenny

Noel J. Bergman wrote:




Suddenly though, I find that Netscape and Mozilla's
mail readers refuse to send smtp-auth information.


Kenny,

Is this a change in behavior?  There was a change made to send:

250-AUTH LOGIN PLAIN
250 AUTH=LOGIN PLAIN
Are you seeing both?  Is that causing a problem?

	--- Noel

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED

Re: adding user using JSP/Servlet

2003-02-26 Thread Kenny Smith
Hi alan,

Most likely! When I originally wrote it, I barely knew anything about 
James (not too much has changed *smile*) so I couldn't add cool things 
like that into it. I just needed to get a working product because I had 
convinced them to move from sendmail to James and I needed to replace 
the automation they had for user accounts and aliases asap.

Kenny Smith
JournalScape.com
alan.gerhard wrote:

Kenny -

Since you are using the James package for password
encryption, would it be that much more to use the
interface to the user repository ??
This way your code could be used as a basis for a more
generic web-based user management utility.


I'm using the JDBCUserRepository to store my users, and I
just wrote a  webapp that inserts rows into the database
directly. I used one of the  James classes to encrypt the
password (so it would always be done the  same way) and
that works great for me. I hate doing something
interactive like telnet in a automated fashion. It just
seems fragile to me.

Kenny Smith
JournalScape.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: updating my james version

2003-02-22 Thread Kenny Smith
Hi all,

Just to throw something else in for the visual diff tools... I use jEdit for
all my XML editing and Java programming and it can automatically download
and install jDiff a color-coded visual diffing tool. I like it quite a bit.

http://www.jedit.org/

Kenny

 -Original Message-
 From: Noel J. Bergman [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 22, 2003 12:26 PM
 To: James Users List
 Subject: RE: updating my james version


  what did you use to accomplish this:
   - view color coded difference (good tools help)

 I use Epsilon's visual-diff, but there is a free, online, color difference
 tool located at http://tachyon.perlmonk.org/scripts/color_coded_diff.htm.

 If you use that online tool, I recommend that you put the new James config
 file first, and your own config file second.  That way any difference from
 the new James config will appear highlighted in red (cultural warning
 color), and your changes in green.

 One tricky thing is that the above script only highlights the character
 text, so you have to be really careful to spot color coded XML
 comments that
 enable or disable a section of code.

   --- Noel


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: A safe SenderIsLocal matcher?

2003-02-14 Thread Kenny Smith
Hi Vincenzo,

Are the people sending messages on the same network in your office or 
are they distributed out on the internet? If they are in an office 
situation, you can simply restrict the logic based on the network. There 
is an example of it in the default james config.xml

mailet match=RemoteAddrNotInNetwork=127.0.0.1 class=ToProcessor
 processor spam /processor
/mailet

This sends anything that isn't from localhost to the spam processor. You 
 could use this to control access to your lists.

Kenny Smith
JournalScape.com

Vincenzo Gianferrari Pini wrote:

I need a matcher that checks if the sender of a message is a local user.

I wrote (very simple task indeed) such matcher (SenderIsLocal, a kind of
mix of SenderIs and RecipientIsLocal). If anyone is ever interested in
it just let me know.

But there is a possible hole in it. Here follows my problem and 
question.

The reason why I need this matcher is to have, in the config.xml file, a
message coming from a local user of my company go to a special processor
that will try to match against some RecipientIS conditions that will 
have
the message spread (using either class=AvalonListserv or 
class=Redirect)
to one or more large lists of local users and/or customers.

As just said, it is imperative for me that only *local users* may send
messages to such lists, and it must be verifiable in the logs. The 
matcher I
wrote works perfectly, but anyone from outside could just fake the sender
email address using a legitimate local user address and have a spam or 
nasty
message sent to lots of people, even customers, acting as someone else 
(also
someone from inside could use someone else's name and damage).

I can (and have) set both SMTP  and  to true
in my config.xml file, but unfortunately this is not enough, as such 
checks
are being done only for messages not going to local recipients, and my 
lists
are local recipients themselves.

So here is my question: is there any way in the matcher Java code to check
for the sender having been authenticated and verified (even when all
recipients are local), instead of checking if
(mailetContext.isLocalServer(senderMailAddress.getHost()) 
mailetContext.isLocalUser(senderMailAddress.getUser()))? I would need the
equivalent of something like if (mailetContext.isSenderAuthenticated() 
mailetContext.isSenderVerified()). Or is there any other way to obtain my
goal?

Can someone help me?

Thanks,

Vincenzo


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Really slow spooling again... :(

2003-02-10 Thread Kenny Smith
Hi all,

I'm having all of my mail backup in the spool tables (using JDBC) with a 
message_state of 'transport'. I've turned up my logging to DEBUG, but 
I'm not seeing anything in the logs that looks relevant to slow 
performance. I sent 230 email 2 hours ago and there are still 190 in the 
spool/transport waiting to get sent.

I saw the recent conversation about indexes on the spool table causing 
slow downs after a while, so I stopped James, dumped the table, removed 
the indicies, put the table back in and started James up. Nothing 
appears to have changed.

I'm running James 2.1 with jdk1.4 on Solaris.

Any help is appreciated.

Kenny Smith


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Really slow spooling again... :(

2003-02-10 Thread Kenny Smith
Hi Noel et al,

It appears that connections from my server are getting denied by hotmail 
and yahoo (my ISP just got labeled as a spammer... I'm trying to find a 
new ISP), so I'm getting a lot of timeouts and a lot of retries. I can 
only assume that it's just going through the spool really slowly because 
it takes a long time to timeout. :/

Me need new ISP. *sigh*

Kenny

Noel J. Bergman wrote:

Kenny,

I have run tests most nights lately, each about 1 million messages.  They
run through the spooler until they encounter a matcher that discards them
all.  The tests average about 1400 messages per minute on the 400 mhz
Celeron test bed.

The test basically exercises the heck out of the SMTP handler and the
spooler.  The spooler is configured in mysql as:





The data-source is the standard entry for MySQL, except that the 
database is
test on that machine.

What database (type and version) are you using?  One thing that I found a
while ago was that on very rare occassions, I could go into MySQL, do a
manual SQL query, and notice an excessive amount of time (let's say 1 
second
instead of 0.006).  Restarting MySQL (and James because of mordred) 
cleared
that up.

The fact that they are in transport is insufficient.  What you need to 
do is
see where in the processor they are.  Look for entries of the kind:

 Checking  with
 Servicing  by

Those should tell us specifically where in the transport the message has
gotten, and the timestamps will tell us how long it is taking to move
through the spool.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 13:10
To: [EMAIL PROTECTED]
Subject: Really slow spooling again... :(

Hi all,

I'm having all of my mail backup in the spool tables (using JDBC) with a
message_state of 'transport'. I've turned up my logging to DEBUG, but
I'm not seeing anything in the logs that looks relevant to slow
performance. I sent 230 email 2 hours ago and there are still 190 in the
spool/transport waiting to get sent.

I saw the recent conversation about indexes on the spool table causing
slow downs after a while, so I stopped James, dumped the table, removed
the indicies, put the table back in and started James up. Nothing
appears to have changed.

I'm running James 2.1 with jdk1.4 on Solaris.

Any help is appreciated.

Kenny Smith


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Really slow spooling again... :(

2003-02-10 Thread Kenny Smith
Hi Noel,

I've got a co-lo.. I'm talking to my buddy who shares the colo with me, 
we desperately need a new host. I've talked to the ISP about the problem 
and they don't seem to care, so they obviously don't take spam seriously.

Kenny

Noel J. Bergman wrote:

Kenny,

Try adding some additional threads to RemoteDelivery, but unless you also
configured RemoteDelivery's output spool for JDBC, do *not* do it 
unless you
are using v2.1.1a7 or later, due to a synchronization error that I 
found and
fixed.

Yes, the record at openrbl.org doesn't look good for you.  Are you a colo,
or do you need a host?

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 18:31
To: James Users List
Subject: Re: Really slow spooling again... :(


Hi Noel et al,

It appears that connections from my server are getting denied by hotmail
and yahoo (my ISP just got labeled as a spammer... I'm trying to find a
new ISP), so I'm getting a lot of timeouts and a lot of retries. I can
only assume that it's just going through the spool really slowly because
it takes a long time to timeout. :/

Me need new ISP. *sigh*

Kenny

Noel J. Bergman wrote:


Kenny,

I have run tests most nights lately, each about 1 million messages.  They
run through the spooler until they encounter a matcher that discards them
all.  The tests average about 1400 messages per minute on the 400 mhz
Celeron test bed.

The test basically exercises the heck out of the SMTP handler and the
spooler.  The spooler is configured in mysql as:





The data-source is the standard entry for MySQL, except that the
database is
test on that machine.

What database (type and version) are you using?  One thing that I found a
while ago was that on very rare occassions, I could go into MySQL, do a
manual SQL query, and notice an excessive amount of time (let's say 1
second
instead of 0.006).  Restarting MySQL (and James because of mordred)
cleared
that up.

The fact that they are in transport is insufficient.  What you need to
do is
see where in the processor they are.  Look for entries of the kind:

 Checking  with
 Servicing  by

Those should tell us specifically where in the transport the message has
gotten, and the timestamps will tell us how long it is taking to move
through the spool.

	--- Noel

-Original Message-
From: Kenny Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 13:10
To: [EMAIL PROTECTED]
Subject: Really slow spooling again... :(

Hi all,

I'm having all of my mail backup in the spool tables (using JDBC) with a
message_state of 'transport'. I've turned up my logging to DEBUG, but
I'm not seeing anything in the logs that looks relevant to slow
performance. I sent 230 email 2 hours ago and there are still 190 in the
spool/transport waiting to get sent.

I saw the recent conversation about indexes on the spool table causing
slow downs after a while, so I stopped James, dumped the table, removed
the indicies, put the table back in and started James up. Nothing
appears to have changed.

I'm running James 2.1 with jdk1.4 on Solaris.

Any help is appreciated.

Kenny Smith


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: restart james

2003-02-07 Thread Kenny Smith
Hi Pete,

If you telnet to port 4555 to the remote manager, you can issue a 
shutdown command, which will stop James. Then simply start it the normal 
way.

Kenny

Pete Freitag wrote:

Hi,

What is the recommended way to restart or stop James? There aren't any
scripts in the bin directory for this.

Running bin/phoenix.sh stop  seams to stop phoenix but not james.

I can kill the process, but I would think there is a better way.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: How to add new user into JDBC repository using James API (without using the james remotemanager)

2003-02-02 Thread Kenny Smith
Hi Jm,

I don't think there is a way to do it currently built into James. I just
wrote a class that did some JDBC work directly on the table and manage my
users like that.

KEnny

 -Original Message-
 From: Jm Seigneur [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, February 02, 2003 9:42 AM
 To: 'James Users List'
 Subject: How to add new user into JDBC repository using James API
 (without using the james remotemanager)


 Hello,

 Is there a tutorial (java sources) explaining how to add a new user into
 JDBC repository using James API (without using the james remotemanager)?

 Thanks,

 Jm


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: James v2.1.1a4 Milestone - LOG ROTATION BY DEFAULT

2003-01-27 Thread Kenny Smith
Wouldn't it be better to just have the rollover frequency and filename
be configurable, so that we don't have to have this big conversation?

I haven't had time to read the entire thread, so pardon me if this has
already been covered.

Kenny

[EMAIL PROTECTED] wrote:

- Original Message -
From: Noel J. Bergman [EMAIL PROTECTED]
Sent: Jan 27, 3:10 PM



The only question right now is what to put into the v2.1.1 Release build, 


I prefer '-MM-dd-hh-mm' over '-MM-dd'.

If one extends logging to rollover more than once a day, the former would hold better. It is also good to know the time rollover occurred.

Harmeet




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: James v2.1.1a4 Milestone - LOG ROTATION BY DEFAULT

2003-01-27 Thread Kenny Smith
Wouldn't it be better to just have the rollover frequency and filename 
be configurable, so that we don't have to have this big conversation?

I haven't had time to read the entire thread, so pardon me if this has 
already been covered.

Kenny

[EMAIL PROTECTED] wrote:
- Original Message -
From: Noel J. Bergman [EMAIL PROTECTED]
Sent: Jan 27, 3:10 PM



The only question right now is what to put into the v2.1.1 Release build, 


I prefer '-MM-dd-hh-mm' over '-MM-dd'.

If one extends logging to rollover more than once a day, the former would hold better. It is also good to know the time rollover occurred.

Harmeet




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: James v2.1.1a4 Milestone - LOG ROTATION BY DEFAULT

2003-01-27 Thread Kenny Smith
It *is* configurable.  Just change environment.xml.  I'm only considered
about what the default should be, out of the box.  This isn't a code change.


Ah, ok, thanks. Sorry about that.

Well, if it matters, I would recommend just MMDD if the out of the 
box rotation is daily.

Kenny


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: What is in the Error Field in the Spool table?

2003-01-22 Thread Kenny Smith
Hi Noel,

Um... still not very familiar with this portion of the server...We were 
sending out a bunch of emails, the entries were in the spool table with 
a message_state of 'transport' does that help?

Kenny

Noel J. Bergman wrote:
Kenny,

Without seeing what's going on, it would be hard to say.  It works quickly
for me.  Which spool?  Main spool or outgoing spool?

	--- Noel


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Sorry about the email confusion

2003-01-22 Thread Kenny Smith
I'm getting it sorted out.

Kenny


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Is it possible to use JDBCVirtualUserTable to /dev/null mail?

2003-01-22 Thread Kenny Smith
Hi Noel et al,

Is there currently a way to describe that mail to an alias should just go
into the bit bucket? If figure if there isn't a specific way, I can just add
a mailet that matches a specific address which will send something to
/dev/null and then just make my alias point at that address, but I was
wondering if there is a self contained way to do that with
JDBCVirtualUserTable.

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Max attachment size?

2003-01-21 Thread Kenny Smith
Hi Dave,

If you are using the JDBC repository then max size of the message can be 
limited by your database server.

What Repository are you using, File or JDBC?

Kenny Smith
JournalScape.com

Key88 SF wrote:

Does James have any limitation on the maximum size of an email message 
(or attachment), other than actual system resources?


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




What is in the Error Field in the Spool table?

2003-01-21 Thread Kenny Smith
Hey all,

I'm using the JDBC classes, so my spool is stored in a table. My 
co-worker sent out an invite to like 200 people and most of it has been 
sitting in the spool for like an hour now. It's been slowing shrinking 
(down to 120 now)... however, there isn't anything in the error field. 
Why would it be taking so long without an error?

Kenny


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Have a problem with mailets

2003-01-17 Thread Kenny Smith
Hi Damian,

Can you send the little part from your config.xml that contains the 
mailet definition?

Kenny Smith
JournalScape.com

Damian Minkov wrote:
Hi,
  I configure and use James 2.1 . And I have problems with using the
  avaluble mailets.

  What I do:
  If I receive a message from all@Myhost I send this to some other
  mails. And every mail taht had gone throw this mailet doesn't keep it's
  original sender but another - a sender in the to/to part (the
  sender is one of the person I'm sending this mail to). I've tried this
  with and without this part :
  sendersender/sender the result is the same.

  Can you help me?




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Upgrade to 2.1

2003-01-01 Thread Kenny Smith
Hi all,

I've been running 2.1a1-cvs and I wanted to upgrade to the new full 2.1
release, but when I start the new one up, it says that it's 2.1a1-cvs. What
I did:

I went to my root james directory and did a cvs update.. it updated a
whole bunch of files. I ran build.sh and it compiled everything and created
a dist/james-2.1 directory. I ran it once to explode the sar and then copied
my config.xml into the new james-2.1 place. When I start up this is what I
see:

# /etc/rc3.d/S99james
Using PHOENIX_HOME:   /export/home/local/jakarta-james/dist/james-2.1
Using PHOENIX_TMPDIR: /export/home/local/jakarta-james/dist/james-2.1/temp
Using JAVA_HOME:  /usr/local/java2
Running Phoenix:

Phoenix 4.0.1

James 2.1a1-cvs
Remote Manager Service started plain:4556
POP3 Service started plain:110
SMTP Service started plain:25
NNTP Service Disabled
Fetch POP Disabled

Any idea why that is happening?

Kenny Smith
JouralScape.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Upgrade to 2.1

2003-01-01 Thread Kenny Smith
Hi Noel,

No, I didn't do a clean build first. I'll try that.

Kenny

 -Original Message-
 From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 01, 2003 4:16 PM
 To: James Users List
 Subject: RE: Upgrade to 2.1
 
 
 Kenny,
 
 Please doublecheck.  When I look at the CVS right now, I see the correct
 version in build.xml
 (http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-james/build.xml).
 
 Did you do:
 
./build clean
 
 before doing the build?
 
   --- Noel
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Upgrade to 2.1

2003-01-01 Thread Kenny Smith
Hi Noel,

I did the clean build and started it up, but I got the following exception:

org.apache.avalon.framework.component.ComponentException: Cannot find or
init repository:
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository

I realized that a cvs update might not get new directories and such, so I
backed up to /usr/local and did a checkout instead of an update, then a
clean build and it started up just fine.

Kenny Smith

 -Original Message-
 From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 01, 2003 4:16 PM
 To: James Users List
 Subject: RE: Upgrade to 2.1


 Kenny,

 Please doublecheck.  When I look at the CVS right now, I see the correct
 version in build.xml
 (http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-james/build.xml).

 Did you do:

./build clean

 before doing the build?

   --- Noel


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Documentation

2002-12-22 Thread Kenny Smith
Hi Alan,

If you are interested in picking up an XML authoring tool, I suggest jEdit
(http://www.jedit.org/). It's a great text editor (and so much more). There
is an XML plugin that you can install (there is a menu, it's just a couple
of clicks) and that will do highlighting and validation and tag completion,
etc, etc.

I love it. :)

Kenny



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: wildcard support with alias

2002-12-20 Thread Kenny Smith
Hi J,

Yeah, it's a database solution (and works really well in my experience).

Kenny

J. Norment wrote:


Do you need a database to use that?


On Fri, 20 Dec 2002 04:11:43 -0500, Noel J. Bergman wrote:

In case no one mentioned it, the JDBCVirtualUserTable mailet
provides that
feature.




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Back to square one with James

2002-12-09 Thread Kenny Smith
Hi all,

I know that Tom's message may not have been what everyone wanted to 
hear, but a lot of people are posting responses to Tom's message without 
offering any help. I'm trying to help him in a private thread, but I'm 
certainly no expert.

I totally agree with everyone that James is better than sendmail, I love 
James, but I think we should show and help Tom with that and not just 
keep saying James is better than sendmail and leaving it at that.

Just my .02,
Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



Re: Debug startup of James

2002-12-09 Thread Kenny Smith
Hey Tom,

The thing is though, a .sar file is NOT a .jar or a .war. Your .war file 
is assumed to have a WEB-INF directory with specific information in it. 
A sar file doesn't have that structure, so it's not that they just gave 
it a different name, it is a different thing. They tried to follow the 
convention of the filename.?ar pattern. We've got jar, war, ear... sar 
makes perfect sense.

I understand it causes problems for you when debugging... does IDEA 
support ant? Perhaps you can add the commands to update your sar and bar 
files before you debug.

Kenny Smith
JournalScape.com

Tom wrote:

Original Message-
From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:43 AM
To: James Users List
Subject: RE: Debug startup of James

Tom,


Why are things such as SAR and BAR files?   I know they are just Java
Archive files, but it makes working with Avalon/Phoenix/James, etc. a
pain with an IDE because they only (AFAIK with IDEA) only recognize

.JAR

files.


The SAR file is the Avalon project's idea of how to package
applications,
just as the Servlet folks defined a WAR file.  And there should only be
a
SAR file with James v2.1.  And I don't recommend working with any other
version.

I don't want to turn this into a philosophical discussion, but I was
just questioning why someone chose to create a custom extension.  While
it makes sense for the application in question, it creates all sorts of
compatibility blips in the market.  For example, my problem of having
to create duplicate SAR files (one named SAR and one named JAR) just so
my particular IDE (IDEA in this case) can compile everything.

Granted, there are always ways around it, and the WAR extension, if I am
not mistaken is a SUN/Java standard, which makes it a little bit higher
in the acceptance chain (in my book) for applications to support it
(heck, it's part of a standard).

I guess I was just frustrated when I came along the SAR, and BAR stuff.
It just slowed me down in development, and created a sloppier
environment for me (having to remember if the SAR or BAR was updated at
some point, to copy them over to supported extensions).  I guess I could
use links, but...

Thanks,




--
To unsubscribe, e-mail:
For additional commands, e-mail:




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: My first contact with James

2002-11-30 Thread Kenny Smith
Hi Aaron,

I don't think this spammer thinks he's sending out spam, I think he realized
that JRC cut off his access and is punishing him.

If all of the traffic is coming from a single IP, he should be able to black
hole that IP and not worry about it.

Kenny

 -Original Message-
 From: Aaron Knauf [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 30, 2002 2:10 PM
 To: James Users List
 Subject: Re: My first contact with James


 The commonly accepted theory is that spammers will stop sending their
 spam when they realise that you are not relaying it.

 This is probably not much help to you right now though.  You may need to
 configure your router to drop packets from the spammer's address.

 Out of interest, do the JAMES logs say why it crashed?  There ought to
 be a stack trace somewhere.  My own tests (some months ago) show that
 JAMES would start rejecting connections with a socket exception at about
 10 new connections/second, but it never actually crashed.

 ADK

 JRC wrote:
  James2.1a1-cvs
  JRE 1.4.0_1
 
  I just had an interesting evening with a spammer.
 
  About a week ago I gave a guy an account and noticed he was
 testing James to
  see if it would relay mail using a different address in the
 return path. I
  looked at the messages in the spam folder and noticed it was spam he was
  practicing with. I cancelled his account and put his username
 in a matcher
  that bounces a message saying the account has been cancelled. I
 do this for
  the first week or two after cancelling an account to take
 advantage of the
  funny behaviour we have of sending ourselves email.
 
  Anyway, last night this spammer spews countless thousands of
 emails using
  the same body he was practicing with when he had an account
 from me AND he
  used that account name in the return path so I got every single
 bounce. The
  traffic was unbelievable, I had to modify the matcher to just
 send to null
  to cut down on the traffic. James spontaneously shut down a little after
  midnight. After getting james back up and watching for a while
 I decided to
  go to bed.
 
  When I got up this morning James was down again, went down at 3:47 this
  morning. After restarting James I started getting all of the
 bounces that
  went to my backup server while James was down.
 
  How do I make it stop? The stuff is still coming?
 
  - Original Message -
  From: Danny Angus [EMAIL PROTECTED]
  To: James Users List [EMAIL PROTECTED]
  Sent: Friday, November 29, 2002 4:11 AM
  Subject: RE: My first contact with James
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 29 November 2002 01:24
 To: James Users List
 Subject: RE: My first contact with James
 
  Aaron.
 
 
 I agree with all of what you have said.  I have no particular desire to
 change JAMES behaviour here, as it is probably more effort than it is
 worth.  (I think that putting mail handling rules in the SMTP dialog
 handler instead of the processor would be a bad trade off to
 make.  If I am
 not mistaken, that would be the only way to achieve it, right?)
 
 
  Right, this is the dilemma, it would obfuscate James
 configuration to have
  an additional set of configurable rules here.
 
 
 
 The perception of this by non-technical clients is something to be aware
 of, however.  I have struck situations where clients have had the black
 hole thing pointed out to them by those proposing alternate
 solutions.  It
 does tend to make them uneasy.
 
 
  I do understand this, but IMO the arguments for both approaches
 are equally
  compelling, tell them that rejecting mail at the border will allow their
  genuine addresses to be harvested, and that SMTP auth will
 reject much of
  the mail intended for illicit relaying at the border without
 revealing local
  usernames.
 
 
 As for the blackhole behind the firewall scenario - you are absolutely
 right.  On thinking about it, I suspect this is actually preferable to
 rejection.
 
 
  IMO blackholes are preferable to rejection on the basis that
 they provide no
  information whatsoever to the sender, this is one guiding principle of
  firewalls, try telnetting to a port protected by a firewall and your
  connection just times out, you have no idea whether you were
 denied access,
  if there was a problem connecting, or even if the machine
 really exists on
  the network.
  By the same token I believe that spam blackholes leave
 potential spammers
  unable to determine if a real mail service is running, if it is
 broken, or
  if their mail has been rejected, and it certainly doesn't help them to
  determine who the real local users may be.
 
  In my experience spammers will probe SMTP with mail sent to
 themselves via
  an MTA, if that mail is not recieved (and blackholes, by
 definition, don't
  deliver it) they will move on and look for other MTA's to probe.
 
  I've seen as many as a dozen such probe attempts in a single day, but no
  more than this and usually only one 

RE: My first contact with James

2002-11-30 Thread Kenny Smith
Hi there,

I would talk to your ISP and see if they can block traffic from evt1.net at
their border routers so that the traffic doesn't even enter the network.

Kenny Smith
JournalScape.com

 -Original Message-
 From: Aaron Knauf [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, November 30, 2002 3:38 PM
 To: James Users List
 Subject: Re: My first contact with James


 Hmmm.  I see your problem.  If I understand correctly,  your friend has
 spewed out his spam via some other server (evt1.net) and spoofed the
 reply address to one on your server (which you have closed) - leaving
 you fielding the bounces and complaints.

 This sort of thing is exactly the reason that blackhole lists such as
 RBL exist.  evt1.net is being a bad internet citizen in allowing the
 relaying in the first place.

 Unfortunately I don't see that there is anything you can do about that,
 other than wait it out.

 Of course, that doesn't mean that there is no solution.  There are
 cleverer people than me on this list.  :-)

 ADK


 JRC wrote:
  I'm not relaying the mail. The spammer spoofed the server at ev1.net and
  used a return path to my server. I'm trying to cope with the bounces and
  complaints. The bounces are coming from all over the freakin'
 place so there
  is no single IP address to drop or block.
 
  There's nothing in the logs that I can find that indicates why
 James shut
  down.
  - Original Message -
  From: Aaron Knauf [EMAIL PROTECTED]
  To: James Users List [EMAIL PROTECTED]
  Sent: Saturday, November 30, 2002 4:09 PM
  Subject: Re: My first contact with James
 
 
 
 The commonly accepted theory is that spammers will stop sending their
 spam when they realise that you are not relaying it.
 
 This is probably not much help to you right now though.  You may need to
 configure your router to drop packets from the spammer's address.
 
 Out of interest, do the JAMES logs say why it crashed?  There ought to
 be a stack trace somewhere.  My own tests (some months ago) show that
 JAMES would start rejecting connections with a socket exception at about
 10 new connections/second, but it never actually crashed.
 
 ADK
 
 JRC wrote:
 
 James2.1a1-cvs
 JRE 1.4.0_1
 
 I just had an interesting evening with a spammer.
 
 About a week ago I gave a guy an account and noticed he was testing
 
  James to
 
 see if it would relay mail using a different address in the
 return path.
 
  I
 
 looked at the messages in the spam folder and noticed it was
 spam he was
 practicing with. I cancelled his account and put his username in a
 
  matcher
 
 that bounces a message saying the account has been cancelled. I do this
 
  for
 
 the first week or two after cancelling an account to take advantage of
 
  the
 
 funny behaviour we have of sending ourselves email.
 
 Anyway, last night this spammer spews countless thousands of emails
 
  using
 
 the same body he was practicing with when he had an account from me AND
 
  he
 
 used that account name in the return path so I got every single bounce.
 
  The
 
 traffic was unbelievable, I had to modify the matcher to just send to
 
  null
 
 to cut down on the traffic. James spontaneously shut down a
 little after
 midnight. After getting james back up and watching for a while
 I decided
 
  to
 
 go to bed.
 
 When I got up this morning James was down again, went down at 3:47 this
 morning. After restarting James I started getting all of the bounces
 
  that
 
 went to my backup server while James was down.
 
 How do I make it stop? The stuff is still coming?
 
 - Original Message -
 From: Danny Angus [EMAIL PROTECTED]
 To: James Users List [EMAIL PROTECTED]
 Sent: Friday, November 29, 2002 4:11 AM
 Subject: RE: My first contact with James
 
 
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 29 November 2002 01:24
 To: James Users List
 Subject: RE: My first contact with James
 
 Aaron.
 
 
 
 I agree with all of what you have said.  I have no particular
 desire to
 change JAMES behaviour here, as it is probably more effort than it is
 worth.  (I think that putting mail handling rules in the SMTP dialog
 handler instead of the processor would be a bad trade off to
 make.  If I am
 not mistaken, that would be the only way to achieve it, right?)
 
 
 Right, this is the dilemma, it would obfuscate James configuration to
 
  have
 
 an additional set of configurable rules here.
 
 
 
 
 The perception of this by non-technical clients is something
 to be aware
 of, however.  I have struck situations where clients have had
 the black
 hole thing pointed out to them by those proposing alternate solutions.
 
  It
 
 does tend to make them uneasy.
 
 
 I do understand this, but IMO the arguments for both approaches are
 
  equally
 
 compelling, tell them that rejecting mail at the border will
 allow their
 genuine addresses to be harvested, and that SMTP auth will reject much
 
  of
 
 the mail intended for illicit relaying

RE: My first contact with James

2002-11-28 Thread Kenny Smith
Hi Nebril,

I believe the idea is that you give up a slight performance hit in accepting
every email in exchange for a huge benefit in flexibility.

However, if you want to deny emails at the start, I think SMTP-AUTH which
will cut the transaction short without accepting the mail.

Kenny Smith
JournalScape.com

 -Original Message-
 From: Nebril de la Fuente, Victor
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 28, 2002 7:16 AM
 To: James (E-mail)
 Subject: My first contact with James


   Hi to all people.

   I have had my first contact with James. But I do not
 understand something. A mail server, never has to permit to make
 open relay, this is a principal feature from the mail servers.

   I know James permits open relay always. First receive the
 message and then process it or not, but in the conection of the
 sender, James has to check the sender and the rcpt count for
 processing message.

   Should a mail server permit open relay?? And the band width?

   Are somebody able to say me how I have to configure the
 James Mail Server for don´t permit open relay?

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: No user inboxes

2002-11-26 Thread Kenny Smith
Hi Isil,

I believe you can set the forwarding to be popname@localhost and that will
work for you. I'm currently using the JDBCVirtualUserTable mailet for
setting up email aliases and I love it!  If you want to try
JDBCVirtualUserTable and need some help setting it up feel free to ask. :)

Kenny Smith
JournalScape.com

 -Original Message-
 From: Isil Kirdi [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 26, 2002 6:01 AM
 To: [EMAIL PROTECTED]
 Subject: No user inboxes


 Hi,
 I have successfully installed James and I can send email to all kinds of
 accounts(local, external) but I can't receive any email unless I use the
 setforwarding command and forward the mails to an external
 account. I see my
 user inboxes formed under \var\mail\inboxes but the mails never
 go into the
 folders as they should be...
 Any idea what I should be doing?

 ISIL



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: No user inboxes

2002-11-26 Thread Kenny Smith
Hi Isil,

Unfortunately, there isn't great documentation about James. It took a 
lot of reading and asking questions on the list to understand the basic 
James concepts. Once you have those though, things get really easy 
because they tend to follow their own rules very well.

If you have to start in one place to read, I would suggest the JavaDoc 
for JDBCVirtualUserTable.

Kenny

Isil Kirdi wrote:

Kenny,
You're right it really did work. Thanks a lot. I didn't know this popname,
is there a place where I can read and learn more about it...
Thanks again,
ISIL
- Original Message -
From: Kenny Smith
To: James Users List
Sent: Tuesday, November 26, 2002 12:22 PM
Subject: RE: No user inboxes



Hi Isil,

I believe you can set the forwarding to be popname@localhost and that 
will
work for you. I'm currently using the JDBCVirtualUserTable mailet for
setting up email aliases and I love it!  If you want to try
JDBCVirtualUserTable and need some help setting it up feel free to 
ask. :)

Kenny Smith
JournalScape.com


-Original Message-
From: Isil Kirdi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 6:01 AM
To: [EMAIL PROTECTED]
Subject: No user inboxes


Hi,
I have successfully installed James and I can send email to all kinds of
accounts(local, external) but I can't receive any email unless I use the
setforwarding command and forward the mails to an external
account. I see my
user inboxes formed under \var\mail\inboxes but the mails never
go into the
folders as they should be...
Any idea what I should be doing?

ISIL



--
To unsubscribe, e-mail:



For additional commands, e-mail:




--
To unsubscribe, e-mail:
For additional commands, e-mail:



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Packet is larger than max_allowed_packet

2002-11-24 Thread Kenny Smith
Hi all,

I've got my James up and running happily (2.1a1-cvs), but the following is
showing up in the smtpserver.log when I try to send an email with two
attachments (2MB and 0.9MB), any suggestions?

24/11/02 12:08:14 ERROR smtpserver: Unknown error occurred while processing
DATA.
javax.mail.MessagingException: Exception spooling message: Exception caught
while storing mail Container: java.lang.IllegalArgumentException: Packet is
larger than max_allowed_packet from server configuration of 1048576 bytes;
  nested exception is:
java.lang.RuntimeException: Exception caught while storing mail
Container: java.lang.IllegalArgumentException: Packet is larger than
max_allowed_packet from server configuration of 1048576 bytes
at org.apache.james.James.sendMail(James.java:450)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo
ke(BlockInvocationHandler.java:92)
at $Proxy9.sendMail(Unknown Source)
at
org.apache.james.smtpserver.SMTPHandler.processMail(SMTPHandler.java:1334)
at
org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1181)
at
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:541)
at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:32
2)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run
(ServerConnection.java:404)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
24/11/02 12:08:14 DEBUG smtpserver: Sent: 451 Error processing message:
Exception spooling message: Exception caught while storing mail Container:
java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet
from server configuration of 1048576 bytes;
  nested exception is:
java.lang.RuntimeException: Exception caught while storing mail
Container: java.lang.IllegalArgumentException: Packet is larger than
max_allowed_packet from server configuration of 1048576 bytes
24/11/02 12:08:14 DEBUG smtpserver: Calling reset() default Worker #28
24/11/02 12:08:14 DEBUG smtpserver: Exception opening socket: null
java.lang.NullPointerException
at
org.apache.james.smtpserver.SMTPHandler.readCommandLine(SMTPHandler.java:464
)
at
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:32
2)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run
(ServerConnection.java:404)
at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)
24/11/02 12:08:14 DEBUG smtpserver: Calling disposeWatchdog() default Worker
#28
24/11/02 12:08:14 DEBUG smtpserver: Watchdog default Worker #28 is exiting
run().
24/11/02 12:08:14 DEBUG smtpserver: Returning SMTPHandler to pool.
24/11/02 12:08:14 DEBUG smtpserver: Returning a
org.apache.james.smtpserver.SMTPHandler to the pool


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Weird Problem with Outlook

2002-11-10 Thread Kenny Smith
Hi all,

Just as an FYI, it appears that sbcglobal.net puts some kind of filter on
outgoing smtp traffic. I took the same laptop outside of the SBC network
with the same configuration and it worked perfectly.

So, if other people experience this problem, it may be ISP related.

Kenny Smith
JournalScape.com

 -Original Message-
 From: Kenny Smith [mailto:kenny;journalscape.com]
 Sent: Friday, November 08, 2002 5:51 AM
 To: James Users List; [EMAIL PROTECTED]
 Subject: RE: Weird Problem with Outlook


 Hi Peter,

 Yeah, I could tell that much, but I was hoping that this is
 behavior someone
 had seen before. His client wasn't doing this before and just randomly
 started doing it. James is really the only piece in the equation that
 changed (as far as I can tell). I'll see what I can do about sniffing, but
 I've never done that before, so I'm not tremendously sure how.
 I'll do some
 websearching.

 Thanks for the response,
 Kenny

  -Original Message-
  From: Peter M. Goldstein [mailto:peter_m_goldstein;yahoo.com]
  Sent: Thursday, November 07, 2002 11:21 PM
  To: 'James Users List'
  Subject: RE: Weird Problem with Outlook
 
 
 
  Kenny,
 
  From the server side it seems pretty obvious what's happening.  The
  socket is idling out (the 5 minute period - 30 msec - is the value
  in your config).  We know that the 354 is being returned to the Outlook
  client, as the stream is flushed before the line is written to the log.
  So I'm not seeing any problem on the server side.  It just looks like
  the client is unresponsive or is sending back malformed data (something
  that would cause the MailHeaders to read the entirety of the stream and
  block).  Sniffing the network connection is probably the next step to
  distinguish between these two cases.
 
  --Peter
 
   -Original Message-
   From: Kenny Smith [mailto:kenny;journalscape.com]
   Sent: Thursday, November 07, 2002 11:05 PM
   To: James User
   Subject: Weird Problem with Outlook
  
   Hi all,
  
   One of my users is having a weird problem where when he tries to send
  an
   email through James, Outlook says the connection was unexpectedly
  dropped
   or
   something (I couldn't get the specific error from him).
  
   I've attached the log and my config.xml, has anyone experienced this
   problem
   before?
  
   I'm running jdk 1.4 on Solaris x86 and james-2.1a1-cvs.
  
   Any help is appreciated,
   Kenny
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:james-user-unsubscribe;jakarta.apache.org
  For additional commands, e-mail:
  mailto:james-user-help;jakarta.apache.org
 


 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Weird Problem with Outlook

2002-11-07 Thread Kenny Smith
Hi all,

One of my users is having a weird problem where when he tries to send an
email through James, Outlook says the connection was unexpectedly dropped or
something (I couldn't get the specific error from him).

I've attached the log and my config.xml, has anyone experienced this problem
before?

I'm running jdk 1.4 on Solaris x86 and james-2.1a1-cvs.

Any help is appreciated,
Kenny



smtpserver.log
Description: Binary data
?xml version=1.0?
!--  Configuration file for Apache Jakarta James Mail and news server --

!--  This file contains important settings that control the behaviour
  of all of the services and repositories.

   README!

This configuration file is designed to run without alteration for simple tests.
It assumes you have a DNS server on localhost and assigns a root password of root.

In case the defaults do not suit you, the items you are most likely to need to change
are preceded by a CHECKME! or CONFIRM? comment in the left margin.

For production use you will probably need to make more extensive changes, see
http://jakarta.apache.org/james/configuration_v2_0.html

$Revision: 1.36 $ Committed on $Date: 2002/10/26 18:36:31 $ by: $Author: pgoldstein $--

config
   James

!-- CHECKME! Set this to the right email address for error reports --
  postmaster Postmaster@localhost /postmaster

!-- CONFIRM? --
  !-- servernames identifies the DNS namespace served by this instance of James.
   If autodetect is TRUE, James wil attempt to discover its own name AND use any specified servernames.
   If autodetect is FALSE, James will use only the specified servernames.
   If autodetectIP is not FALSE, James will also allow add the IP address for each servername.
   The automatic IP detection is to support RFC 2821, Sec 4.1.3, address literals.
   By default, the servername 'localhost' is specified. This can be removed, if required. --
  servernames autodetect=false autodetectIP=true
 !--servernameTo override autodetected server names  uncomment this.  /servername --
 servernamelocalhost/servername
 servernamesamaritech.net/servername
 servernamememoryandreason.com/servername
 servernameslangman.com/servername
 servernamesharonkim.com/servername
 servernamelaughatjohn.com/servername
 servernametworingstorulethemall.com/servername
 servernamecaslonbooks.com/servername
 servernamejournalscape.com/servername
 servernameschifferers.net/servername
!-- IMPORTANT if you are using fetchpop it is important to include the --
!-- fetched domains here to prevent looping--
  /servernames

  !-- Set whether user names are case sensitive or case insensitive --
  !-- Set whether to enable local aliases --
  usernames ignoreCase=true enableAliases=true enableForwarding=true/

  !-- The inbox repository is the location for users inboxes --
  !-- Default setting: file based repository - enter path ( use  file:/// for absolute) --
  !-- inboxRepository --
 !-- repository destinationURL=file://var/mail/inboxes/ type=MAIL/ --
  !-- /inboxRepository --

  !-- Alternative inbox repository definition for DB use.
The format for the destinationURL is db://data-source/table
   data-source is the datasource name set up in the database-connections block, below
   table is the name of the table to store user inboxes in
   The user name is used as repositoryName for this repository config.--
  inboxRepository
 repository destinationURL=db://maildb/inbox/ type=MAIL/
  /inboxRepository
   /James
   
   !-- Fetch pop block, fetches mail from POP3 servers and inserts it into the incoming spool --
   !-- IMPORTANT it is important to prevent mail from looping by setting the  --
   !-- fetched domains in the servernames section of the James block  --
   !-- above. fetchpop is disabled by default.  --
   
fetchpop enabled=false
!-- you can have as many fetch tasks as you want to--
!-- but each must have a unique name to identify itself by --
fetch name=[EMAIL PROTECTED]
!-- host name or IP address --
hostlocalhost/host
!-- acount login username --
userroger/user
!-- account login password --
passwordx/password
!-- Interval to check this account in milliseconds, 60 is every ten minutes --
interval6/interval
/fetch
fetch name=[EMAIL PROTECTED]
!-- host name or IP address --
hostlocalhost/host
!-- acount login username --
usertre/user
!-- account login password --
passwordx/password
!-- Interval to check this account in milliseconds, 60 is every 

Urgent Help: SMTP-AUTH/Relaying Config

2002-11-06 Thread Kenny Smith
Hello all,

I'm having a really bad problem with my James configuration and I don't know
how to resolve it.

My end goal is this: The employees are all outside the network on cable
modems and such. I need them to be able to send email to the outside world,
but prevent spammers from taking advantage of james as an open relay.

I thought SMTP-AUTH was the solution to this, perhaps it is and I've just
configured it wrong. :/ When I turn SMTP-AUTH on, then when people outside
the network send email to employees the remote mail server gets denied
because it didn't authenticate.

Help! What am I doing wrong? I lost a days worth of email today and I can't
figure out what I'm doing wrong. Any help is appreciated.

My config.xml file is attached.

Kenny Smith
JournalScape.com

?xml version=1.0?
!--  Configuration file for Apache Jakarta James Mail and news server --

!--  This file contains important settings that control the behaviour
  of all of the services and repositories.

   README!

This configuration file is designed to run without alteration for simple tests.
It assumes you have a DNS server on localhost and assigns a root password of root.

In case the defaults do not suit you, the items you are most likely to need to change
are preceded by a CHECKME! or CONFIRM? comment in the left margin.

For production use you will probably need to make more extensive changes, see
http://jakarta.apache.org/james/configuration_v2_0.html

$Revision: 1.36 $ Committed on $Date: 2002/10/26 18:36:31 $ by: $Author: pgoldstein $--

config
   James

!-- CHECKME! Set this to the right email address for error reports --
  postmaster Postmaster@localhost /postmaster

!-- CONFIRM? --
  !-- servernames identifies the DNS namespace served by this instance of James.
   If autodetect is TRUE, James wil attempt to discover its own name AND use any specified servernames.
   If autodetect is FALSE, James will use only the specified servernames.
   If autodetectIP is not FALSE, James will also allow add the IP address for each servername.
   The automatic IP detection is to support RFC 2821, Sec 4.1.3, address literals.
   By default, the servername 'localhost' is specified. This can be removed, if required. --
  servernames autodetect=false autodetectIP=true
 !--servernameTo override autodetected server names  uncomment this.  /servername --
 servernamelocalhost/servername
!-- IMPORTANT if you are using fetchpop it is important to include the --
!-- fetched domains here to prevent looping--
  /servernames

  !-- Set whether user names are case sensitive or case insensitive --
  !-- Set whether to enable local aliases --
  usernames ignoreCase=true enableAliases=true enableForwarding=true/

  !-- The inbox repository is the location for users inboxes --
  !-- Default setting: file based repository - enter path ( use  file:/// for absolute) --
  !-- inboxRepository --
 !-- repository destinationURL=file://var/mail/inboxes/ type=MAIL/ --
  !-- /inboxRepository --

  !-- Alternative inbox repository definition for DB use.
The format for the destinationURL is db://data-source/table
   data-source is the datasource name set up in the database-connections block, below
   table is the name of the table to store user inboxes in
   The user name is used as repositoryName for this repository config.--
  inboxRepository
 repository destinationURL=db://maildb/inbox/ type=MAIL/
  /inboxRepository
   /James
   
   !-- Fetch pop block, fetches mail from POP3 servers and inserts it into the incoming spool --
   !-- IMPORTANT it is important to prevent mail from looping by setting the  --
   !-- fetched domains in the servernames section of the James block  --
   !-- above. fetchpop is disabled by default.  --
   
fetchpop enabled=false
!-- you can have as many fetch tasks as you want to--
!-- but each must have a unique name to identify itself by --
fetch name=[EMAIL PROTECTED]
!-- host name or IP address --
hostlocalhost/host
!-- acount login username --
user/user
!-- account login password --
password/password
!-- Interval to check this account in milliseconds, 60 is every ten minutes --
interval6/interval
/fetch
fetch name=[EMAIL PROTECTED]
!-- host name or IP address --
hostlocalhost/host
!-- acount login username --
user/user
!-- account login password --
passwordx/password
!-- Interval to check this account in milliseconds, 60 is every ten minutes --
interval6/interval
/fetch
/fetchpop

RE: Urgent Help: SMTP-AUTH/Relaying Config

2002-11-06 Thread Kenny Smith
Hi Peter,

Thank you so much, I wouldn't have thought of that. With the user of
JDBCVirtualUserTable I didn't have to configure anything except for
localhost, but the smtp-auth changed that.

Thank you very much!
Kenny Smith
JournalScape.com

 -Original Message-
 From: Peter M. Goldstein [mailto:peter_m_goldstein;yahoo.com]
 Sent: Wednesday, November 06, 2002 11:19 PM
 To: 'James Users List'
 Subject: RE: Urgent Help: SMTP-AUTH/Relaying Config



 Your local domains are not properly setup.

 If you are supporting employees with email addresses like
 [EMAIL PROTECTED], [EMAIL PROTECTED], etc. then you need to have a
 servername entry that lists company.com.  Otherwise James can't
 determine which emails should be delivered locally (and thus which
 require authentication and which don't)

 --Peter

  -Original Message-
  From: Kenny Smith [mailto:kenny;journalscape.com]
  Sent: Wednesday, November 06, 2002 11:12 PM
  To: James User
  Subject: Urgent Help: SMTP-AUTH/Relaying Config
 
  Hello all,
 
  I'm having a really bad problem with my James configuration and I
 don't
  know
  how to resolve it.
 
  My end goal is this: The employees are all outside the network on
 cable
  modems and such. I need them to be able to send email to the outside
  world,
  but prevent spammers from taking advantage of james as an open relay.
 
  I thought SMTP-AUTH was the solution to this, perhaps it is and I've
 just
  configured it wrong. :/ When I turn SMTP-AUTH on, then when people
 outside
  the network send email to employees the remote mail server gets denied
  because it didn't authenticate.
 
  Help! What am I doing wrong? I lost a days worth of email today and I
  can't
  figure out what I'm doing wrong. Any help is appreciated.
 
  My config.xml file is attached.
 
  Kenny Smith
  JournalScape.com



 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Reasoning For Flagging as Spam... outgoing spam?

2002-11-05 Thread Kenny Smith
Hi Chris,

Thanks for the response. There are already messages in the notice blocks,
but I'm not seeing any messages in the database. Do you know where I should
look to find them?

I've done so more research and it looks like the only messages in the spam
repository are outgoing messages. A user sends a message from address
[EMAIL PROTECTED] to [EMAIL PROTECTED] and the message gets
grabbed as spam. Does this have something to do with my relaying setup?


Kenny Still Learning Smith
JournalScape.com

 -Original Message-
 From: Chris Means [mailto:cmeans;intfar.com]
 Sent: Monday, November 04, 2002 4:30 PM
 To: James Users List
 Subject: RE: Reasoning For Flagging as Spam


 Look through your config.xml file.

 For each matcher that directs messages to processor spam, you can set a
 notice tag,
 e.g.

 mailet match=InSpammerBlacklist=blackholes.mail-abuse.org
   class=ToProcessor
   processor spam /processor
   notice Rejected - see  http://www.mail-abuse.org/rbl/ /notice
 /mailet


  -Original Message-
  From: Kenny Smith [mailto:kenny;journalscape.com]
  Sent: Monday, November 04, 2002 5:07 PM
  To: James User
  Subject: Reasoning For Flagging as Spam
 
 
  Hi all,
 
  I was wondering if there is a way to determine why a message was
  flagged as
  spam. I'm getting legitimate messages sent from employees at my
  company are
  getting put in the spam repository and I don't know why.
 
  Kenny Smith
 
 
  --
  To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org




 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Relaying vs. SMTP-AUTH

2002-11-05 Thread Kenny Smith
Hi all,

Just to make sure, so that I don't open myself up for spammers..

if I comment out this mailet:
 
mailet match=RemoteAddrNotInNetwork=127.0.0.1 class=ToProcessor
processor spam /processor
/mailet

and enable SMTP-AUTH by uncommenting this:

!--  uncomment this if you want SMTP AUTH support. This is 
  useful if you have users who need to use the email server 
  on the road, while not having your server act as an
  open relay! --
authRequiredtrue/authRequired

Then my users can send outgoing email, but spammers cannot.

Right? :)

Kenny Smith
JournalScape.com

--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Reasoning For Flagging as Spam

2002-11-04 Thread Kenny Smith
Hi all,

I was wondering if there is a way to determine why a message was flagged as
spam. I'm getting legitimate messages sent from employees at my company are
getting put in the spam repository and I don't know why.

Kenny Smith


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Multiple Recipient Aliases

2002-10-28 Thread Kenny Smith
Hi all,

I'm taking my next step toward full James functionality :)

I'm trying to setup multiple receipient aliases, like

[EMAIL PROTECTED] - [EMAIL PROTECTED]
 - [EMAIL PROTECTED]

So that an email to support will go to both kenny and jenn.

Does JDBCVirtualUserTable support that? Am I supposed to use a listserv?
Using a listserv seems overkill, I want anyone to be able to send a message
to the address.

Any help is appreciated,
Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Multiple Recipient Aliases

2002-10-28 Thread Kenny Smith
Hi Noel,

Thanks, I'll use your suggestion until the VirtualUserTable is upgraded.

 JDBCVirtualUserTable does not have that functionality at
 this time.  I think it is mentioned in the comments as a
 future TODO, along with some other features from
 sendMail's virtual user table.

If I could, I don't know what you have planned, but a feature that I'd like
to have...

Some of my users and have hundreds or thousands of email addresses in their
lists. We are currently using the :include:/path/to/file functionality of
sendmail. I'd love to create another table that has a one-to-many
relationship with with virt user table, so we can associate an arbitrary
number of emails with a list.

Also, if there is anything I can do to help or facilitate the new code in
any way, just let me know. I'm fairly adept with Java, but super newbie when
it comes to James/Phoenix/Avalon.

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Multiple Recipient Aliases

2002-10-28 Thread Kenny Smith
Hi Danny,

 I'm currently running a mailet which does this, IMO its a
 nice way to do this, aliases, mailing lists, forwarding
 are all controlled from a single web interface maintaining
 three tables, people, lists and list-people.

 do try to roll your own, its worth it.

 (and if its nice, submit it to James or www.mailet.org)

Not a bad idea, I'll give that a try. Is it ok (or even preferred) if I use
an existing James Mailet as a skeleton? Noel's JDBCVirtualUserTable is
probably already very close to what I need.

Kenny Smith


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Newbie Setup Question

2002-10-25 Thread Kenny Smith
Hi all,

I've been fighting with James for awhile just trying to get it working. It
probably is easier than I think, but I'm still new. But... my problem:

I've got James running on hedwig.journalscape.com (which is on my private
network), I send an email to [EMAIL PROTECTED] from
[EMAIL PROTECTED]

I see this in default.log:
25/10/02 00:45:27 INFO  smtpserver: Connection from 192.168.0.3
(192.168.0.3)
25/10/02 00:45:27 INFO  James.Mailet: ToRepository: Storing mail
Mail1035531927282-3 in file://var/mail/error/

Why is an error happening, what is the error, and most importantly how can I
find these things out myself? The only file in apps/james/logs/ that has
anything is default.log, but it doesn't contain the reason for the error.

Any help or direction is appreciated,
Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question

2002-10-25 Thread Kenny Smith
Hi Noel,

Thanks, I've got hedwig in the servers list, and I am running Phoenix 4.0.
I'll go try to figure out how to upgrade that bit. :)

Thanks!
Kenny

 Make sure that hedwig.journalscape.come is in the servers list.

 Sounds as if you're running with Phoenix 4.0.  Known bug in Phoenix that
 they have fixed.

   --- Noel


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question

2002-10-25 Thread Kenny Smith
Hi Noel,

I've got the fully qualified... hedwig.journalscape.com.

As for debug.log, I can't find it anywhere, my apps/james/logs/ directory
has plenty of log files (but not debug.log), but the only non-zero length
one is default.log. Is there something in the config.xml that I need to
change to turn debugging on?

Thanks,
Kenny Smith
JournalScape.com


 -Original Message-
 From: Noel J. Bergman [mailto:noel;devtech.com]
 Sent: Friday, October 25, 2002 1:59 AM
 To: James Users List
 Subject: RE: Newbie Setup Question


 Kenny,

 do you have

   servernamehedwig/servername

 or

   servernamehedwig.journalscape.com/servername

 in config.xml?  Also, check debug.log for the sequence of matchers that
 preceed the ToRepository.  The one immediately prior to the
 ToRepository is
 the one that matched.

   --- Noel

 -Original Message-
 From: Kenny Smith [mailto:kenny;journalscape.com]
 Sent: Friday, October 25, 2002 4:41
 To: James Users List
 Subject: RE: Newbie Setup Question


 Hi Noel,

 Thanks, I've got hedwig in the servers list, and I am running Phoenix 4.0.
 I'll go try to figure out how to upgrade that bit. :)

 Thanks!
 Kenny

  Make sure that hedwig.journalscape.come is in the servers list.
 
  Sounds as if you're running with Phoenix 4.0.  Known bug in Phoenix that
  they have fixed.
 
  --- Noel


 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question

2002-10-25 Thread Kenny Smith
Hi Danny,

Yes, I'm using 2.1a1 and I updated my code this morning and rebuilt. As to
which Matcher is getting hit, I tailed the default.log and all that was
logged during me sending the mail was:

25/10/02 09:23:55 INFO  smtpserver: Connection from 192.168.0.3
(192.168.0.3)
25/10/02 09:23:58 INFO  James.Mailet: ToRepository: Storing mail
Mail1035563037449-1 in file://var/mail/error/

I'm in the process of figuring out how to upgrade Phoenix to fix the known
bug Noel mentioned.

Kenny Smith
JournalScape.com

 -Original Message-
 From: Danny Angus [mailto:danny;apache.org]
 Sent: Friday, October 25, 2002 9:15 AM
 To: James Users List
 Subject: RE: Newbie Setup Question


 no, logging is all going into default log at the moment owing to
 an Avalon bug we're blocked by.
 Logging is controlled by environment.xml in SAR-INF/ (youre using
 2.1a1 right?)

  -Original Message-
  From: Kenny Smith [mailto:kenny;journalscape.com]
  Sent: 25 October 2002 16:46
  To: James Users List
  Subject: RE: Newbie Setup Question
 
 
  Hi Noel,
 
  I've got the fully qualified... hedwig.journalscape.com.
 
  As for debug.log, I can't find it anywhere, my apps/james/logs/
 directory
  has plenty of log files (but not debug.log), but the only
 non-zero length
  one is default.log. Is there something in the config.xml that I need to
  change to turn debugging on?
 
  Thanks,
  Kenny Smith
  JournalScape.com
 
 
   -Original Message-
   From: Noel J. Bergman [mailto:noel;devtech.com]
   Sent: Friday, October 25, 2002 1:59 AM
   To: James Users List
   Subject: RE: Newbie Setup Question
  
  
   Kenny,
  
   do you have
  
 servernamehedwig/servername
  
   or
  
 servernamehedwig.journalscape.com/servername
  
   in config.xml?  Also, check debug.log for the sequence of
 matchers that
   preceed the ToRepository.  The one immediately prior to the
   ToRepository is
   the one that matched.
  
 --- Noel
  
   -Original Message-
   From: Kenny Smith [mailto:kenny;journalscape.com]
   Sent: Friday, October 25, 2002 4:41
   To: James Users List
   Subject: RE: Newbie Setup Question
  
  
   Hi Noel,
  
   Thanks, I've got hedwig in the servers list, and I am running
  Phoenix 4.0.
   I'll go try to figure out how to upgrade that bit. :)
  
   Thanks!
   Kenny
  
Make sure that hedwig.journalscape.come is in the servers list.
   
Sounds as if you're running with Phoenix 4.0.  Known bug in
  Phoenix that
they have fixed.
   
--- Noel
  
  
   --
   To unsubscribe, e-mail:
   mailto:james-user-unsubscribe;jakarta.apache.org
   For additional commands, e-mail:
   mailto:james-user-help;jakarta.apache.org
  
 
 
  --
  To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org


 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question

2002-10-25 Thread Kenny Smith
Hi Danny,

It looks like my problem has morphed. Now, when I send the message it is
getting queued in the outgoing directory. I think it may have to do with my
DNS setup(i haven't been able to get anyone at my ISP to respond yet), so
please forgive me if this is just a stupid mistake.

I'm definately trying to have a user account and a user, but lord only knows
if I've configured it properly. :) I created a user account via the telnet
interface and I've enabled the JDBCVirtualUserTable in config.xml:

processor name=transport
  mailet match=All class=JDBCVirtualUserTable
tabledb://maildb/email_alias/table
sqlquery
  select email_alias.destination_address
  from email_alias, email_alias as VUTDomains
  where (email_alias.user like ? or email_alias.user like \%) and
  (email_alias.domain like ? or
  (email_alias.domain like \% and VUTDomains.domain like ?))
  order by concat(email_alias.user,'',email_alias.domain) desc
  limit 1
/sqlquery
  /mailet

...
/processor

It appears that in all my fiddling I forgot to fill in the virtual user
table after I destroyed and recreated it last time. In the database I _now_
have (exported as xml):

email_alias
row
id1/id
destination_addresskmail/destination_address
userkenny/user
domainhedwig.journalscape.com/domain
/row
/email_alias

Here is what is showing up in the log:

25/10/02 10:18:00 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566220143-21-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:18:00 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:18:00 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566220143-21-to-localhost) sent successfully to localhost
25/10/02 10:18:01 INFO  smtpserver: Connection from 192.168.0.3
(192.168.0.3)
25/10/02 10:19:00 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566280570-23-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:19:00 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:19:01 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566280570-23-to-localhost) sent successfully to localhost
25/10/02 10:20:01 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566282793-27-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:20:01 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:20:01 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566282793-27-to-localhost) sent successfully to localhost
25/10/02 10:21:01 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566401397-31-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:21:01 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:21:01 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566401397-31-to-localhost) sent successfully to localhost
25/10/02 10:22:02 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566340978-29-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:22:02 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:22:02 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566340978-29-to-localhost) sent successfully to localhost
25/10/02 10:23:02 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566461773-33-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:23:02 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:23:02 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566461773-33-to-localhost) sent successfully to localhost
25/10/02 10:24:03 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1035566522310-35-to-localhost to host localhost to [kmaillocalhost]
25/10/02 10:24:03 INFO  smtpserver: Connection from localhost.localdomain
(127.0.0.1)
25/10/02 10:24:03 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1035566522310-35-to-localhost) sent successfully to localhost

Thanks for any help or pointers to where I can research my problem,
Kenny Smith
JournalScape.com


 -Original Message-
 From: Danny Angus [mailto:danny;apache.org]
 Sent: Friday, October 25, 2002 9:57 AM
 To: James Users List
 Subject: RE: Newbie Setup Question


 Shoudl at least deliver local mail as it is, it works for me,
 youve got the servername, and a user account for the user I take it?

 d.

  -Original Message-
  From: Kenny Smith [mailto:kenny;journalscape.com]
  Sent: 25 October 2002 17:37
  To: James Users List
  Subject: RE: Newbie Setup Question
 
 
  Hi Danny,
 
  Yes, I'm using 2.1a1 and I updated my code this morning and
 rebuilt. As to
  which Matcher is getting hit, I tailed the default.log and all that was
  logged during me sending the mail was:
 
  25/10/02 09:23:55 INFO  smtpserver: Connection from 192.168.0.3
  (192.168.0.3)
  25/10/02 09:23:58 INFO  James.Mailet: ToRepository: Storing

RE: Newbie Setup Question

2002-10-25 Thread Kenny Smith
  RemoteDelivery: Attempting delivery of MailID-to-
  localhost to host localhost to [kmaillocalhost]

 Ok, that's not good.  Do you have a servername entry for
 localhost?

No, I don't, exluding commented lines, this is from my config.xml:

servernames autodetect=true autodetectIP=true
servernamehedwig.journalscape.com/servername
/servernames

 Did you, by any chance, put the JDBCVirtualUserTable after
 the local delivery mailet?

I put the JDBCVirtualUserTable as the first thing in the transport
processor. I figured that made sense because it had to translate the
addresses before it tried to determine where to deliver it to.

Thanks for the DEBUG tip, I was just trying to figure how to change the log
level. :) I'm going to trying testing again and see what I see.

Thanks for all your help guys! You rock. :)

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question (fixed)

2002-10-25 Thread Kenny Smith
Hi Noel,

That did it, thanks! Can you help me understand why that was neccessary so I
can troubleshoot those things myself in the future (teach me to fish, as it
were)? :)

Kenny

 -Original Message-
 From: Noel J. Bergman [mailto:noel;devtech.com]
 Sent: Friday, October 25, 2002 11:45 AM
 To: James Users List
 Subject: RE: Newbie Setup Question


 Add servernamelocalhost/servername to the servernames section.


 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




RE: Newbie Setup Question (fixed)

2002-10-25 Thread Kenny Smith
Hi Noel,

I've been thinking about it and tell me if I'm close..

sentence runon=true
The servername list tells James what hosts it handles mail for, so when it
received an email for hedwig.journalscape.com it knew it was responsible for
it, but then the JDBCVirtualUserTable resolved [EMAIL PROTECTED]
to the local kmail user, then James did another determination if it was
supposed to handle the mail, but since localhost wasn't listed in the
servernames, it figured it wasn't responsible for the email and tried to
deliver it remotely?
/sentence

Kenny Smith
JournalScape.com

 -Original Message-
 From: Kenny Smith [mailto:kenny;journalscape.com]
 Sent: Friday, October 25, 2002 11:52 AM
 To: James Users List
 Subject: RE: Newbie Setup Question (fixed)


 Hi Noel,

 That did it, thanks! Can you help me understand why that was
 neccessary so I
 can troubleshoot those things myself in the future (teach me to
 fish, as it
 were)? :)

 Kenny

  -Original Message-
  From: Noel J. Bergman [mailto:noel;devtech.com]
  Sent: Friday, October 25, 2002 11:45 AM
  To: James Users List
  Subject: RE: Newbie Setup Question
 
 
  Add servernamelocalhost/servername to the servernames section.
 
 
  --
  To unsubscribe, e-mail:
  mailto:james-user-unsubscribe;jakarta.apache.org
  For additional commands, e-mail:
  mailto:james-user-help;jakarta.apache.org
 


 --
 To unsubscribe, e-mail:
 mailto:james-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:james-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org




Newbie Setup Question

2002-10-18 Thread Kenny Smith
Hello,

I've just started getting into James, and I'm really excited, it looks like
a great product! I've got the server started, but I'm having some trouble
configuring it past that. It may be a problem with understanding
terminiology, but I'm not sure.

Forgive the verbosity, but I want to make sure the words I'm using as the
same words that James understands:

I want to setup a POP account named 'kmail' and I want to setup an alias
'[EMAIL PROTECTED]' that points at 'kmail', so that email to
[EMAIL PROTECTED] will then be available when I login as 'kmail'
and download my email.

This is what happens when I telnet in:

--- snip --
Welcome root. HELP for a list of commands
adduser kmail 
User kmail added
setalias kmail [EMAIL PROTECTED]
Alias unknown to server - create that user first.

--- snip --

Am I just misunderstanding? Is there a faq (I've read the one on the
website) that goes over basic setup and usage beyond the initial
installation of james? Any help is appreciated, thanks.

Kenny Smith
JournalScape.com


--
To unsubscribe, e-mail:   mailto:james-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:james-user-help;jakarta.apache.org