Forum OpenACS Q&A: Re: Expected a 354 status line; got: 503 RCPT first

Collapse
Posted by Peter Marklund on
C.R.,
I was debugging a similar problem today. Here is what I recommend:

1) Test whether you can use ns_sendmail from a test page

2) Edit acs-mail-lite::sweeper and make the ns_log Error statement log the to, from, and subject variables. You could also try to select * from the acs_mail_lite_queue table (or similarly named) and see if there is a mail in there with a missing or invalid email address.

As it turns out acs-mail-lite::sweeper will try forever to send emails that have invalid or missing to addresses. I talked to Lars and Don today about making the sweeper give up after a number of tries.

Collapse
Posted by C. R. Oldham on
You could also try to select * from the acs_mail_lite_queue table

Ah, yes, we have one entry in the queue table that has a blank "to" address. Can I just delete it with "delete from acs_mail_lite_queue where..." or do I need to do some magic pl/sql dml? (This is Oracle).

Collapse
Posted by Tilmann Singer on
You propably tried it out by now anyway, but deleting from acs_mail_lite is just fine (especially given the fact that there is no pl/sql to do that).