On Mon, 2004-09-27 at 13:52, Til Obes wrote:

> Didnt find new mails. Hmm i dont know what that means.
> Hmm list, what was changed at the email sending thing?
> How do you know what num of email to send now?
> 
> Regards til
> 
> Ps: my emails are getting sent. So ist obviously a config fault

At what point in the process are your mails getting sent, Til?  Is it as
a part of the dataexchange process?

With additional troubleshooting, I also see the following noteworthy
output.

When I follow the link in /ra-node:
Utilities-->E-Mail new users
I get:
Sending CRIN-Mail(s) ...
 (Please wait until operation completes)
 
 Sending the Certificate-Information-Mails ...
Didn't find new mails. No mails send!
 Sending the PIN-Mails ...
Didn't find new mails. No mails send!


When I follow the link in /ra-node:
Utilities-->Send a CRIN-mail
You need to enter some additional parameters for the requested
functionality. 

Please enter the number of a mail to send a special mail or enter
nothing to send all new mails.

(I enter nothing to send all)
I get:
Sending CRIN-Mail(s) ...
 (Please wait until operation completes)
 
 Sending the Certificate-Information-Mails ...
Didn't find new mails. No mails send!
 Sending the PIN-Mails ...
Didn't find new mails. No mails send!


When I follow the link in /ra-node:
Utilities-->Send a CRIN-mail
You need to enter some additional parameters for the requested
functionality. 

Please enter the number of a mail to send a special mail or enter
nothing to send all new mails.

(I enter 8 because I see a message 8.msg in the directory
/usr/local/openca/OpenCA/var/mail/crins/)
I get:
Sending CRIN-Mail(s) ...
 (Please wait until operation completes)
 
 Try to send CRIN-mail 8 ...FAILED.
 
Unkown error.



When I look in /usr/local/open[cr]a/OpenCA/var/mail/crins/
I see:


ls /usr/local/openca/OpenCA/var/mail/crins/
1.msg  2.msg  3.msg  4.msg  5.msg  6.msg  7.msg  8.msg  mailcounter

cat /usr/local/openca/OpenCA/var/mail/crins/mailcounter
1

ls /usr/local/openra/OpenCA/var/mail/crins/
mailcounter  serials.dmb

cat /usr/local/openra/OpenCA/var/mail/crins/mailcounter
1

Should the *.msg files in /usr/local/openca/OpenCA/var/mail/crins be
showing up in /usr/local/openra/OpenCA/var/mail/crins  ???

When I use the first link above (Utilities-->E-Mail new users) but doing
so from the /ca-node URL (vice the ra-node URL), I get the following:

Sending CRIN-Mail(s) ...
 (Please wait until operation completes)
 
 Sending the Certificate-Information-Mails ...
send mail /usr/local/openca/OpenCA/var/mail/default/1.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/2.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/3.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/4.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/5.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/6.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/7.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/default/8.msg successful 
 Sending the PIN-Mails ...
send mail /usr/local/openca/OpenCA/var/mail/crins/1.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/2.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/3.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/4.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/5.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/6.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/7.msg successful 
send mail /usr/local/openca/OpenCA/var/mail/crins/8.msg successful 

and I also see postfix/sendmail getting invoked in the /var/log/messages
file, and I see the messages properly delivered to the users inboxes...

However...

Shouldn't the RA be sending these emails (not the CA)?  After all, the
CA is supposedly off-line, right?  And the RA would typically be
on-line?  Is this the way OpenCA is designed to work (CA sending mail
vice RA) or have I mixed up my configuration somehow?  And am I missing
the meaning of the config.xml option:
        <option>
            <name>send_mail_automatic</name>
            <value>yes</value>
        </option>

With this set as above, should the mails be sent automatically (without
having to follow the Utilities-->E-Mail new users link)?

BTW, this send command initially failed for me because the default
sendmail command in config.xml is:
        <option>
            <name>sendmail</name>
            <value>/usr/lib/sendmail -n -t </value>
        </option>

and postfix has no -n option.  According to the man page, it is ignored,
but when I tried it, there were many failed attempts to invoke it with
-n and fatal errors logged in /var/log/message so I removed the -n and
then got the above behavior.

-Kevin




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to