You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Felix LO <fe...@yoton.com.hk> on 2005/08/02 09:12:01 UTC
Re: 501 Syntax Error
I got the below message in James-mailet.log
1122966149312 [INFO ] (James.Mailet): RemoteDelivery: Remotely delivering mail Mail1122966149250-132-!604575464
1122966149312 [INFO ] (James.Mailet): RemoteDelivery: sending mail to [felixlo@yoton.com.hk] on host yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: Remote delivery thread (0) will process mail Mail1122966149250-132-!604575464-to-yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: attempting to deliver Mail1122966149250-132-!604575464-to-yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: attempting delivery of Mail1122966149250-132-!604575464-to-yoton.com.hk to host 128.128.128.9 to [felixlo@yoton.com.hk]
1122966149421 [INFO ] (James.Mailet): RemoteDelivery: Exception delivering message (Mail1122966149250-132-!604575464-to-yoton.com.hk) - 501 Syntax error in parameters or arguments
1122966149468 [INFO ] (James.Mailet): RemoteDelivery: Temporary exception delivering mail (Mail1122966149250-132-!604575464-to-yoton.com.hk: javax.mail.MessagingException: 501 Syntax error in parameters or arguments
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:192)
at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:449)
at java.lang.Thread.run(Unknown Source)
1122966149468 [INFO ] (James.Mailet): RemoteDelivery: Storing message Mail1122966149250-132-!604575464-to-yoton.com.hk into outgoing after 0 retries
And the mail header as below
Return-Path: <>
Received: from NS1 ([192.168.0.1])
by yoton.com.hk (JAMES SMTP Server 2.0a3-cvs) with SMTP ID 635
for <fe...@yoton.com.hk>;
Tue, 2 Aug 2005 15:02:29 +0800
From: postmaster@ns1.yoton.com.hk
To: felixlo@yoton.com.hk
Date: Tue, 2 Aug 2005 15:02:39 +0800
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk"
Message-ID: <FR...@ns1.yoton.com.hk>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
receiver@invaliddomain.com
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: message/delivery-status
Reporting-MTA: dns;ns1.yoton.com.hk
Received-From-MTA: dns;serverx
Arrival-Date: Tue, 2 Aug 2005 15:02:38 +0800
Final-Recipient: rfc822;receiver@invaliddomain.com
Action: failed
Status: 5.0.0
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: message/rfc822
Received: from serverx ([192.168.1.1]) by ns1.yoton.com.hk with Microsoft SMTPSVC(5.0.2195.6713);
Tue, 2 Aug 2005 15:02:38 +0800
Message-ID: <00...@serverx>
From: "Felix LO" <fe...@yoton.com.hk>
To: <re...@invaliddomain.com>
Subject: testing mail
Date: Tue, 2 Aug 2005 15:02:48 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0016_01C59773.3ED9EDF0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
Return-Path: felixlo@yoton.com.hk
X-OriginalArrivalTime: 02 Aug 2005 07:02:38.0848 (UTC) FILETIME=[2B2C6000:01C59730]
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C59773.3ED9EDF0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
------=_NextPart_000_0016_01C59773.3ED9EDF0
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0016_01C59773.3ED9EDF0--
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk--
----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <se...@james.apache.org>
Sent: Saturday, July 30, 2005 7:08 PM
Subject: RE: 501 Syntax Error
> Can you provide more details, perhaps with an illustration of the problem?
>
> --- Noel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
Re: setting up maillists in James 3.0
Posted by Marc de Oliveira <Ma...@deOliveira.dk>.
The error is in the "spoolmanager". Beside that I don't understand much of
the error message:
ERROR 2005-08-03 17:07:35.758 [Phoenix.] (): Component named
"spoolmanager" failed to pass through the Initialization stage. (Reason:
javax.mail.MessagingException: Can't initialize:;
nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: Can't
initialize:).
ERROR 2005-08-03 17:07:35.758 [Phoenix.] (): There was an error running
phase "startup" for Block named "spoolmanager". (Reason: Component named
"spoolmanager" failed to pass through the Initialization stage. (Reason:
javax.mail.MessagingException: Can't initialize:;
nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: Can't
initialize:).).
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component
named "spoolmanager" failed to pass through the Initialization stage.
(Reason: javax.mail.MessagingException: Can't initialize:;
nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: Can't
initialize:).
at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:289)
at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:159)
at
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:480)
at
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:428)
at
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:364)
rethrown from
javax.mail.MessagingException: Can't initialize:;
nested exception is:
org.apache.avalon.framework.configuration.ConfigurationException: Can't
initialize:
at
org.apache.james.transport.mailets.CommandListservManager.init(CommandListservManager.java:257)
at org.apache.mailet.GenericMailet.init(GenericMailet.java:129)
at org.apache.james.transport.MailetLoader.getMailet(MailetLoader.java:60)
at
org.apache.james.transport.JamesSpoolManager.initialize(JamesSpoolManager.java:250)
at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
Sincerely,
Marc de Oliveira
----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <se...@james.apache.org>
Sent: Tuesday, August 02, 2005 4:06 PM
Subject: RE: setting up maillists in James 3.0
>> I have just installed James version 3.0 from
>> http://cvs.apache.org/dist/james/bin/.
>
>> James cannot startup if I uncomment the "&listserverConfig;"
>> line in config.xml.
>
> What is the error? Are you on a Microsoft OS with a space in the path
> name?
>
> --- Noel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: setting up maillists in James 3.0 - new problem
Posted by Stefano Bagnara <ap...@bago.org>.
> I got the server up - but now all maillist commands are sent
> to the "address-error" folder.
>
> It seems that James do not recognize the address
> MyList-subscribe@MyDomain (while MyList@MyDomain works fine).
>
> Where should I set these things up?
Have you configured your matcher?
<mailet match="CommandListservMatcher=MyList@MyDomain"
class="CommandListservManager">
If you need more help you should also attach log messages and your full
configuration. It is difficult to tell what is wrong without configurations
and logs.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: setting up maillists in James 3.0 - new problem
Posted by Marc de Oliveira <Ma...@deOliveira.dk>.
I got the server up - but now all maillist commands are sent to the
"address-error" folder.
It seems that James do not recognize the address MyList-subscribe@MyDomain
(while MyList@MyDomain works fine).
Where should I set these things up?
Sincerely,
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: setting up maillists in James 3.0
Posted by Marc de Oliveira <Ma...@deOliveira.dk>.
I am still trying to get the maillists to work on James 3.0.
I am running on Windows XP but I don't have spaces in the path names. Still,
I am not sure how the <resources> path should be defined in
james-listmanager.xml.
I have tried with the following formats:
<resources>c:\homepageprograms\james\james-3.0-dev\apps\james\conf\miResources.xml</resources>
<resources>c:\homepageprograms/james/james-3.0-dev/apps/james/conf/miResources.xml</resources>
<resources>/homepageprograms/james/james-3.0-dev/apps/james/conf/miResources.xml</resources>
miResources.xml (because the file is located in the same folder as
james-listmanager.xml)
/opt/james/apps/james/conf/miResources.xml (default setting)
Can somebody tell me what format I should use?
Sincerely,
Marc
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: setting up maillists in James 3.0
Posted by "Noel J. Bergman" <no...@devtech.com>.
> I have just installed James version 3.0 from
> http://cvs.apache.org/dist/james/bin/.
> James cannot startup if I uncomment the "&listserverConfig;"
> line in config.xml.
What is the error? Are you on a Microsoft OS with a space in the path name?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
setting up maillists in James 3.0
Posted by Marc de Oliveira <Ma...@deOliveira.dk>.
Hi,
I have just installed James version 3.0 from
http://cvs.apache.org/dist/james/bin/.
I have not encountered any problems, yet, just that the maillists do not
seem to work. I have tried to set the lists up using the templates in
james-listmanager.xml, james-liststores.xml and miResources.xml but James
cannot startup if I uncomment the "&listserverConfig;" line in config.xml.
Must I recreate all the lists?
I cannot find documentation on setting the lists up in version 3.0. Can
anybody help?
Sincerely,
Marc de Oliveira
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: 501 Syntax Error
Posted by "Noel J. Bergman" <no...@devtech.com>.
> RemoteDelivery: Exception delivering message
(Mail1122966149250-132-!604575464-to-yoton.com.hk
> - 501 Syntax error in parameters or arguments
> by yoton.com.hk (JAMES SMTP Server 2.0a3-cvs) with SMTP ID 635
If the target server is running JAMES, then turn on debug for the SMTP
server, and look to see what it is rejecting in the protocol.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: 501 Syntax Error
Posted by Danny Angus <Da...@slc.co.uk>.
looks odd.
At first glance I'd say it should succeed, perhaps it is because it is a
DSN with "Return-Path: <>" and yoton.com.hk can't or won't handle it.
d.
|---------+---------------------------->
| | "Felix LO" |
| | <felixlo@yoton.co|
| | m.hk> |
| | |
| | 02/08/2005 08:12 |
| | Please respond to|
| | "James Users |
| | List" |
|---------+---------------------------->
>-------------------------------------------------------------------------------------------------------------------------------|
| |
| To: "James Users List" <se...@james.apache.org> |
| cc: |
| Subject: Re: 501 Syntax Error |
>-------------------------------------------------------------------------------------------------------------------------------|
I got the below message in James-mailet.log
1122966149312 [INFO ] (James.Mailet): RemoteDelivery: Remotely
delivering mail Mail1122966149250-132-!604575464
1122966149312 [INFO ] (James.Mailet): RemoteDelivery: sending mail to
[felixlo@yoton.com.hk] on host yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: Remote delivery
thread (0) will process mail
Mail1122966149250-132-!604575464-to-yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: attempting to
deliver Mail1122966149250-132-!604575464-to-yoton.com.hk
1122966149328 [INFO ] (James.Mailet): RemoteDelivery: attempting
delivery of Mail1122966149250-132-!604575464-to-yoton.com.hk to host
128.128.128.9 to [felixlo@yoton.com.hk]
1122966149421 [INFO ] (James.Mailet): RemoteDelivery: Exception
delivering message (Mail1122966149250-132-!604575464-to-yoton.com.hk) - 501
Syntax error in parameters or arguments
1122966149468 [INFO ] (James.Mailet): RemoteDelivery: Temporary
exception delivering mail
(Mail1122966149250-132-!604575464-to-yoton.com.hk:
javax.mail.MessagingException: 501 Syntax error in parameters or arguments
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:599)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:319)
at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:192)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:449)
at java.lang.Thread.run(Unknown Source)
1122966149468 [INFO ] (James.Mailet): RemoteDelivery: Storing message
Mail1122966149250-132-!604575464-to-yoton.com.hk into outgoing after 0
retries
And the mail header as below
Return-Path: <>
Received: from NS1 ([192.168.0.1])
by yoton.com.hk (JAMES SMTP Server 2.0a3-cvs) with SMTP ID 635
for <fe...@yoton.com.hk>;
Tue, 2 Aug 2005 15:02:29 +0800
From: postmaster@ns1.yoton.com.hk
To: felixlo@yoton.com.hk
Date: Tue, 2 Aug 2005 15:02:39 +0800
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk"
Message-ID: <FR...@ns1.yoton.com.hk>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail
program.
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
receiver@invaliddomain.com
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: message/delivery-status
Reporting-MTA: dns;ns1.yoton.com.hk
Received-From-MTA: dns;serverx
Arrival-Date: Tue, 2 Aug 2005 15:02:38 +0800
Final-Recipient: rfc822;receiver@invaliddomain.com
Action: failed
Status: 5.0.0
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk
Content-Type: message/rfc822
Received: from serverx ([192.168.1.1]) by ns1.yoton.com.hk with Microsoft
SMTPSVC(5.0.2195.6713);
Tue, 2 Aug 2005 15:02:38 +0800
Message-ID: <00...@serverx>
From: "Felix LO" <fe...@yoton.com.hk>
To: <re...@invaliddomain.com>
Subject: testing mail
Date: Tue, 2 Aug 2005 15:02:48 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0016_01C59773.3ED9EDF0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
Return-Path: felixlo@yoton.com.hk
X-OriginalArrivalTime: 02 Aug 2005 07:02:38.0848 (UTC)
FILETIME=[2B2C6000:01C59730]
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C59773.3ED9EDF0
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
------=_NextPart_000_0016_01C59773.3ED9EDF0
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0016_01C59773.3ED9EDF0--
--9B095B5ADSN=_01C596FDCF921C0000000001ns1.yoton.com.hk--
----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <se...@james.apache.org>
Sent: Saturday, July 30, 2005 7:08 PM
Subject: RE: 501 Syntax Error
> Can you provide more details, perhaps with an illustration of the
problem?
>
> --- Noel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
>
***************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended recipient) please notify us immediately on 0141 306 2050 and delete the message from your computer. You may not copy or forward it or use or disclose its contents to any other person. As Internet communications are capable of data corruption Student Loans Company Limited does not accept any responsibility for changes made to this message after it was sent. For this reason it may be inappropriate to rely on advice or opinions contained in an e-mail without obtaining written confirmation of it. Neither Student Loans Company Limited or the sender accepts any liability or responsibility for viruses as it is your responsibility to scan attachments (if any). Opinions and views expressed in this e-mail are those of the sender and may not reflect the opinions and views of The Student Loans Company Limit
ed.
This footnote also confirms that this email message has been swept for the presence of computer viruses.
**************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org