On 2021-01-28, Marcus MERIGHI <[email protected]> wrote:
> Hello, 
>
> [email protected] ([email protected]), 2021.01.28 (Thu) 16:00 
> (CET):
>> I'm trying to set up my system so I can use 'sendbug' to send in a bug
>> report for a kernel panic, and a number of issues have cropped up.
>> 
>> 1. My mail provider won't let me send email from <[email protected]> but only
>> from <[email protected]>. Therefore I tried adding to ~/.mailrc:
>>      set from "[email protected]"
>> Unfortunately, this didn't fix the issue, and /var/log/maillog is still
>> showing "Sender address rejected" messages.
>> According to the mail manpage 'from' is a binary option, but this makes no
>> sense to me, where does one set the default from address?
>
> I have nothing to say on mail(1) interactive usage :-) and got confused
> reading the man page, just as you.

Looks like when "from" was added, the text about binary options
at the top of the list was missed.

> You could use "sendbug -P > sendbug.out" to get your report in a file
> and send that from a different host. Or edit the file and 
>
> $ cat sendbug.out | mail -s "my bug report" -r [email protected] \
>         -c [email protected] [email protected]

unless you do this, sendbug doesn't use mail(1), it uses /usr/sbin/sendmail
directly.


Reply via email to