Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Nino Sidoti
Hello, Thank you Todd, that information was quite helpful. I created /var/log/.mailrc. The from header is working. Nino > On 7 May 2023, at 12:07 am, Todd C. Miller wrote: > > On Sat, 06 May 2023 10:03:45 +1000, Nino Sidoti wrote: > >> I am trying to work out how to change the “From address”

Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Todd C . Miller
On Sat, 06 May 2023 10:03:45 +1000, Nino Sidoti wrote: > I am trying to work out how to change the “From address” for when the daily o > utput reports are run. I want to use a real email address rather than the def > ault of Charlie Root “root@hostname”. > > I have tried to use a /root/.mailrc opt

Re: mail command - change "from address" for Charlie Root

2023-05-06 Thread Philipp Buehler
Am 06.05.2023 02:03 schrieb Nino Sidoti: Hello, I am trying to work out how to change the “From address” for when the daily output reports are run. I want to use a real email address rather than the default of Charlie Root “root@hostname”. It takes the name from /etc/passwd. See vipw(8) for cha

mail command - change "from address" for Charlie Root

2023-05-05 Thread Nino Sidoti
Hello, I am trying to work out how to change the “From address” for when the daily output reports are run. I want to use a real email address rather than the default of Charlie Root “root@hostname”. I have tried to use a /root/.mailrc option and set the “from” address but this seems to be ignor