Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-16 Thread Indi
On Wed, Dec 14, 2011 at 04:40:01PM +0100, Tanstaafl wrote: Hope someone has an idea... You could try esmtp; Always seems to work for me when the others fail. Haven't tried what you're pursuing, but surely it can be made to work fairly easily... -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫ ❤

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-15 Thread Tanstaafl
On 2011-12-14 5:09 PM, Neil Bothwick n...@digimed.co.uk wrote: Try PORTAGE_ELOG_MAILURI=you@home /usr/sbin/sendmail Bingo! I guess I didn't/don't fully understand what needs to go here... I received the message, but it comes 'from' 'portage@localhost'... how/where can I change this from

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-15 Thread Tanstaafl
On 2011-12-15 7:21 AM, Tanstaafl tansta...@libertytrek.org wrote: I received the message, but it comes 'from' 'portage@localhost'... how/where can I change this from address? Never mind, found it: PORTAGE_ELOG_MAILFROM=myaddress.example Thanks again Neil!

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-13 5:42 PM, Leho Kraav l...@kraav.com wrote: i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp fails for any reason it will lose your emails. nullmailer has queue capability. Sounds good, I'll give it a shot (emerging now)... Is there a decent HowTo on

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 6:43 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-13 5:42 PM, Leho Kraav l...@kraav.com wrote: i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp fails for any reason it will lose your emails. nullmailer has queue capability. Sounds

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Pandu Poluan
On Dec 14, 2011 7:08 PM, Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-14 6:43 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-13 5:42 PM, Leho Kraav l...@kraav.com wrote: i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp fails for any reason

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Neil Bothwick
On Wed, 14 Dec 2011 07:05:12 -0500, Tanstaafl wrote: When starting manually I get the following warning: li66-207 nullmailer # /etc/init.d/nullmailer start * Starting nullmailer ... [ ok ] * WARNING: -c/--chuid is deprecated and will be removed in the future, please use -u/--user

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 7:16 AM, Pandu Poluan pa...@poluan.info wrote: Should I change this? Ianap, so don't really feel comfortable just changing it without confirming first... Don't. Just file a bug, and let the maintainer take care of it. It's *still* supported currently. Will do... But, I

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Pandu Poluan
On Dec 14, 2011 7:22 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 14 Dec 2011 07:05:12 -0500, Tanstaafl wrote: When starting manually I get the following warning: li66-207 nullmailer # /etc/init.d/nullmailer start * Starting nullmailer ... [ ok ] * WARNING: -c/--chuid

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 7:25 AM, Tanstaafl tansta...@libertytrek.org wrote: !!! A network error occurred while trying to send logmail: [Errno 111] Connection refused Sure you configured PORTAGE_ELOG_MAILURI correctly? Ok, finally figured out why I wasn't seeing any errors in the main log... Here is the

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 8:00 AM, Tanstaafl tansta...@libertytrek.org wrote: So... does nullmailer even support STARTTLS? Crap, apparently not... http://untroubled.org/nullmailer/TODO back to square one...

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Neil Bothwick
On Wed, 14 Dec 2011 19:28:33 +0700, Pandu Poluan wrote: Ignore it, it is only a deprecation warning. IMO these warnings shouldn't be displayed to normal users by default, they are intended for devs. ... or for normal users so that the normal users will file a bug. :-) After they have

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 8:05 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-14 8:00 AM, Tanstaafl tansta...@libertytrek.org wrote: So... does nullmailer even support STARTTLS? Crap, apparently not... http://untroubled.org/nullmailer/TODO back to square one... Ok, found msmtp, which does

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 10:29 AM, Tanstaafl tansta...@libertytrek.org wrote: !!! A network error occurred while trying to send logmail: [Errno 111] Connection refused Sure you configured PORTAGE_ELOG_MAILURI correctly? and NOTHING in/var/log/messages... Ok, so, I now have more info so hopefully some

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Urs Schutz
On Wed, 14 Dec 2011 15:29:44 -0500 Tanstaafl tansta...@libertytrek.org wrote: On 2011-12-14 10:29 AM, Tanstaafl tansta...@libertytrek.org wrote: !!! A network error occurred while trying to send logmail: [Errno 111] Connection refused Sure you configured PORTAGE_ELOG_MAILURI correctly?

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 3:59 PM, Urs Schutz u.sch...@bluewin.ch wrote: Did you send this as user? What about sending this from the root account? I sent it from root... maybe that's the problem?

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Neil Bothwick
On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote: I can confirm that sending email from the commandline now works: How do I tell portage to simply use the 'mail' command? AFAIR there used to be an option for this, but it's not in the docs. Have you tried PORTAGE_ELOG_MAILURI=user@address

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Tanstaafl
On 2011-12-14 4:09 PM, Neil Bothwick n...@digimed.co.uk wrote: On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote: I can confirm that sending email from the commandline now works: How do I tell portage to simply use the 'mail' command? AFAIR there used to be an option for this, but it's

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Neil Bothwick
On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote: How do I tell portage to simply use the 'mail' command? You don't, you tell it to use sendmail From make.conf.example: mailserver: smtp server that should be used to deliver the mail (defaults to localhost) alternatively this can also be a

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-14 Thread Alex Schuster
Neil Bothwick writes: On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote: I can confirm that sending email from the commandline now works: How do I tell portage to simply use the 'mail' command? AFAIR there used to be an option for this, but it's not in the docs. Have you tried

[gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-13 Thread Tanstaafl
Hi all, Ok, this is also on this new hosted VM... I need help getting portage to email me emerge logs using SASL auth on a remote host using ssmtp... I found this thread that has me almost there (I think): http://www.gossamer-threads.com/lists/gentoo/user/217567?do=post_view_threaded#217567

Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...

2011-12-13 Thread Leho Kraav
i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp fails for any reason it will lose your emails. nullmailer has queue capability.