| View previous topic :: View next topic |
| Author |
Message |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 6:52 pm Post subject: (SOLVED) glsa-check error when trying to send logmail |
|
|
I have problems to let glsa-check send me an e-mail with glsas that need to be fixed. I added the appropriate lines to make.conf but I get the following errors:
| Code: | | PORTAGE_ELOG_MAILURI="myusername@myisp.nl username:mypassword@smtp.myisp.nl:25" |
| Code: |
# glsa-check -m all
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
File "/usr/lib/portage/pym/portage_mail.py", line 89, in send_mail
raise portage_exception.PortageException("!!! An error occured while trying to send logmail:\n"+str(e))
portage_exception.PortageException: !!! An error occured while trying to send logmail: |
With port 995:
| Code: | | PORTAGE_ELOG_MAILURI="myusername@myisp.nl username:mypassword@smtp.myisp.nl:995" |
| Code: | # glsa-check -m all
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
File "/usr/lib/portage/pym/portage_mail.py", line 91, in send_mail
raise portage_exception.PortageException("!!! A network error occured while trying to send logmail:\n"+str(e)+"\nSure you configured PORTAGE_ELOG_MAILURI correctly?")
portage_exception.PortageException: !!! A network error occured while trying to send logmail:
(110, 'Connection timed out')
Sure you configured PORTAGE_ELOG_MAILURI correctly? |
Anyone has an idea what might the problem? _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Last edited by Kasumi_Ninja on Fri Dec 21, 2007 10:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
magic919 Advocate

Joined: 17 Jun 2005 Posts: 2169 Location: Berkshire, UK
|
Posted: Fri Dec 21, 2007 8:39 pm Post subject: |
|
|
| Do you really need to authenticate to send the mail? |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 9:41 pm Post subject: |
|
|
| magic919 wrote: | | Do you really need to authenticate to send the mail? |
Nope
I changed my make.conf accordingly, but I still get the following errors:
| Code: | | PORTAGE_ELOG_MAILURI="myemail@myisp.nl @smtp.myisp.nl:995" |
| Code: | # glsa-check -m all
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
File "/usr/lib/portage/pym/portage_mail.py", line 91, in send_mail
raise portage_exception.PortageException("!!! A network error occured while trying to send logmail:\n"+str(e)+"\nSure you configured PORTAGE_ELOG_MAILURI correctly?")
portage_exception.PortageException: !!! A network error occured while trying to send logmail:
(110, 'Connection timed out')
Sure you configured PORTAGE_ELOG_MAILURI correctly? |
| Code: | | PORTAGE_ELOG_MAILURI="myemail@myisp.nl @smtp.myisp.nl:25" |
| Code: | # glsa-check -m all
Traceback (most recent call last):
File "/usr/bin/glsa-check", line 316, in ?
portage_mail.send_mail(glsaconfig, mymessage)
File "/usr/lib/portage/pym/portage_mail.py", line 89, in send_mail
raise portage_exception.PortageException("!!! An error occured while trying to send logmail:\n"+str(e))
portage_exception.PortageException: !!! An error occured while trying to send logmail:
{'redmijncomputer@orange.nl': (504, '<portage@localhost>: Sender address rejected: need fully-qualified address')} |
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
magic919 Advocate

Joined: 17 Jun 2005 Posts: 2169 Location: Berkshire, UK
|
Posted: Fri Dec 21, 2007 10:19 pm Post subject: |
|
|
| PORTAGE_ELOG_MAILFROM: Allows you to set the "from" address of log mails; defaults to "portage" if unset. |
|
| Back to top |
|
 |
Kasumi_Ninja Veteran


Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 10:30 pm Post subject: |
|
|
| magic919 wrote: | | PORTAGE_ELOG_MAILFROM: Allows you to set the "from" address of log mails; defaults to "portage" if unset. |
Thanks! Adding
| Code: | | PORTAGE_ELOG_MAILFROM="my@maill" |
to make.conf and now it works! Only now I need to find to a way for glsa-check to send me some useful information  _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|