It appears that Google is this invenio is unable to send mail to xxxxx.gmail.com. The re are entries in the /var/log/mail.log such as this:
$ tail /var/log/mail.log

angeli-acer postfix/qmgr[24178]: C270048004F: removed
Apr  6 15:16:16 angeli-acer postfix/smtp[24652]: 08E904800A0: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[74.125.68.26]:25, delay=13, delays=0.04/0/12/1.2, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[74.125.68.26] said: 550-5.7.1 [117.218.165.51      12] Our system has detected that this message is 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail, 550-5.7.1 this message has been blocked. Please visit 550-5.7.1 http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for 550 5.7.1 more information. ot4si5863874pdb.82 - gsmtp (in reply to end of DATA command))
Apr  6 15:16:16 angeli-acer postfix/qmgr[24178]: 08E904800A0: removed


From: Surendran Karippadath
Posted: 04/04/2015 21:25
Subject: Websubmit Mail_Submitter Function

​Hello,

In Inenio-1.1.5, since March 28, two users doing websubmission to wikilibrary.dynamic-dns.net stopped getting email notifications after successful and correct submissions of documents which are in the repository now. They continue to do submissions but do not receive mail. I checked the same using the following code:

$ ipython

In [1]: from invenio.webuser import *

In [2]: run_sql("SELECT id, nickname FROM user")
Out[2]:
((1L, 'admin'),
 (2L, 'jekyll'),
 (3L, 'hyde'),
 (4L, 'dorian'),
 (5L, 'romeo'),
 (6L, 'juliet'),
 (7L, 'benvolio'),
 (8L, 'balthasar'),
 (9L, 'shashikalam'),
 (10L, 'Vinod'),
 (11L, 'angeli'))

In [3]: get_user_preferences(9)
Out[3]: {'language': 'en', 'login_method': 'Local'}

In [4]: get_user_preferences(11)
Out[4]: {'language': 'en', 'login_method': 'Local'}

In [5]: get_user_preferences(1)
Out[5]: {'language': 'en', 'login_method': 'Local'}

In [6]: send_email('root#localhost','[email protected]','testing-email','test-not-done-yet',header='',footer='')
Out[6]: True

In [7]: send_email('root#localhost','[email protected]','testing-email','test-not-done-yet',header='',footer='')
Out[7]: True

In [8]: send_email('root#localhost','[email protected]','testing-email','test-not-done-yet',header='',footer='')
Out[8]: True

In the above [6] and [7] corresponding to the users doing websubmit DID NOT receive the mail while [8] corresponding to invenio admin received it. 

Kindly suggest how I can rectify the situation. The configuration in invenio.conf is standard:

CFG_MISCUTIL_SMTP_HOST = localhost
  CFG_MISCUTIL_SMTP_PORT = 25
  CFG_MISCUTIL_SMTP_USER =
  CFG_MISCUTIL_SMTP_PASS =
  CFG_MISCUTIL_SMTP_TLS = False

Thank you ffor your attention.

Regards

Reply via email to