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 Mike Morris <mi...@cocosoft.co.za> on 2003/10/17 11:28:28 UTC

Stuck outgoing mail

Hi all,

New to James, and still thrashing about figuring out how things work...

I have a couple of mails stuck in the "outgoing" directory, one for over 
a day now, that "should" have been delivered.  Both destination domains 
have valid MX's listed and active, and I have had James succesfully 
delivering mail to other destinations (including, hopefully, this one

Any suggestions on how I can give these a kickstart to resubmit them or 
retry delivery.

BTW, I have delivery retry time set to 1 hour = 3 600 000ms, so that's 
not it...

Is there any way to log/monitor delivery attempts in a fairly detailed way?

Thanks in adv. for any suggestions/help.

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za

----- A day without chillies is a day wasted ------



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


RE: Stuck outgoing mail

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Well, not to get stuck on "mechanism", my point really is that IMHO NNTP
> is not part of a default mailserver config....  use it, don't... ;-)

Opinions vary.  James has, and will continue to have, a rich set of
messaging services.

	--- Noel


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


Re: Stuck outgoing mail

Posted by Mike Morris <mi...@cocosoft.co.za>.
Noel J. Bergman wrote:
>>The NNTP blocks and config should be commented out in the
>>default distribution.
> 
> 
> In v2.2, We've starting to refactor the various sections of the config file
> into separate files.  Commenting things out does not improve the visual
> impact, and a common error is mis-matched <!-- --> pairs.  Just set
> enabled="false" for any service you don't want enabled.

Well, not to get stuck on "mechanism", my point really is that IMHO NNTP 
is not part of a default mailserver config....  use it, don't... ;-)

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za

----- A day without chillies is a day wasted ------



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


RE: Stuck outgoing mail

Posted by "Noel J. Bergman" <no...@devtech.com>.
> The NNTP blocks and config should be commented out in the
> default distribution.

In v2.2, We've starting to refactor the various sections of the config file
into separate files.  Commenting things out does not improve the visual
impact, and a common error is mis-matched <!-- --> pairs.  Just set
enabled="false" for any service you don't want enabled.

	--- Noel


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


Re: Stuck outgoing mail

Posted by Mike Morris <mi...@cocosoft.co.za>.
Craig Raw wrote:

> In terms of logging, you can check out the mailet logs for entries from the
> RemoteDelivery mailet, and increase the logging level in
> SAR-INF/environment.xml.

Thanks -- already set to DEBUG for spoolmanager, smtp and pop3 while I 
try and configure things so that I'm not running an open relay ;-)  Also 
as a result of all this config activity the server has been up and down 
several times, but this has NOT solved the "stuck mail" problem I 
originally described.

I must say that I found the default config pretty horrible in those 
terms.  Love the whole thing, though!  Would also /humbly/ submit that 
an NNTP server is not really part of a normal "mail-server" setup, and 
the NNTP blocks and config should be commented out in the default 
distribution.

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za

----- A day without chillies is a day wasted ------



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


Re: Stuck outgoing mail

Posted by Craig Raw <cr...@quirk.co.za>.
Hi Mike,

Nice to see another .co.za!

I've experienced the same problem. James was busy with a batch of mails that
had failed previously, and were being tried for the last time before being
removed from the spool. At a certain point, James stopped going through the
spool, for a least one hour. Eventually, I restarted and things proceeded
normally again.

I would also be interested to hear of anything more conclusive in solving
this.

In terms of logging, you can check out the mailet logs for entries from the
RemoteDelivery mailet, and increase the logging level in
SAR-INF/environment.xml.

cheers,
craig


----- Original Message ----- 
From: "Mike Morris" <mi...@cocosoft.co.za>
To: <se...@james.apache.org>
Sent: Friday, October 17, 2003 11:28 AM
Subject: Stuck outgoing mail


> Hi all,
>
> New to James, and still thrashing about figuring out how things work...
>
> I have a couple of mails stuck in the "outgoing" directory, one for over
> a day now, that "should" have been delivered.  Both destination domains
> have valid MX's listed and active, and I have had James succesfully
> delivering mail to other destinations (including, hopefully, this one
>
> Any suggestions on how I can give these a kickstart to resubmit them or
> retry delivery.
>
> BTW, I have delivery retry time set to 1 hour = 3 600 000ms, so that's
> not it...
>
> Is there any way to log/monitor delivery attempts in a fairly detailed
way?
>
> Thanks in adv. for any suggestions/help.
>
> -- 
> mike morris     ::   mike.morris (at) cocosoft . co . za
> cOcO software   ::   mike.morris (at) coco-technologies . co . za
>                       www . cocosoft . co . za
>
> ----- A day without chillies is a day wasted ------
>
>
>
> ---------------------------------------------------------------------
> 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: Stuck outgoing mail

Posted by Gili <ju...@bbs.darktech.org>.
	We need an offline way to view the contents of the SPAM filter. Short of moving all these files back to the spool directory, is there a way to view their contents?

Gili

On Fri, 17 Oct 2003 17:33:36 +0200, Mike Morris wrote:

>Noel J. Bergman wrote:
>> Mike,
>> 
>> The mailet log should have information regarding delivery attempts.  You can
>> add <debug>true</debug> to the RemoteDelivery mailet for additional
>> verbosity.

>Thanks -- will give this a try and report back.  Is it (in general) safe 
>to move the contents of (say) the "spam" directory back to spool in 
>order to get those messages reprocessed (since I have been fiddling with 
>the spoolmanager config quite a lot, and quite a number of non-spam 
>messages have ended-up being seen as spam, for reasons I haven't 
>fathomed yet).

>-- 
>mike morris     ::   mike.morris (at) cocosoft . co . za
>cOcO software   ::   mike.morris (at) coco-technologies . co . za
>                      www . cocosoft . co . za

>----- A day without chillies is a day wasted ------



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




Re: Stuck outgoing mail

Posted by Mike Morris <mi...@cocosoft.co.za>.
Noel J. Bergman wrote:
>>Is it (in general) safe to move the contents of (say)
>>the "spam" directory back to spool in order to get
>>those messages reprocessed
> 
> Won't work.  There is a value in the record that indicates which processor
> is to get the message, and you won't have reset it.  I've committed code
> that does the necessary stuff to CVS for v2.2.  If you are using JDBC, you
> can make the change manually.

I am not using JDBC (yet -- still have other servers to get upgraded & 
reconfigured) -- is there any way, then, to get mails stuck in outgoing, 
error, spam, or where-ever back into the spool queue?

I have pulled down the CVS head, but will not get around to building it 
until next week -- this weekend the weather is too nice after a week of 
rain... :-)

It seems that most of the problems I am experiencing result from socket 
timeouts -- my line is a slow, erratic, 56k analogue leased-line with 
high latency to most of the net.  Is there a way (alright, I confess, I 
really haven't tried RTFMing this yet) to increase timeouts in the 
config.  Timeouts also make it impossible for me to use the 
"SenderInFakeDomain" matcher, since, when the line is busy DNS lookups 
also frequently time out, and legitimate senders get nailed :-(

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za

----- A day without chillies is a day wasted ------



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


RE: Stuck outgoing mail

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Is it (in general) safe to move the contents of (say)
> the "spam" directory back to spool in order to get
> those messages reprocessed

Won't work.  There is a value in the record that indicates which processor
is to get the message, and you won't have reset it.  I've committed code
that does the necessary stuff to CVS for v2.2.  If you are using JDBC, you
can make the change manually.

	--- Noel


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


Re: Stuck outgoing mail

Posted by Mike Morris <mi...@cocosoft.co.za>.
Noel J. Bergman wrote:
> Mike,
> 
> The mailet log should have information regarding delivery attempts.  You can
> add <debug>true</debug> to the RemoteDelivery mailet for additional
> verbosity.

Thanks -- will give this a try and report back.  Is it (in general) safe 
to move the contents of (say) the "spam" directory back to spool in 
order to get those messages reprocessed (since I have been fiddling with 
the spoolmanager config quite a lot, and quite a number of non-spam 
messages have ended-up being seen as spam, for reasons I haven't 
fathomed yet).

-- 
mike morris     ::   mike.morris (at) cocosoft . co . za
cOcO software   ::   mike.morris (at) coco-technologies . co . za
                      www . cocosoft . co . za

----- A day without chillies is a day wasted ------



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


RE: Stuck outgoing mail

Posted by "Noel J. Bergman" <no...@devtech.com>.
Mike,

The mailet log should have information regarding delivery attempts.  You can
add <debug>true</debug> to the RemoteDelivery mailet for additional
verbosity.

	--- Noel


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