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


Joined: 18 Feb 2006 Posts: 1770 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 1: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? _________________ Help Gentoo improve, do some bug wrangling!
Last edited by Aniruddha on Fri Dec 21, 2007 5:31 pm; edited 1 time in total |
|
| Back to top |
|
 |
magic919 Veteran

Joined: 17 Jun 2005 Posts: 2117 Location: Berkshire, UK
|
Posted: Fri Dec 21, 2007 3:39 pm Post subject: |
|
|
Do you really need to authenticate to send the mail? _________________ Duo Xeon 3050 running 32 bit
Dual Xeon 2.8 running 32 bit |
|
| Back to top |
|
 |
Aniruddha Veteran


Joined: 18 Feb 2006 Posts: 1770 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 4: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')} |
_________________ Help Gentoo improve, do some bug wrangling! |
|
| Back to top |
|
 |
magic919 Veteran

Joined: 17 Jun 2005 Posts: 2117 Location: Berkshire, UK
|
Posted: Fri Dec 21, 2007 5:19 pm Post subject: |
|
|
PORTAGE_ELOG_MAILFROM: Allows you to set the "from" address of log mails; defaults to "portage" if unset. _________________ Duo Xeon 3050 running 32 bit
Dual Xeon 2.8 running 32 bit |
|
| Back to top |
|
 |
Aniruddha Veteran


Joined: 18 Feb 2006 Posts: 1770 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 5: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="redmijncomputer@orange.nl" |
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  _________________ Help Gentoo improve, do some bug wrangling! |
|
| 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
|
|