What about the SSL-Certificates? Presently it created with 'localhost'  in
response to the command

$sudo /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf
/etc/apache2/ssl/apache.pem

Regards.


On Tue, Jul 30, 2013 at 8:17 AM, Mr. Bessem Aamira <
[email protected]> wrote:

> **
> i think that you may  modify CFG_SITE_URL  and CFG_SITE_SECURE_URL
> parameters  in your invenio-local.conf  :
> CFG_SITE_URL = http://192.168.2.2
>
> ----- Original Message -----
> *From:* Surendran Karippadath <[email protected]>
> *To:* Tibor Simko <[email protected]>
> *Cc:* Bobby <[email protected]> ; [email protected]
> *Sent:* Tuesday, July 30, 2013 4:29 AM
> *Subject:* Re: Problem sending email notification
>
> Hello,
>
>     I have been trying to configure invenio-1.1.1 on a box running
> Knoppix-7.2
>
>  knoppix@Microknoppix:~$ ipython
> Python 2.7.3 (default, Jan  2 2013, 16:53:07)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.13.1 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object', use 'object??' for extra details.
>
> In [1]: from invenio.mailutils import send_email
>
> In [2]: send_email('root@localhost', '[email protected]', 'test
> subject', 'test body', header='', footer='')
> Out[2]: True
>
> However the mail sent out can not be accessed by another machine in the
> wifi-lan, since it appears like this:
> >----------------------
>  [email protected]
> 11:55 PM (8 hours ago)
>
> to me
> Hello:
>
> Somebody (possibly you) coming from 127.0.0.1 has asked
> to register a new account at Digital Documents Server Library
> for the email address "[email protected]".
>
> If you want to complete this account registration, please go to:
>
> <
> https://localhost/youraccount/access?ln=en&amp;mailcookie=540cad2fa2029a1c9834285d875e39c4c<https://localhost/youraccount/access?ln=en&mailcookie=540cad2fa2029a1c9834285d875e39c4c>
> >
>
> in order to confirm the validity of this request.
>
> Please note that this URL will remain valid for about 3 days only.
>
> Best regards
> --
> Digital Documents Server Library <http://localhost>
> Need human intervention?  Contact <[email protected]>
> ---------------<
> The URL is not rewritten in terms of the IP address which is 192.168.2.2
> and so the confirmation can not be done from say 192.168.2.3.
>
> On 192.168.2.2 I can access the link and get my email account activated:
>  >-------
> Email address successfully activated
>
> You have confirmed the validity of your email address!
>
> You can now go to your account page.
> --------<-
>
> I have solved this problem before in Knoppix 6.2 but do not remember how.
> The problem becomes more serious when configured with the permanent IP
> address 117.218.165.51 and its DNS www.lokavidya.in
> >-------
>  The site's security certificate is not trusted!
> You attempted to reach 117.218.165.51, but the server presented a
> certificate issued by an entity that is not trusted by your computer's
> operating system. This may mean that the server has generated its own
> security credentials, which Chromium cannot rely on for identity
> information, or an attacker may be trying to intercept your communications.
> You should not proceed, especially if you have never seen this warning
> before for this site.
> ---------<
>
> The Demo Invenio is configured with invenio-local-conf thus:
>  [Invenio]
> CFG_SITE_NAME = Digital Documents Server Library
> CFG_SITE_NAME_INTL_fr = Documents Bibliothèque numérique du serveur
> CFG_SITE_URL = http://localhost( OR http://www.lokavidya.in)
> CFG_SITE_SECURE_URL = https://localhost ( OR https://www.lokavidya.in)
> CFG_SITE_ADMIN_EMAIL = [email protected]
> CFG_SITE_SUPPORT_EMAIL = [email protected]
> CFG_WEBALERT_ALERT_ENGINE_EMAIL = [email protected]
> CFG_WEBCOMMENT_ALERT_ENGINE_EMAIL = [email protected]
> CFG_WEBCOMMENT_DEFAULT_MODERATOR = [email protected]
> CFG_DATABASE_HOST = localhost
> CFG_DATABASE_NAME = invenio
> CFG_DATABASE_USER = invenio
> CFG_DATABASE_PASS = my123p$ss
> CFG_BIBDOCFILE_ENABLE_BIBDOCFSINFO_CACHE = 1
>
>  knoppix@Microknoppix:~$ /opt/invenio/bin/inveniocfg
> --detect-system-details
> >>> Going to detect system details...
> * Hostname: Microknoppix
> * Invenio version: 1.1.1
> * Python version: 2.7.3 (default, Jan  2 2013, 16:53:07)  [GCC 4.7.2]
> * Apache version: Apache/2.2.22 (Debian) [/usr/sbin/apache2]
> * MySQLdb version: 1.2.3
> * MySQL version:
>     - version: 5.5.31-0+wheezy1
>     - character_set_client: utf8
>     - character_set_connection: utf8
>     - character_set_database: utf8
>     - character_set_results: utf8
>     - character_set_server: latin1
>     - character_set_system: utf8
>     - collation_connection: utf8_general_ci
>     - collation_database: utf8_general_ci
>     - collation_server: latin1_swedish_ci
> >>> System details detected successfully.
>
>  root@Microknoppix:/home/knoppix# sudo -u www-data
> /opt/invenio/bin/inveniocfg --update-all
> >>> Going to update config.py...
> You may want to restart Apache now.
> >>> config.py updated successfully.
> >>> Going to update dbquery.py...
> You may want to restart Apache now.
> >>> dbquery.py updated successfully.
> >>> Going to update dbexec...
> >>> dbexec updated successfully.
> >>> Going to update bibconvert templates...
> >>> bibconvert templates updated successfully.
> >>> Going to update web tests...
> >>> web tests updated successfully.
>
> I am doing some mistake in the integration of MySql and Apache2 in Invenio
> so that seamless URL rewriting does not take place takes. I have fixed Wan
> IP 117.218.165.51 and a DNS www.lokavidya.in and want  set up this
> Document Server accessible for submission by my associates elsewhere.
>
> Thank you for your attention.
>
>
> On Tue, Jun 18, 2013 at 7:23 AM, Tibor Simko <[email protected]> wrote:
>
>> On Sat, 15 Jun 2013, [email protected] wrote:
>> > Hi guys, I having setup the right smpt parameter for our rackspace
>> > instance in /opt/invenio/etc/invenio.conf .. I still don't get email
>> > notifications When I checked the error log for what the problem could
>> > be. I found this.
>>
>> Just to make sure, you have amended your
>> `/opt/invenio/etc/invenio-local.conf' file by setting appropriate SMTP
>> variables:
>>
>>   CFG_MISCUTIL_SMTP_HOST = localhost
>>   CFG_MISCUTIL_SMTP_PORT = 25
>>   CFG_MISCUTIL_SMTP_USER =
>>   CFG_MISCUTIL_SMTP_PASS =
>>   CFG_MISCUTIL_SMTP_TLS = False
>>
>> and then you propagated your changes to the rest of Invenio by doing:
>>
>>   $ sudo -u www-data /opt/invenio/bin/inveniocfg --update-all
>>
>> followed by restarting your Apache server.  Is that right?
>>
>> If you did this and the email sending still does not work for you, then
>> what do you get when running explicitly something like:
>>
>>   $ ipython
>>   In [1]: from invenio.mailutils import send_email
>>   In [2]: send_email('root@localhost', '[email protected]', 'test
>> subject', 'test body', header='', footer='')
>>   Out[2]: True
>>
>> Best regards
>> --
>> Tibor Simko
>>
>
>
>
> --
> Phone  :+91-20-27298293
>
>


-- 
Phone  :+91-20-27298293

Reply via email to