Re: james SMTP authentication enforcement

2006-03-07 Thread Ken Lin
Stefano: Here is the actual scenario I try to prevent: Let's say I use james email server at corporation xyz.com. A hacker/email worm program telnet to SMTP port (inside or outside the corporate firewall), uses one of the employees' email address as "from" address (say [EMAIL PROTECTED])

Re: Send out emails without authentication required

2006-03-07 Thread Stefano Bagnara
Maybe I identified the problem in your config. You should use: true 127.0.0.0/8, 10.233.68.208/32 and not: true 127.0.0.0/8 10.233.68.208 "authorizedAddresses" should be a comma separated list of network

Re: Send out emails without authentication required

2006-03-07 Thread Ningmei . Zhu
Stefano, I made sure 10.233.68.208 is the only IP on this machine (using command ipconfig /all). To simplify the problem I opened a telnet session to test James locally and remotely. Here are telnet command issued and response from James: >From local machine: 220 cn068etss208 SMTP Server (JAM

"re-seed"

2006-03-07 Thread Steve Iolone
I am running Spamassassin with James. When incoming email hits SA's limit, it saves a copy of the email which I used to report to spamcop. James continues to process the email into a "spam" repository. I've cleaned out the repository over time, but now would like to repopulate it for analysis

Re: james SMTP authentication enforcement

2006-03-07 Thread Stefano Bagnara
SMTP Authentication is defined in the SMTP rfc and is not related with the from address. If you are authenticated james does not perform relay checks. If you are not authenticated then messages destinated (SMTP RCPT TO: command argument) to domains included in "" will be accepted while messag

james SMTP authentication enforcement

2006-03-07 Thread Ken Lin
Hi: I installed the james mail server behind a firewall, and exposed its SMTP port through firewall tunneling. Because of the firewall, I cannot do any IP based authentication because all incoming connection shows the internal address of the firewall (192.0.something) I turned on t

Re: questions about mail file system repository

2006-03-07 Thread Stefano Bagnara
haipeng du wrote: For all emails that from special users, I need to forward these email out after delay time. For example, I got one email in , and forward it out after 24 hours. I do not want mailets to be held so long time. So, I saved mail to a folder. I have another thread to check the folder

Re: questions about mail file system repository

2006-03-07 Thread haipeng du
For all emails that from special users, I need to forward these email out after delay time. For example, I got one email in , and forward it out after 24 hours. I do not want mailets to be held so long time. So, I saved mail to a folder. I have another thread to check the folder to see if there are

Re: Incorrect times on mail?

2006-03-07 Thread Stefano Bagnara
Can you post the full headers? Email headers contain a full "localized" date and should be valid all around the world. What email client do your users use? Furthermore, check this out: http://minaret.biz/tips/timezone.html Marco Bartholomew wrote: I recently migrated a James installation (2.2

Re: questions about mail file system repository

2006-03-07 Thread Stefano Bagnara
Can you explain what is your goal? What is the "other java class such as monitor"? Is it in a mailet? Is it inside james/phoenix ? Is it in the same JVM? Stefano haipeng du wrote: I want to save some special email to my own repository. To do that, I use ToRepository mailet. It works great. T

Re: Concurrent james instances on the same db repository

2006-03-07 Thread Stefano Bagnara
Marcello Marangio wrote: Hi All. I'm trying to understand if the "ordinary" release 2.2.0 of james supports concurrency on the db mail repository. No, locking is handled by the application so the Lock is an in JVM object. If you run 2 different james you can lock the same message with both ja

Re: Send out emails without authentication required

2006-03-07 Thread Stefano Bagnara
Your configuration seems correct. I would like to see the full message (with headers) that you receive when authRequired is true. Are you sure that your SMTP client is on a machine with only that IP (10.233.68.208) and there is no NAT or other IP rewriting between your client and James machi

Incorrect times on mail?

2006-03-07 Thread Marco Bartholomew
I recently migrated a James installation (2.2.0) to a different server (both Linux) and all has gone well except that some users report that their mail is arriving with a timestamp that is 5 hours earlier than the actual time. My mail is arriving with the correct timestamp. I checked the serv

questions about mail file system repository

2006-03-07 Thread haipeng du
I want to save some special email to my own repository. To do that, I use ToRepository mailet. It works great. The problem is that how could I retrive it through repository. I checked source code, when it saves mail to file system, it dose not return the key so that I can get that. Also, how could

Concurrent james instances on the same db repository

2006-03-07 Thread Marcello Marangio
Hi All. I'm trying to understand if the "ordinary" release 2.2.0 of james supports concurrency on the db mail repository. I have to set up a high availability environment with 2 james working in failover on the same repository. I found a reference to james HA. Does anybody use it in a production en