RE: [POLL] Target Java 1.5 for James 3.0?
Chuck Davis wrote: Go forward. 1.6 has nice features the developers will enjoy. Which ones do you have in mind? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [POLL] Target Java 1.5 for James 3.0?
Boris Burtin wrote: Staying on 1.5 would ensure that more users can use the James libraries. I suspect there are many existing products that run on 1.5 and aren't ready to upgrade to 1.6. Zimbra is still officially on 1.5. We're planning on moving to 1.6 in the next major release, but it's not clear when that will happen. Keep in mind that we're talking about a fair bit of time for JAMES to get there, too. Danny and I were talking about hoping to have a good hack-a-thon in March. Which 1.6 features would you like to take advantage of? Scripting (could use BSF to support it on Java 5) and improved network support are ones I had in mind. Most other Java 6 improvements are either out of scope or are internal, as I've seen them. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [POLL] Target Java 1.5 for James 3.0?
[X] +1 James 3.0 - Java 1.5 Actually, Java 6. Any reason for Java 5, as long as we're making the big switch? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ISP blocking port 25 stops outgoing mail
My ISP, Telstra Bigpond, blocks port 25 for all but its own smtp server. Apparently this is an anti-spam measure Yes, I wish that all ISPs would do this port blocking, at least for consumer accounts in DHCP pools, and force the ISPs to do SPAM filtering on their end before it hits the Internet. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Huge message backup in spool directory
Andy, (a) Make sure that the file pairs really do look like: 4D61696C313230393536323235303031312D313836353238.Repository.FileObjectSto re 4D61696C313230393536323235303031312D313836353238.Repository.FileStreamSto re and not a series of increasingly longer numbers, indicating that there is some internal looping. (b) Check to make sure that you don't have a lot of bounce messages in the spool. (c) Turn on debug for the spool manager and RemoteDelivery to see what is happening. Hope those help. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re-sending mails spooled to /var/mail/spam
Use the FromRepository Mailet to respool. That's why I wrote it. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Support for anything@mydomain.com in Virtual User Table
Yes. See the samples, which use the % SQL wildcard. Mind you, your client may be in for a rude surpise at the volume of dictionary based spam that is about to be mapped. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where'd JAMES go?
James seems to be crashing periodically Consistent period? Which version of JAMES? Which JVM? OS? Processor type? Etc. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Multiple domains on JAMES (sales(@)xyz.com and sales(@)abc.com )
It is pretty easy to get JAMES to accept email for both addresses: sales(@)xyz.com and sales(@)abc.com, but how do I configure JAMES to put the emails to sales(@)xyz.com into one mailbox and emails to sales(@)abc.com in a different mailbox/user account? Just like you did with the other servers: create two mailboxes and use a virtual user table (VUT) to map each SMTP address to a local mailbox. On other SMTP servers I could create accounts such as abc_sales and xyz_sales and then create a forward rule to forward mail to sales(@)abc.com abc_sales and mail to sales(@)xys.com xyz_sales. Right, so create abc_sales and xyz_sales, and use a VUT to send [EMAIL PROTECTED] to abc_sales, and [EMAIL PROTECTED] to xyz_sales. You could even get clever with regex patterns if you have a consistent naming convention. See the examples that come with JAMES. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JAMES and sendmail
Simon Clark wrote: My next avenue was to try disabling sendmail, and use the sendmail.py script that comes with James. While this worked from the commandline, it was not working from php. I took the python code, and altered it to suit my needs sendmail.py was my first python program. Fixes and enhancements are welcomed. :-) --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Repositories
JAMES does not currently support hierarchical repositories. It does support mailboxes within them. What problem are you trying to solve? You could have a mailbox for each category. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JAMES and sendmail
James and sendmail don't seem to like coexisting. Can I trick them into that? or send emails from php through James? They co-exist. They even have their own FAQ entry right on the JAMES server menu: http://james.apache.org/server/james_and_sendmail.html. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JAMES - 550 5.7.1 Requested action not taken: relaying denied
When I'm trying to send email to my gmail account it's failing 550 5.7.1 Requested action not taken: relaying denied. when I add gmail.com to the servernames in config.xml, the error goes away That's correct. And since you aren't gmail.com, forwarding to your gmail account, e.g., using a virtual user table, would be the better solution. but I cannot see that email in my gmail inbox. Check the mailet log to see if Remote Delivery sent it to gmail. I'm guessing that it didn't, since you claimed to be gmail.com. Also, if you are running in a DHCP pool, please note that Google (as with most mail servers) is likely to refuse service from your IP address. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: zen.spamhaus.org
I use zen.spamhaus.org, but I use it in the in-protocol handler chain, not the mailet pipeline. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: respooling
(using file repositories) I need to restart the server itself after the mail has been moved to the respool directory, and only after that the FromRepository mailet will work (obviously a bug). I am not sure if I would call it a bug, so much as a feature of the file based repositories. They configure at init time, and that's it. I will take a look at some sort of reload mechanism, but I will have to go back and start from the last release. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: About James: from an absolute beginner
1) can it do moderated mailing lists? Not at this time, but the hooks are in place. can you administer it remotely? Yes. I haven't been in the physical presence of my mail server in years. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tuning JAMES MySQL
Assuming that you don't run into directory size limits, you'll be better off with dbfile rather than db for messages of these sizes. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mapping Users
There is no support for what you want, which is to map a single alias to a dynamic set of all known users at a domain. You'll have to write a custom mailet. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RemoteDelivery mailet doesn't do an MX lookup on the gateway smtp hostname(s)
I've modified the RemoteDelivery mailet properites within the transport processor of the config.xml and specified the gateway server hostname and port. I did an nslookup on my gateway server hostname and noticed that only an MX record has been setup... no A record exists Yes, the gateway is supposed to be an SMTP gateway, not your network gateway. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [2] Multiple James instances can use database repository?
Stefano Bagnara wrote: our MailRepositories and SpoolRepositories (both file and jdbc specializations) [do] Locking their own way. And caching. In any event, there are plans to permit clustering, and for the time being, your recommendations (in other messages) are appropriate. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reverse DNS Issue
Your mail is ambiguous. Are the JAMES server and firewall system separate, or a mult-homed server? If JAMES is running on a multi-homed server and you need to control which IP is used by RemoteDelivery, there is a bind entry for that in config.xml. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reverse DNS Issue
Firewall is a dedicated appliance. James resides on a server bound to two 192.168.x.x addresses (on separate physical interfaces). Each of those private addresses is port-forwarded on the firewall to two public IPs: x.x.x.37 (25 80) and x.x.x.38 (80 and 443). The firewall appliance IP is x.x.x.36. Ah, then this has nothing to do with JAMES, and everything to do how you are configuring your networking. When I attempt to bind to the .37 in RemoteDelivery I get an error: java.net.BindException: Cannot assign requested address: JVM_Bind Expected, under the circumstances. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [2] All but outgoing mails work
how can I configure AUTH for a gateway? Does your gateway require AUTH? Usually, they imply it by IP address. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: A question about James Mailing list
Anson, Two things: My James Mailing list worked normal,but I found a problem with James mailing list,everybody can use command [EMAIL PROTECTED] add to my list That sounds as if you are using the deprecated mailing list code. You want to use the command-based mailing list manager code, not the only stuff. i only hope the users who belong mydomain can add this list. Use a matcher to filter out requests from other domains. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Domain keys for JAMES
Stefano Bagnara wrote: DKIM (http://tools.ietf.org/wg/dkim/) is also governed by http://antispam.yahoo.com/domainkeys/patentlicense1-2.html. I'll raise the question of the patent license with our legal folks. Thank you! Of course it would be really cool if we can include DK support in the standard distribution of james! The current status is that we have identified a problem in the Yahoo! license, and are pursuing the matter further. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Delayed Bounces and SpamCop
It is best to use fast-fail rejection whenver possible, and not use DSN/Bounce notices. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Delayed Bounces and SpamCop
SpamCop simply says I shouldn't do 'delayed bounce' Their DNSRBL is one of the worst, and should never be used, anyway. Alternatively, I (i.e. my mail server) should simply reject the request in the SMTP server if it is an invalid recipient address But that means running my virtual address mailet inside the James SMTP server in order for it to determine valid/invalid, which I don't think is possible in James, is it? Not yet. It is code that we're working on already. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: dnsserver problems w/ 2.3.0
I switched from 2.2.1RC1 to 2.3.0 yesterday. All is well except that the dnsserver will not work. I had to change my gateway entry in config.xml from a hostname to an IP address to be able to send mail. Also, a custom mailet I have been using to whitelist certain sending domains is not working, because DNS lookups are failing. What do you see at the beginning of the DNS server log, where it lists the DNS servers that will be used? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Inbox messages lost after reboot
Al Caponi wrote: spoolmanager log file: No log for the past few days although emails were coming in. Connections log: Filled with ERROR connections: Error handling connection java.lang.OutOfMemoryError Which version of JAMES, and after how long? the messages in the spool folder simply disappeared and didn't go to their respective inboxes. Upon further investigation, I found that some of the inboxes (which contained hundreds of messages) were completely empty. I've not seen that behavior with JAMES, even after OOME. Which version? What type of repository? There is nothing in JAMES that will delete existing messages that way, *except* if someone is using a file-based repository, and has removed one of the file pairs. Someone did that recently, not realizing that the *Object* and *Stream* files are in pairs, and accidentally deleted everything. I encountered a major problem on our production server with James 2.2.0 (File repository) Is that still the configuration used above? What was the major problem? !-- Number of spool threads -- threads 100 /threads Are you providing enough memory to JAMES to handle that? That's a LOT of spool threads. max-connections0/max-connections For each of the 4 services - pop3, pop3s, smtp, smtps: connectionLimit200/connectionLimit There are 4 thread-groups defined for each service. All have the same settings as the following (except the name): max-threads500/max-threads Uh ... why? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDBCVirtualUserTable
robert = [EMAIL PROTECTED] frank = [EMAIL PROTECTED] user| domain | target_address robert | somedomain.com | [EMAIL PROTECTED] frank | somedomain.com | [EMAIL PROTECTED] Wrong. user| domain | target_address robert | somedomain.com | robert frank | somedomain.com | frank Right. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDBCVirtualUserTable
Which SQL we use? Built-in? Personally, I use MySQL for it. Have not tried with others yet. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mailing list with James
Giulio Troccoli wrote: I would like to create a mailing list using James (2.2.0), but it is a bit different for the usual one. - people can subscribe and unsubscribe, but they cannot send emails to the mailing list - one one user on my server, e.g. events_manager, can send emails to the mailing list You will need to upgrade to JAMES 2.3, but then you can add: specifiedpostersonlytrue/specifiedpostersonly allowedposters address[EMAIL PROTECTED]/address /allowedposters to your CommandListservProcessor configuration. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mailing list with James
Giulio Troccoli wrote: Wow, that worked a treat!! You're welcome. :-) I needed the feature, too. Now, I know I might be asking too much, but... is it possible somehow to allow a special user to approve the subscription? I don't care that much but I wouldn't like for everybody to subscribe to my mailing lists. We would just need to add some commands written to support moderation. Contributions welcomed, or we'll get to it eventually. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Domain keys for JAMES
Did the legal folks ever get back to you on whether or not an implementation of domain keys can be included? No. I've pinged again. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Forcing mail into the error folder (or any disk area)
I thought that mail.setState(Mail.ERROR) would send the mail to the error processor and save it into It should send it to the error processor, but you are responsible for storing it, using ToRepository, if you want it stored. Turn on debugging for the SpoolManager if you need to watch the message flow. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: sendmail.py isue(s)
I had to to install a hole Python-engine (with all the side effects it may bring) Most linux systems install python, and more than a few depend upon it for running their update code. The wrapper unnecessary communicats via sockets (with all the side effects it may bring) with the smtp-server. If there would be a sendmail-wrapper in Java that would directly speek with the spool, this communication could be economised. A Java solution would be far slower and less efficient. The JVM is a pig compared to python, which is optimized for scripts. The JVM would still be initializing after the python script had finished sending the e-mail. And if we were to insert the message directly into the spooler, that would cause other problems, such as having to configure the spooler for the client, too; keeping the configurations in synch; being able to access it in the first place (a problem for embedded Derby); etc. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Whether Outgoing Mail Goes Out
Does anyone know how to go about confirming that mail sent via James actually was sent? The Mailet log will have messages about it having been sent successfully. 15/10/06 11:45:56 INFO James.Mailet: RemoteDelivery: Could not connect to SMTP host: 65.54.245.8, port: 25; nested exception is: java.net.ConnectException: connection to 65.54.245.8 timed out Like that's a surprise ... eventually you should get through. It brings a wry smile to see this happening to Microsoft, since they are the primary cause of problems on the Internet. What is likely happening is that their servers are temporarily overwhelmed by connections from the many millions of MS-Windows spambots made possible by Microsoft's meticulous attention to security. It has gotten to the point where legitimate SMTP connections are hidden in the noise from botnets. My server and the ASF servers get about the same number of connection attempts per day, despite the fact that mine gets less than 1% of the legitimate e-mail volume of the ASF. The botnet connects are the base background noise in the network. We could lower spam to a fraction immediately by simply requiring ISPs to block port 25 from DHCP connections, and forcing all DHCP users to go through their ISP's mail relay, or though a VPN/ssh to some other mail gateway, either of which should implement anti-spam measures. INFO smtpserver: SMTP Service connection backlog is: 5 Does it mean that there are five messages waiting to go out? No. Please Google for information on TCP/IP connection backlog. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Whether Outgoing Mail Goes Out
I think I may have found the source of the blockage No, you found that our file-based repository uses both Object and Stream files in a pair. The one that you describe as all crumpled up...and looks almost like a binary file is, in fact, a binary file. I'm going to try to remove this and see if it clears the blockage. Well, it will certainly delete that e-mail. I guess I have to remove them all. Well, you just removed your outgoing e-mails. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Testing Whether Outgoing Mail Goes Out
My IP address is dynamic. Maybe hotmail is blocking receipts of email from dynamic ips. I wouldn't blame them. I certainly do. Most mail administrators do. Don't expect to be able to send e-mail from a dynamic IP address unless you are routing it to the mail gateway provided by your ISP. For the most part, people using dynamic IPs should get some sort of rejection notice, such as the one you received: (Mail1160576971332-238-!948658-to-trumpetguy.com: javax.mail.SendFailedException: Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 451 Dynamic/Residential IP range listed by NJABL dynablock but if you are in a subnet that is annoying enough, you may find that you cannot connect at all. For example, I have about 500 (and growing) of the most egregious subnets blocked at the firewall, so that legitimate senders can connect. Maybe the retries are holding up all the other mail. Possibly, but that depends on a number of factors, and JAMES will generally just queue up what it can't deliver for now, and come back to it later. How many threads do you have for outgoing mail? You may find that having more of them helps. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: James mailing lists
Giulio Troccoli wrote: I'm not sure how to change miResources.xml in the part that says at the beginning matchers matcher for=custom match=My Custom List/ /matchers That's only if you had some resource that was unique for a particular named list. You may not need it. If I send an email to the mailing list I don't have anything back and I would expect an error saying that I have not subscribed to the list. membersonlyfalse/membersonly ^ --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Domain keys for JAMES
Yahoo!'s DomainKeys Intellectual Property may be licensed under either of the following terms: * Yahoo! DomainKeys Patent License Agreement * GNU General Public License version 2.0 (and no other version). According to https://datatracker.ietf.org/public/ipr_search.cgi?option=wg_searchwg_searc h=dkim, DKIM (http://tools.ietf.org/wg/dkim/) is also governed by http://antispam.yahoo.com/domainkeys/patentlicense1-2.html. I believe that we cannot include such code in james distribution I'll raise the question of the patent license with our legal folks. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with Huge Email Files and Outlook Express
Define huge. Do you have sufficient memory allocated for the heap? Are there any OutOfMemoryError exceptions in phoenix.console? Also, do you have an in-stack e-mail scanner active, e.g. Norton AntiVirus? They are a common source of problems between mail clients and mail servers. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with Huge Email Files and Outlook Express
Maybe an overstatement to call them 'huge', but huge compared to typical messages. Each message was between 3MB and 5MB. There were 11 messages of this size in the inbox. I receive in that range without problem. I do put a hard limit of 5MB on e-mail for the server, though. No OutOfMemory messages I can find. Good. Outlook express client with failure each time. Tried it from Outlook and it worked fine. Now that's interesting. Normally do have Norton. But I just built the computer up about a week ago, and have not yet installed Norton. OK. So we can eliminate that from consideration. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how do you create a mail group
Noel J. Bergman schrieb: Er ... that's documenting really outdated code. The command-based list server should be the preferred, and supported, mailing list solution. If so we should update docs ;-) Yes. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how do you create a mail group
http://james.apache.org/server/2.3.0/mailing_lists.html Er ... that's documenting really outdated code. The command-based list server should be the preferred, and supported, mailing list solution. The supported classes are: CommandListservMatcher CommandListservManager CommandListservProcessor and the pluggable commands associated with them. See conf/james-list*.xml. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: update on fast fail?
I'm in the beginning stages of evaluating JAMES. While I agree with some of the points in http://wiki.apache.org/james/NoFastFail, I would still like to persue implementing fast fail under JAMES. We have fast-fail support in JAMES v2.3, and considerable effort is going into enhancing it even more. We all recognize that the SMTP landscape has continued to change, with millions of MS-Windows users contributing to billions of spoofed SPAM messages. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SMTP Auth failure
I just noticed that 530 Authorization required is not a message coming from James (we don't have Authorization required in our code Look at the RcptCmdHandler. :-) He apparently typed it in, and meant a capital R. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ORA 1460 - unimplemented or unreasonable conversion requested
James 2.2.0 Driver Oracle jdbc 9 Database: Oracle 9i Did you look up that error? Google found a few, including: http://www.orafaq.com/forum/t/54231/0/ http://www.mail-archive.com/dbi-dev@perl.org/msg04296.html Any change in your environment, such as a different locale? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Does james need to have a local DNS server installed?
dnsserver: Couldn't resolve IP address for host localhost. You should have an /etc/hosts and have resolv.conf configured properly. On the console, I can ping localhost, but how can I configure localhost MX records? You don't. It said that Java wasn't able to resolve the IP address, not an MX. BTW, I am a java/ajax/hibernate/spring/tapestry/java developer and am considering building a UI for james. Cool. Someone posted a URL about a web app for adminstering JAMES, but it is under the GPL. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems sending Hotmail
Santosh Puranshettiwar wrote: Noel J. Bergman wrote: Just checked with GMail, Yahoo! and Hotmail. Only Hotmail is marking mail as spam. And when I ask why, I am told that it is marked as spam only because Sender is not in your Allowed Senders list or your Contacts list. That's allegedly the default policy on Hotmail now, which would make most e-mail spam, and requires you to mark the sender as known. I agree. JAMES couldn't be *it*. But quite a few of us are facing this problem, probably we should digg it and document the problem somewhere for future. And what do you want to document? I also sent e-mail direct from my Google Mail account to hotmail. Worked fine. I then sent e-mail using my @apache.org address via the Apache servers, and it was flagged by hotmail as spam. The MTA is qmail, not JAMES; and Apache has proper SPF records, so my @apache.org address was coming from a legitimate @apache.org relay. Amusingly enough, the MUA on my end, in all cases except for GMail, was Microsoft Outlook. And one of the messages I sent from @apache.org didn't show up anywhere: no e-mail, nor spam nor bounce to indicate a problem. I received a message that it was being spooled for delivery, and then it vanished. Again: Bottom line: it isn't JAMES. What I found after some digging around on the Internet are claims that Microsoft is pushing their BondedSender like crazy, and that if you want [mail delivered to hotmail users] badly enough, then you will probably pay to use their bonded sender program. Otherwise, you may be forced to eliminate all hotmail users from your lists, or at least live with the fact that most mail from you to hotmail is going to be blocked or dropped. See also: http://www.emailbattles.com/2006/04/20/email_aadeefedia_di/ Microsoft says you should deploy its lightly used [and patent encumbered] Sender-ID email authentication and/or pay for SenderScoreCertified (previously known as “bondedsender”). Or: http://www.emailbattles.com/2005/12/08/email_aaccedjcjd_f/ millions of Comcast subscribers have been unable to send email to MSN or Hotmail. Or any number of other reports about Hotmail that 30 seconds in Google will turn up for you. I agree that this is useful information, but again, what do you want to document? I am trying to be nice about it, but from my perspective, these problems amount to nothing more than what I expect from a Microsoft Internet property. In my view, the only interesting thing from my testing is that the e-mail from GMail worked, which leads to interesting speculation but nothing particularly useful in terms of your problems delivery mail to Hotmail users, other than to suggest that they switch from Hotmail to another web mail provider, such as GMail. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems sending Hotmail
I've had these problems with Yahoo mail too. I have JAMES in production on a static IP and it works just fine with Yahoo and Hotmail, and everything else. I am on several Yahoo-based mailing lists, and have noticed some timeouts with Yahoo lately, but that's why they have (and we try) multiple servers during delivery. And why servers (are supposed to) make many attempts for mail. It is a constant battle against the spam gangs. Last night I noticed a storm where in about 9 hours we had more than 72K connections rejected because there were more than the maximum connections already in use, and that's in addition to handled over 50K connections (and message attempts) in that same period. Much of the traffic was generated by legitimate servers, particularly prodigy.net's mail servers, sending bounces for forged traffic sent by spambots. The traffic dropped off a couple of hours ago, possibly when mail administrators got into their offices and saw their traffic, and things are back to normal. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems sending Hotmail
Just checked with GMail, Yahoo! and Hotmail. Only Hotmail is marking mail as spam. And when I ask why, I am told that it is marked as spam only because Sender is not in your Allowed Senders list or your Contacts list. That's allegedly the default policy on Hotmail now, which would make most e-mail spam, and requires you to mark the sender as known. What's interesting is that I still receive spam on Hotmail, and from senders not on my list. So Hotmail isn't being entirely forthcoming about their filtering policy (its Microsoft, so like that's a surprise), but at least the e-mail coming from me is governed by that policy. Bottom line: it isn't JAMES. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: james use 99% CPU
If you haven't already done so, run optimize on the tables in the database used by JAMES. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Delays in Relayed Emails
I checked the mailet log and found a lot of messages that are undeliverable. Errors messages include: Could not connect to SMTP host: [ip address], port: 25; nested exception is: java.net.ConnectException: Connection refused: connect Perhaps there is a network problem between you and Yahoo!, or some other reason that prevents you from connecting. Exception reading response; nested exception is: java.net.SocketTimeoutException: Read timed out Seems to be a connection problem. RemoteDelivery: Attempting delivery of Mail1156958242605-3570-to-yahoo.com to host mx1.mail.yahoo.com. at 67.28.113.73 to addresses [EMAIL PROTECTED] That looks alright. Exception delivering message (Mail1156483577430-20551-to-qiaojian.net) - 452 Invalid sender: [relayed email address] It would appear from context that the server handling mail for qiaojian.net didn't like the sender being sent from you. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: james use 99% CPU
I use james to receive emails and put them in mysql database. It has been working well for months but it takes 99% whenever i restart it. Check var/mail/* and look to see if you have been accumulating large amounts of mail in a file-based repository. JAMES will process that repository at startup to build the index, so clear those out. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Spamato, Dcc and Razor Mailets?
Has anyone thought of writing mailets for spamato http://www.spamato.net/ spamato is GPL, and therefore licensing incompatible unless there is some sort of publicly documented wire-level protocol to use. Keep in mind that we already have support for spamd, clamav, our own Bayesian analysis, and a variety of other filters. JAMES 2.3 is about to be released, and JAMES 2.4 will follow on this Fall with additional filters. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: james use 99% CPU
Check the various logs. Turn on debug if necessary. And look to see if you can spot where there is a gap in time, e.g., during the initialization of a particular component. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SpamAssassin on Windows?
See http://wiki.apache.org/spamassassin/SpamdOnWindows That's about as good as you'll get for MS-Windows, apparently. Alternatively, you could install VMware and run spamd in a VM. You run JAMES inside the VM, too. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing Connction pool from Mordred to dbcp
See http://bugs.mysql.com/bug.php?id=16161 Do you have max set for the number of connections? How many? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Changing Connction pool from Mordred to dbcp
FYI, you might try: max_idle10/max_idle max20/max max_wait6/max_wait in your DBCP configuration. Contrary to the javadocs, the default for max_wait is 5000, which is most likely too low. Mordred defaults to being much more determined about getting connections, and retried up to 100 times over a 5 second period. I recall having problems when it retried only 10 times over a 0.5 second period. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: James running out of connections
What makes me curios is, that james is not recovering, i got aware of the problem 6 hours after the first connections problem and it did not spooled even one message. kill -3 against the james process ought to tell us what is happening with the various threads. I am runnning James since 2004 and never got such serious problems. There are now millions of Microsoft spambots out there. I've seen connection rates go up by orders of magnitude. Today I was looking at 5 connections per second in a relatively quiet corner of the Internet, which is almost as much as the Apache infratructure had to deal with in the same time period. Occasionally James runs out of connections On a day like today, happens often. Solutions are to fast fail them, tune the TCP/IP stack, and block the worst offenders at the firewall. The solution is not to randomly add more connections. Throwing more resources -- more connections -- at the problem just allows more spambots to consume them. And more connections means more RAM, more CPU, which may spread those resources too thin to properly handle the connections that you do have. But JAMES should recover. I see things like: 27/08/06 04:05:46 ERROR smtpserver: Unknown error occurred while processing DATA. javax.mail.MessagingException: Unable to retrieve the data: Read timed out; and 27/08/06 04:05:50 ERROR smtpserver: Socket to 190.40.245.30 (190.40.245.30) closed remotely. all the time without problem. Maximum number of open connections exceeded - refusing connection. Current number of connections is 60 You're just exposing more resources to the spambots. There are infinitely more of them than you can open connections. And you have to be careful to make sure that you tune connections, total threads, db connections, etc., to prevent exhausting resources. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: James running out of connections
I am running on windows, so I believe I can't use kill to terminate james. We don't want to kill it. We want the JVM to dump the thread status, which is what it will do when receiving that signal. Are there ip lists from known spambot attackers, so I can block them? Yes, but installing them might be a challenge. Most of them would be shared in the form of ipfw or iptables scripts by administrators. It would be a bit overboard to import the entirety of xbl-sbl.spamhaus.org. :-) What do you mean with tune the TCP/IP stack? See www.redbooks.ibm.com/abstracts/redp3943.html. That's for MS-Windows, but it really doesn't have much to say compared to the options available and described in the same book for *nix, e.g., www.redbooks.ibm.com/redpapers/pdfs/redp3861.pdf. How can I fast fail the connections? One way would be to enable DNSRBL support in the SMTP handler chain. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Delays in Relayed Emails
Santosh Puranshettiwar wrote: I am facing a problem in which all mails sent from the JAMES relay are classified as spam. From what IP? Have you checked the block lists for it? And does Y! tell you why it has classified your messages as SPAM? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Delays in Relayed Emails
Sometimes when I sent emails to yahoo address, they receive it instantly. Other times there are delays upto 2 hours. This also happens to other companies' email accounts. There has been times when the delay goes up to 12 hours. Check the mailet log for errors sending the e-mail, which would cause JAMES to reschedule the e-mail for later retries. For example, if a remote system is trying to do greylisting, it could lead to delays in delivery. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JAMES v2.3 Release Candidate 2 (RC2)
The JAMES Project is please to announce the second Release Candidate for JAMES v2.3. This release candidate is running in a variety of production environments for many JAMES developers, and we expect to relabel it as the JAMES v2.3 Release unless user testing turns up any significant problems. The Release Candidate is available from http://people.apache.org/dist/james/server. Changes from RC1: JAMES-574 Annoying logging of whitelist/blacklist nomatching as unknown host exception thrown: listname if INFO is enabled JAMES-580 NPE is issued when receiving a read receipt from MS Outlook, and checkValidSenderDomain is set to true JAMES-584 FileStreamStore diskspace leak for removed messages in file\ based spool under windows JAMES-585 SMTP Server may leak temporary ($[JAMES}/temp/*.m64) files JAMES-587 CommandListServManager does not properly handle invalid commands. JAMES-588 XMLResource getString methods have incorrect javadocs, and one will throw an NPE. This release also conforms to revised ASF policies for notification of third party licenses, and US Government regulations regarding cryptographic software (added due to the support of S/MIME). --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Query Regarding Deployment Doc
In addition to the links posted by Norman, you might look at the VERP spec. For what it is worth, I have a regex-based VERP parser, which I'll be contributing soon for JAMES. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message body altered
I am certainly receiving HTML e-mail successfully. I don't send any as a general rule (there is even talk of banning HTML e-mail entirely from @apache.org lists). Last night, I uploaded what should become RC2 after we vote on it. You can find it at http://people.apache.org/~noel/james. Please let me know if you see the same problem. If so, it would be helpful if you started a JIRA issue. Please provide your configuration files and sample messages. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Message body altered
steven scott wrote: I upgraded to the latest RC and it looks find now. Great. :-) --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FileStreamStore file is left in the spool
Iwasa Kazmi wrote: I did a simple test of rc2 with my usual settings, and no problem was found. Thanks a lot. No, thank YOU. :-) We very much appreciate your efforts to help make JAMES better for everyone. :-) --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Making secure server
Serge Knystautas wrote: Noel J. Bergman wrote: See you are using KMail, I'll hope that you're not using MS-Windows for anything at Tarang Software Technologies. ??? Oh, just an aside. KMail is a quite fine MUA for the KDE desktop environment, which runs on Linux, and when I posted the URL, the top entries on Google were all for *nix based systems (although today Microsoft has the top entry), and I wasn't going to track down info on configuring DNS for MS-Windows. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Making secure server
Raghavendra Setty wrote: 1) What needs to be done to make my mail server more secure. More secure than what? JAMES is secure. Do you mean maintaining a closed relay? Do you mean anti-spam or anti-virus? 2) Info on Setting up DNS in multiuser and multiserver environments. See: http://www.google.com/search?hl=enq=setup+dns See you are using KMail, I'll hope that you're not using MS-Windows for anything at Tarang Software Technologies. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FileStreamStore file is left in the spool
I've tried 2.3.0-dev on Windows XP. In my environment, the problem [still] appears We made another change this morning based upon your report. I'm in the process of uploading now. Look for a new build within the next 30 minutes or so, depending upon how long the upload takes. Same place: http://people.apache.org/~noel/james --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FileStreamStore file is left in the spool
I would strongly suspect that this is a Windows issue. Yes, the file was still open, and *nix allows deleting the open file whereas MS-Windows does not. We believe that this issue is now fixed. I've uploaded a build to http://people.apache.org/~noel/james for people to test in their environment. The build includes all cumulative fixes to date. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Does James support email alias for a group of email addresses?
Ningmei Zhu asked: I was wondering if James support email alias for a group of email addresses? How can I create an email alias for a group of email addresses in James? Can we do it, let me count some ways: (a) create a virtual user mapping with multiple target addresses (b) create a mailing list (c) use a forwarding mailet There are probably a few others. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FileStreamStore file is left in the spool
Vincenzo Gianferrari Pini wrote: My file based repositories are always clean, and the FileStreamStore files are automatically deleted as soon as sent. It has always been so for me in the last 3 years, in 2.1, 2.2 and now in 2.3. I have on very rare occassions seen a stray file. The more common one would be a stray .m64 file in temp/. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reminder: JAMES 2.3 Release Candidate is Available
Folks, Just a reminder that a Release Candidate for JAMES v2.3 is available. So far this build is looking very solid. I believe that most JAMES committers already have it in production. We'd love to have feedback from more of you as soon as possible. Compared to JAMES v2.2, JAMES v2.3 is a *MAJOR* new release, with MANY improvements in performance, stablity and functionality. But wait, you ask, then why does this major update receive only a .1 change? The reason for that is that, although we have not entirely succeeded, we're trying to follow the policy of reserving the left side of the decimal point for INCOMPATIBLE changes. For example, one of the planned changes for JAMES v3 impacts the database schema, which would not be compatible with JAMES v2. In the case of JAMES v2.3, only the configuration files should require much attention from the Mail Administrator. And we are already planning JAMES v2.4, with additional improvements, such as SPF support. Your feedback will be valuable as we plan these releases. For example, the goal for JAMES v2.4 would be to provide only low-risk, high-value, improvements over JAMES v2.3. Do you want us to adopt any different policy for inclusion? And, yes, JAMES v3 and later versions are already being planned, as noted above. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: nntpserver current state of development
Holger, What is the current state of development ? Beta, I'd say. There has been relatively little development of NNTP, but it does work. I recognized, that messages posted to the server are stored, but seem not to be returned correctly to clients. See JAMES-311. Try the same thing with the JAMES 2.3 release candidate, and you should see it working properly. If not, please let us know. I assume that nntp control messages (i.e. the 'newgroup' command) are not supported, right ? I'm hoping that someone will help to re-cast the NNTP implementation with command handlers, and then we can add modular support for control messages, amongst other things. Adding even a very few things would really help to improve it. Volunteers welcomed. :-) How do i enable logging of debug-level messages in James ? See the environment.xml file, where you can control log levels. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Handling the Expired: Header
Marcel, http://issues.apache.org/jira/browse/JAMES-444 What about have the feature configurable: onExpires=off // default onExpires=drop // discard expired mail without notice (my patch) onExpires=bounce // or other actions?? If we were to introduce this into RemoteDelivery, it would be necessary only because RemoteDelivery does its own internal queuing. If you have not seen the discussion on server-dev@ for a new approach to spooling, you may want to read the thread starting with Message-ID: [EMAIL PROTECTED] in the archives. In brief, part of that proposal includes moving rescheduling outside of the mailets and to the processor boundary, allowing us more flexibility on what to reschedule. As a nearer-term thing, even in the absence of the additional work required to change the spool store and wrap processors into transactions, if we can allow you to have something like: processor name=RemoteDelivery schedule ... /schedule mailet match=Expired class=[Null|Bounce|...] /mailet mailet class=RemoteDelivery /mailet /processor would that satisfy your requirements? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using JMS from a Mailet
Scott Stephany wrote: I'm really just looking for ways to cluster James in a distributed environment and have them keep in sync. For example, let's say I've got a blacklist mailet that detects abuse in one James instance. I'd love to have that instance propogate this to all James instances in the cluster if detected by one instance. At present, your best option would be a shared database. But if you look at the proposal I posted for replacing the spool mechanism, you'll find what you're looking for there. But don't hold your breath in the meantime. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using JMS from a Mailet
Scott Stephany wrote: Hi again! I'd like to explore some ways to use a mailet as a JMS client to publish certain messages to a JBoss JMS Topic. It seems the best way to connect to a JMS destination, however, is through an InitialContext, which makes me think I need to explore using a JNDI implementation as well. JAMES does not currently expose JNDI and JMS to mailets. I hope that will change, and would not mind having someone else around to help that happen. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: LMTP
I would like to know if James Server support the protocol LMTP ? Not at this time, although there was some talk at ApacheCon about it. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: False Positives on SenderInFakeDomain?
JVM wrote: given [the] possibility that at random times, a DNS server will timeout on a request for perfectly valid domain, this would appear to me to be a very risky matcher to use in production. And now you understand why I want to move the retry scheduler to the spool manager, rather than embedding it uniquely within something like RemoteDelivery. :-) --- Noel P.S. Yes, I'm alive. May be off-line until Thursday, though. Good news is that the ApacheCon US 2006 schedule is done, tentatively. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HELP!! Thousands of files stuck in spool at 'transport' state
Norman Maurer wrote: Yeah the 10 Minutes are hardcoded as default. We can adjust them, but please note that there are two ... Anyway you can set the default in the RemoteDelivery mailet with: timeout milliseconds /timeout But also: connectiontimeout milliseconds /connectiontimeout The latter is for establishing the connection, the former is for socket I/O. The connection timeout is set to 1 minute. Once we have established a socket, then a higher default timeout is currently used. See: http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-sum mary.html --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HELP!! Thousands of files stuck in spool at 'transport' state
JWM wrote: This problem seems to be exacerbated by the fact that if a target server is down, there is a default 10 minute timeout value. Personal feeling is that if the target mail server doesn't respond in a minute or so, time to move on Are yoy seeing a 10 minute figure? That would imply that the target server accepted the connection, but is not doing I/O on it. Is that 10 minute timeout value configurable? I can't seem to find it. Yes. See other replies. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HELP!! Thousands of files stuck in spool at 'transport' state
Stefano wrote: testing 2 times 6 multihomed servers and do this things 15 times by default. In our default that single mail would result in 6*2*15 total attempts (180 attempts) each one keeping a thread busy for 10 minutes (1800 minutes, more than a whole thread day). That does not match the default delivery schedule. 6IP*2Server*10min is two hours, and then there is a retry delay before we try again. After the 4th retry, the interval would be 3 hours, and the remaining are 6 hours up to 25 attempts. So the worse case should have the thread tied up for 2 hours (which I agree is not acceptable), and there should be large blocks of hours where e-mail delivery for that message is not attempted. If this is not working as described, it is a bug. Not a design flaw. 1800 thread minutes for a single mail as worst case default is not acceptable to me. With a 3 minute timeout, the worst case for your scenario should be 36 minutes before we reschedule the e-mail for later delivery. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: HELP!! Thousands of files stuck in spool at 'transport' state
JWM wrote: With the default thread count of 1, one or more outbound emails to a non-well-behaved target mail server (e.g. outblaze...) can cause thousands of undelivered outbound emails to build up for days in the spool waiting for that one thread trying to send a couple of emails. It should not be the case that one thread backs up for days to send a couple of e-mails. Even with a 10 minute time out and many IP addresses. So that needs to be checked, having nothing to do with interpretation of the proper implementation of the RFC. One improvement is to increase the number of threads so one blocked thread won't shut the system down. Sure ... unless you have a few mails going to that server, in which case you might block on ALL threads going to that same server. Not a solution to the problem. Another improvement is to reduce the timeout from 10 minutes to ~2 minutes. You can do that right now in your config.xml. if James encounters a timeout situation and heads down the path of trying a bunch of ip addresses, have one delivery thread that is dedicated as the 'slow driver lane' thread. Interesting idea, although then you need multiple thread pools: one for the first type, and one for the retry type. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Expected Outbound Throughput?
I am curious why the default [RemoteDelivery threads] is 1. Seems to me that a normal default configuration would want at least 2 or 3 threads doing delivery. I seem to recall that it was higher, and we lowered it in th default configuration for a reason. But I agree that it is too low for all but the most casual users. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Test 2.3a4 and Redirect
mysql, debian, Java 1.5 Version of MySQL? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Vunerability?
Jason Clark wrote: I tested this on our 2.2 installation, and it did indeed cause the server's cpu to spike to %100 utilization. Since you can reproduce it against your 22, would you please see if you can reproduce it against the current 2.3 beta? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Vunerability?
I think that version 2.3 is also 'vulnerable'. The readLine() method in org.apache.james.util.CRLFTerminatedReader does not check for a maximum number of characters read It does now. :-) Please see the change I just committed to trunk. If everyone agrees, we should also commit it to the release branch. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running james as non-root
Is there the possibility of configuring a local sendmail or postfix to route to the higher port? Yes. Or just use/write a trivial socket proxy. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 550 Relaying Denied - Production Problem
[EMAIL PROTECTED] wrote: James is the destination server, but it is rejecting messages from the forwarding server (Lotus Notes) because it cannot perform a reverse lookup on its ip. In which log to do see JAMES rejecting the message? Do you believe that this is happening at SMTP protocol time? Can you reproduce this by telnet into the JAMES server and attempting to post a message manually? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 550 Relaying Denied - Production Problem
[EMAIL PROTECTED] wrote: It is only appearing in Delivery Failure Reports from Lotus Notes, i actually do not see it in any of the James Logs. Do you believe that this is happening at SMTP protocol time? I don't think so, as there is no activity on the SMTP logs of James I had a feeling that you were going to find that to be the case. So you're not even getting to JAMES at all, right? No connection messages from the Lotus server's IP, even? --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: running james as non-root
If you can't port forward, it isn't an option, unless we figure out how to use Commons Daemon to start JAMES. Commons Daemon supports starting as root, and then switching to a non-privileged user. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SMTP Problem
I can send messages but only to local addresses. Is it possible that my port is blocked by my ISP? Did you configure DNS? RemoteDelivery? Gateway? Are you running on a static or dynamic IP? If the latter, you will need to configure a gateway because otherwise few systems will accept e-mail from you. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Michael Dreeling/ServiceCentre/Ireland/SunLife is out of the office.
Due to the defective auto-responder on your site, you have been unsubscribed from the JAMES User mailing list. When you are back from vacation, please feel free to re-subscribe. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: messages spooled, but not added to inboxes?
I'm researching a fairly annoying bug in my James setup that is preventing messages from making their way into our user's inboxes Any ideas on where I should be headed with my troubleshooting on this one? Since the messages are being spooled properly, turn on DEBUG for the spoolmanager to see how it is handling each message. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: send mail
is that possible to use james to receive mail and sendmail to send mail ? You want JAMES to send (relay) outgoing mail via sendmail? Or are you looking to use sendmail locally to send mail to JAMES? For the latter, see: http://james.apache.org/james_and_sendmail.html. Also, I have posted a python script that serves as a replacement for /usr/bin/sendmail in many situtations, allowing JAMES to be installed as the sole MTA. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to reject hoax messages
a spammer/virus each message has a virus attached. I run ClamAV, which would filter those out. What can I do to reject messages that appear to be from an account that they are not from. SPF would be one approach, but we don't have SPF support, yet. Another would be to require SMTP AUTH for local senders, or known subnets. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: smtp hung and took 10 hours to start back up again
Nathan Cheng wrote: the connection log at times grew at 5MB per minute, repeating the EXACT SAME 42 LINES over and over and over again without so much as a pause. Unless there is a weird bug that needs to get fixed ASAP, JAMES will only print out that message upon receiving an attempted connection. Have you used netstat to confirm the IP stack's view of things and comapare it with what JAMES thinks is going on? I have seen a problems with spammers who run massively parallel attacks, and then leave without saying goodbye. There are some things that can be done to tune TCP/IP to help, depending upon your OS. And you can consider blocking attackers at the firewall. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]