james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Maurer ...@spam-box.de>
Subject empty mail.sender();
Date Sat, 04 Mar 2006 07:57:19 GMT
Hi,

i wrote a mailet thats split the email in one email for each recipient.
i use this :

  try
            {
                getMailetContext().sendMail(mail.getSender(),
Arrays.asList(new MailAddress[] { recipient }), message,
state);
            }
            catch (MessagingException ex)
            {
                getMailetContext().log("Error while splitting mail.",
ex);
            }

but i run into a problem now. I see some emails that get in the
deadletter table. This is what i get back as bounce:

We were unable to deliver the attached message because of an error in
the mail server.

Message details:
  Subject: problem in verschickter Nachricht gefunden "Always dreamed of
an immense dick? Penis Enlarge Patch can make your dreams come true. "
  Sent date: Sat Mar 04 06:30:27 CET 2006
  MAIL FROM: null
  RCPT TO: nm@spam-box.de
  From: "System Anti-Virus Administrator" <sm@spam-box.de> 
  To: sm@spam-box.de 
  Size (in bytes): 1286

It seems that the problem is that MAIL FROM: null is set.. But how can
that happen ?

Here is the header of the email that is put in the table:


Return-Path: null
Received: from mail.spam-box.de ([xxx.xxx.xxx.xxx]) by mail.guden.ath.cx
(JAMES SMTP Server 2.3-dev) with SMTP ID 536 for <nm@spam-box.de.de>;
Sat, 4 Mar 2006 06:31:04 +0100 (CET)
Received: (qmail 469 invoked by uid 1096); 4 Mar 2006 05:30:48 -0000
Received: from  by mail-web-ix by uid 71 with ExcuBAtor-3.1.2-beta
(3.1.2-beta Clear:RC:1(217.195.2.194):.  Processed in 0.0660269999999999
secs); 04 Mar 2006 05:30:48 -0000
Received: from mail.xxx.de (xxx.195.xx.194) by mail.xxxx.de with SMTP; 4
Mar 2006 05:30:47 -0000
Received: (qmail 3852 invoked by uid 64014); 4 Mar 2006 05:30:27 -0000
Datum: 4 Mar 2006 05:30:27 -0000  (06:30 CET)
Von: System Anti-Virus Administrator <nm@spam-box.de>
An: nm@spam-box.de
Betreff: problem in verschickter Nachricht gefunden "Always dreamed of
an immense dick? Penis Enlarge Patch can make your dreams come true. "
Message-ID: <138733560.1141450264952.JavaMail.root@devcenter>
X-Tnz-Problem-Type: 40
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-type: text/plain
Content-Transfer-Encoding: 7bit


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message