On 2021-01-28, Marcus MERIGHI <mcmer-open...@tor.at> wrote:
> Hello, 
>
> tetrahe...@danwin1210.me (tetrahe...@danwin1210.me), 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 <u...@myhost.foo> but only
>> from <my_lap...@domain.com>. Therefore I tried adding to ~/.mailrc:
>>      set from "my_lap...@domain.com"
>> 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 my_lap...@domain.com \
>         -c my_lap...@domain.com b...@openbsd.org

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


Reply via email to