[gentoo-user] portage-2.1 elog...

2006-06-11 Thread Peter Karlsson

Hi!

I'm trying to get the emerge logs mailed to my user. Problem is that I've 
set postfix to listen only on unix sockets (i.e. it refuses tcp
smtp-connections) and I want it that way, for now. One solution would be 
PORTAGE_ELOG_SYSTEM=custom and do some mail -s-magic. I don't know how 
portage would output the info to get this to work however. Another 
solution would be to fix the mail-module 
(/usr/lib/portage/pym/elog_modules/mod_mail.py) to accept non-smtp mail as 
well. Problem is that I don't know python...


Anyone that has the same (or similar) problem? A hint or two would be very 
much appreciated.


Best regards

Peter K

--
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage-2.1 elog...

2006-06-11 Thread Alexander Skwar

Peter Karlsson wrote:


 One solution would be
PORTAGE_ELOG_SYSTEM=custom and do some mail -s-magic. I don't know how 
portage would output the info to get this to work however.


Portage calls your PORTAGE_ELOG_COMMAND and sets two env vars, which
are to be given to your command.

You might want to have a look at 
http://gentoo-wiki.com/TIP_Making_portage_use_/usr/sbin/sendmail_to_send_out_ELOG_mails.

Alexander Skwar
--
Also ich verdiene auch ohne Anzug und Blafasel Geld.

-- Felix von Leitner in de.alt.sysadmin.recovery
   2002-04-20 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage-2.1 elog...

2006-06-11 Thread Peter Karlsson

On Sun, 11 Jun 2006, Alexander Skwar wrote:

snip

Portage calls your PORTAGE_ELOG_COMMAND and sets two env vars, which
are to be given to your command.

You might want to have a look at 
http://gentoo-wiki.com/TIP_Making_portage_use_/usr/sbin/sendmail_to_send_out_ELOG_mails.


Thanks!

Best regards / MfG

Peter K

--
We Can Put an End to Word Attachments:
http://www.fsf.org/philosophy/no-word-attachments.html
--
gentoo-user@gentoo.org mailing list