Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...
Date: Wed, 14 Dec 2011 15:32:30
Message-Id: 4EE8C0C7.7080900@libertytrek.org
In Reply to: Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp... by Tanstaafl
1 On 2011-12-14 8:05 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2 > On 2011-12-14 8:00 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
3 >> So... does nullmailer even support STARTTLS?
4 >
5 > Crap, apparently not...
6 >
7 > http://untroubled.org/nullmailer/TODO
8 >
9 > back to square one...
10
11 Ok, found msmtp, which does support STARTTLS, and still can't get this
12 working... I really hope I don't have to resort to installing postfix
13 just to get simple outbound mail running...
14
15 I've removed nullmailer (had to manually kill the still running process
16 and delete the /etc/nullmailer dir for it too), and installed and
17 configged msmtp, and it is still not working...
18
19 I also did reset PORTAGE_ELOG_MAILURI= to default (commented it out).
20
21 li66-207 ~ # msmtp --serverinfo
22 SMTP server at smtp.myserver.com (smtp.myserver.com [70.43.81.99]), port
23 587:
24 smtp.myserver.com ESMTP Postfix
25 Capabilities:
26 SIZE 30720000:
27 Maximum message size is 30720000 bytes = 29.30 MiB
28 PIPELINING:
29 Support for command grouping for faster transmission
30 ETRN:
31 Support for RMQS (Remote Message Queue Starting)
32 DSN:
33 Support for Delivery Status Notifications
34 STARTTLS:
35 Support for TLS encryption via the STARTTLS command
36 This server might advertise more or other capabilities when TLS is active.
37 li66-207 ~ #
38
39 So, it is talking successfully to my relayhost here in the office, but
40 I'm still getting this ordinary error:
41
42 !!! A network error occurred while trying to send logmail:
43 [Errno 111] Connection refused
44 Sure you configured PORTAGE_ELOG_MAILURI correctly?
45
46 and NOTHING in/var/log/messages...
47
48 Hope someone has an idea...

Replies

Subject Author
Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp... Tanstaafl <tanstaafl@×××××××××××.org>