public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] portage-2.1 elog...
@ 2006-06-11 16:35 Peter Karlsson
  2006-06-11 19:17 ` Alexander Skwar
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Karlsson @ 2006-06-11 16:35 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] portage-2.1 elog...
  2006-06-11 16:35 [gentoo-user] portage-2.1 elog Peter Karlsson
@ 2006-06-11 19:17 ` Alexander Skwar
  2006-06-11 21:18   ` Peter Karlsson
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Skwar @ 2006-06-11 19:17 UTC (permalink / raw
  To: gentoo-user

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 <3cc168d3@fefe.de>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] portage-2.1 elog...
  2006-06-11 19:17 ` Alexander Skwar
@ 2006-06-11 21:18   ` Peter Karlsson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Karlsson @ 2006-06-11 21:18 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-11 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11 16:35 [gentoo-user] portage-2.1 elog Peter Karlsson
2006-06-11 19:17 ` Alexander Skwar
2006-06-11 21:18   ` Peter Karlsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox