AIX java sendmail inconsistent sending of email
Hello,
I really need everyone's help on this case which is driving me crazy for about a month now. We have a process which send out emails, by 2 loops, one after the other: Code:
MAILTO="email1@server.com email2@server.com" Then I had the idea to let sendmail rest for some time, he might just be exhausted: Code:
MAILTO="email1@server.com email2@server.com" The problem is, I am not that familiar with Java and Sendmail. So, I have the following questions: 1. How can I possibly check the email sending rate limit for my user? 2. How does java know which user to use as the email sender? 3. Where should I look at the class file of util.SendMail Thanks! |
I know beans about java...;)
However I ran an email server around the turn of the century that used sendmail on VAX, before I fled for happier hunting grounds like a bat outta hell. Quote:
Quote:
Sendmail just dumps them into an outbound cue for processing and delivery, the problem you may have is the cue has a size limit (the could correspond roughly to, say...33 emails). Once you blow up that cue, all the mail get's routed to /DEV/NULL cause sendmail has no place else to put it. What's probably happening is the first email hits the servers outbound cue and it takes it a couple of seconds to initiate the push out, by which time your java program blew the back off the cue and sendmail can only process the first 33. Have only the first email wait 5 seconds before the second and see if you don't end up sending more emails as a result, though the fix is figure out what the maximum number of emails your java program is going to generate and adjust the outbound cue capacity a little above that. Quote:
|
Where this utils.SendMail is coming from?
|
All times are GMT -5. The time now is 12:37 AM. |