> On 15. Jun 2020, at 15:10, Slavik Svyrydiuk <[email protected]> wrote:
>
>> In /etc/mail/aliases I used to say
>> root: [email protected] <mailto:[email protected]>
>
> Your /etc/aliases must look like:
>
> root: [email protected]
And that’s what I used if you read my mail correctly.
> From man page:
>
> user-part@domain-part
> An email address in RFC 5322 format. If an address extension is
> appended to the user-part, it is first compared for an exact
> match. It is then stripped so that an address such as
> [email protected] will only use the part that precedes `+' as
> a key.
>
>
> On Mon, 15 Jun 2020 13:43:11 +0200
> Tony Boston <[email protected]> wrote:
>
>> Hi,
>>
>> I have an issue with forwarding mails which belong to the local root user.
>> I never had that and it seems something changed in opensmtpd?
>>
>> In /etc/mail/aliases I used to say
>> root: [email protected] <mailto:[email protected]>
>>
>> This always worked but stopped working and the following error pops up in
>> the logs:
>> smtp failed-command command="RCPT TO:<[email protected]> ORCPT=rfc822;root"
>> result="553 ORCPT address syntax error”
>>
>> It actually does work when I try something like ‘echo Test | mail
>> [email protected]’ BUT 'echo Test | mail root’ does not
>>
>> Am I missing something?
>>
>> —
>> Tony
>>
>
> --
> with best regards,
> Slavik Svyrydiuk
>