Gentoo Forums
Gentoo Forums
Quick Search: in
(SOLVED) glsa-check error when trying to send logmail
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Aniruddha
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1770
Location: The Netherlands

PostPosted: Fri Dec 21, 2007 1:52 pm    Post subject: (SOLVED) glsa-check error when trying to send logmail Reply with quote

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
View user's profile Send private message
magic919
Veteran
Veteran


Joined: 17 Jun 2005
Posts: 2117
Location: Berkshire, UK

PostPosted: Fri Dec 21, 2007 3:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aniruddha
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1770
Location: The Netherlands

PostPosted: Fri Dec 21, 2007 4:41 pm    Post subject: Reply with quote

magic919 wrote:
Do you really need to authenticate to send the mail?


:oops: 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
View user's profile Send private message
magic919
Veteran
Veteran


Joined: 17 Jun 2005
Posts: 2117
Location: Berkshire, UK

PostPosted: Fri Dec 21, 2007 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Aniruddha
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1770
Location: The Netherlands

PostPosted: Fri Dec 21, 2007 5:30 pm    Post subject: Reply with quote

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 :lol:
_________________
Help Gentoo improve, do some bug wrangling!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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