Operating System - OpenVMS
1829398 Members
1438 Online
109991 Solutions
New Discussion

Re: Cannot login private in soyMail

 
Dumitru Ciobanu_1
New Member

Cannot login private in soyMail

If anybody got the soyMail working properly, would you mind sharing a few tips with me.
For some reason I cannot login private. Public works fine but not private.
I get this
Fatal soyMAIL Error: Insufficient privilege or object protection violation.
Is there a way to specify the username that you are trying to login as?

This is what I have in the soymail.conf

[private-access]
*/*/*

[if-private]
[page-title] Welcome to CHAOS8
[page-title2] CHAOS8 IT SERVICES
[message-list-footer]
Example Site Footer - modify or delete as required!

[search-control] full
[end]
[if-end]

and BTW the web server is Apache 1.3


Thanks in advance,

Dumitru
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: Cannot login private in soyMail

I don't know anything, but there was a
similar-sounding discussion in comp.os.vms
recently.

http://groups.google.com/group/comp.os.vms/browse_thread/thread/35877475331c82d5/ae3f4eeb8207a1bb
Willem Grooters
Honored Contributor

Re: Cannot login private in soyMail

Officially, Apache 1.3 is NOT supported!

I've been beta-testing it using Apache 1.3 when it came out in it's first open beta, and found similar issues. I got around is some way, I _think_ it was moving */*/* to the same line as [private]:

[private] */*/*

but ran into several other issues, that were gone after I switched to Apache 2.1.

Willem
Willem Grooters
OpenVMS Developer & System Manager
Dumitru Ciobanu_1
New Member

Re: Cannot login private in soyMail

I asked the author in comp.os.vms and was told that the server authorization is not setup correctly.

Well I am loading the module.

LoadModule auth_openvms_module modules/mod_auth_openvms.exe

Is there anything else required ?

Dumitru
Willem Grooters
Honored Contributor

Re: Cannot login private in soyMail

You have to set authorization on the script as well, in order to actually login (using the VMS authentication). See attachement on how to do it (basically, not tested it that way since my config is different, but you'll get the idea. The real sources are the Soymail installation guide and Apache configuration documentation, of course)

If it works fine, please notify Mark daniel and tell him it works on 1.3-1 as well. :)

Willem
Willem Grooters
OpenVMS Developer & System Manager
Dumitru Ciobanu_1
New Member

Re: Cannot login private in soyMail

Well if by script you are refering to apache$common:[cgi-bin]soymail.exe
then that is a binary file for me.
Don't see how I could edit that.

I am in touch with Mark Daniel, yes. Well actually waiting for his reply.

I'll let you all know how this turns out.

Regards,

Dumitru
Willem Grooters
Honored Contributor

Re: Cannot login private in soyMail

Oops, wrong file....
attached the one I intended.
Willem Grooters
OpenVMS Developer & System Manager
Dumitru Ciobanu_1
New Member

Re: Cannot login private in soyMail

Ok, I got the problem solved. Something silly but I realize now how little I know about Apache.
It's time to RTFM.

The problem was that in httpd.conf you need to have


# Mapping authorization for soyMail
Alias /soymail/-/ "/apache$common/soymail/"


AuthType Basic
AuthName "OpenVMS authentication"
AuthUserOpenVMS On
require valid-user


I decided to replace Location with Directory and that was causing the problem.
I need to read up on Apache.

Thanks gents,

Dumitru