On 2017-09-25 09:32, Dave Plater wrote:
On 25/09/2017 08:44, Per Jessen wrote:
Dave Plater wrote:
Part 3: Content-type: message/rfc822
From davepl@Arbuthnot Mon Sep 25 09:29:58 2017 Date: Mon, 25 Sep 2017 09:29:58 +0200 From: davepl@Arbuthnot To: root@Arbuthnot
You are supposed to mail to localhost, or to a domain that resolves locally. This is the process, on a new (virtual) 42.3 machine where I have never tried to send an email. Ie, I did not configure it. There is no redirection to a plain user. carlos@Eleanor-423:~> su - Password: Eleanor-423:~ # mail -r root root Subject: Hello . EOT Eleanor-423:~ # mail Heirloom mailx version 12.5 7/5/10. Type ? for help. "/var/spool/mail/root": 1 message 1 new
N 1 root@localhost Mon Sep 25 16:36 18/519 Hello ? Message 1: From root@localhost Mon Sep 25 16:36:45 2017 X-Original-To: root Delivered-To: root@localhost <======================= Date: Mon, 25 Sep 2017 16:36:45 +0200 From: root@localhost <======================= To: root@localhost <======================= Subject: Hello User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable
? q
Saved 1 message in mbox
Eleanor-423:~ #
Log:
leanor-423:~ # cat /var/log/mail
2017-09-25T16:31:24.905548+02:00 Eleanor-423 postfix/postfix-script[2280]: warning: group or other writable: /etc/postfix/./ssl/cacerts
2017-09-25T16:31:25.118646+02:00 Eleanor-423 postfix/postfix-script[2329]: starting the Postfix mail system
2017-09-25T16:31:25.185921+02:00 Eleanor-423 postfix/master[2336]: daemon started -- version 3.2.0, configuration /etc/postfix
2017-09-25T16:36:45.289091+02:00 Eleanor-423 postfix/pickup[2341]: 462B180AAC: uid=0 from=<root>
2017-09-25T16:36:45.314232+02:00 Eleanor-423 postfix/cleanup[3986]: 462B180AAC: message-id=<20170925143645.462B180AAC@localhost>
2017-09-25T16:36:45.332981+02:00 Eleanor-423 postfix/qmgr[2343]: 462B180AAC: from=