Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 182A1782B02 for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Dec 2019 21:01:07 +0000 (UTC) Received: by mail-il1-f170.google.com with SMTP id u16so9326754ilg.10 for <~alpine/users@lists.alpinelinux.org>; Sat, 07 Dec 2019 13:01:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tZ+/FSkqXSOgAezwQYfXcND6rN3E3NxNN1hEo7Xo1kM=; b=I8XL/NTL5lC19m/v1BY5LiBkqWyt+NRHNQ+OZ+m1Y8a0zn6PiH64ZiLzCQANJfy/aI AK9A17+EyC8L8Y/Zaitpgv0LaLLVxfiiKMh2Ny6e0Pjdb6xu1bhXDx5S70yi9d7Hmz44 kcBG/GYoD+tCVsBJIoDlwrVDLmse2NqJHJTXew3+C+6XHlYBt/VPXDZTPyHHV1rpuqhw L/jWk+a0YgXCcncBz5d2+85d7VZXhEuDHxk+wVn1ood7JyAkVyagjD2zq8OwHFoQO+Rt rUgRWy2cw1fYnnqsOo3J9JUU9FYu/aLmD4QMC+ACnBt0e+AUcmYF3w66S1eNEibXdqws zUrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tZ+/FSkqXSOgAezwQYfXcND6rN3E3NxNN1hEo7Xo1kM=; b=D1iKbNjith54kbM1GfwCRT65iQwEcPOgMzfPjxYjr6YMQXvLOt+ekaDh6LUYbeB5Q2 oH3LHOPNucsZU5ds12L5/H5WUVVIhqpW5yrE1mBZS1U1847xg7Yac8/UOzRmATDBBQtE +x+U/i6RnoNFsfG9CRys3CqvdSzbPQQLa7SucVaSYKsoyUFgiwAcAWHUobpuzLNGJGx7 RRqB1sWtKAsjwcpqltv52JXB5tFCaiFmSdrpH4H+e1vdk7um4PK2/ehHqXIpQ2DQNJVg KbeCVq/pBDKXYFuZI4xvD0uxUaHii3/xn4OVOaERlhq72c1YP86Q//GqQNzp87Ex1+Om b2MQ== X-Gm-Message-State: APjAAAVP11RHFdWEN2bG4pnZy/IE6o7UnD3RpKHidSyo8bVb/AF0URr+ RikEBrIFGPWTJi9Ztd6ayrrlJ499hRgGMd8WgMLHYXsPRbiyWQ== X-Google-Smtp-Source: APXvYqzovu1so/1YbXONU6XXv5rEkGnJeHTdf5qoctFCJbqScPLhITEEYceFd2Y/J4Zkh+noR491T5FhrGK29UkJ+rQ= X-Received: by 2002:a92:7f03:: with SMTP id a3mr22028114ild.105.1575752466485; Sat, 07 Dec 2019 13:01:06 -0800 (PST) MIME-Version: 1.0 From: BZ Date: Sat, 7 Dec 2019 16:00:55 -0500 Message-ID: Subject: msmtpd startup setup? To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" I saw msmtp mentioned some time ago on this mailing list for setting up local mail on Alpine. I'm finding that it works really nicely, is light and cooperates with Gmail and other SMTP services perfectly. Its msmtpd service is really nice, but the Wiki is lacking instructions on how to set it up in init.d: https://wiki.alpinelinux.org/wiki/Relay_email_to_gmail_(msmtp,_mailx,_sendmail Could someone please elaborate on how to set msmtpd to start up with the system at boot and to run it on a specific port? I can run it fine like this: msmtpd --interface=172.17.0.1 --port=26& But I'm finding I have to start it manually each time I reboot the system.