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 12:06:33
Message-Id: 4EE890F8.5090203@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 6:43 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
2 > On 2011-12-13 5:42 PM, Leho Kraav <leho@×××××.com> wrote:
3 >> i would first of all suggest dropping ssmtp and going with
4 >> nullmailer. if ssmtp fails for any reason it will lose your emails.
5 >> nullmailer has queue capability.
6
7 > Sounds good, I'll give it a shot (emerging now)...
8
9 Ok, emerged, did emerge --config nullmailer, added:
10
11 # A nonstandard SMTP server setup:
12 # someotherserver.domain.com smtp --port=2525
13 mail.myserver.com smtp --port=587 --user=<user> --pass=<pass>
14
15 to /etc/nullmailer/remotes, and added it to default runlevel.
16
17 When starting manually I get the following warning:
18
19 li66-207 nullmailer # /etc/init.d/nullmailer start
20 * Starting nullmailer ... [ ok ]
21 * WARNING: -c/--chuid is deprecated and will be removed in the future,
22 please use -u/--user instead
23
24 li66-207 nullmailer #
25
26 Checking the init script, I see:
27
28 start() {
29 checkconfig
30 ebegin "Starting nullmailer"
31 cd /var/nullmailer
32 start-stop-daemon --start --quiet --chuid ${USER}:${GROUP} \
33 --exec ${DAEMON} -- ${ARGS}
34 eend $?
35 }
36
37 Should I change this? Ianap, so don't really feel comfortable just
38 changing it without confirming first...
39
40 Thanks again...

Replies