Hi Sergey,

Sergey Poznyakoff <[email protected]> skribis:

> Ludovic Courtès <[email protected]> ha escrit:
>
>> I'm trying to configure `mail' to use the right mailer.  The `Mailer
>> Statement' node in the manual appeared to be what I'm looking for, so
>> I dropped this in ~/.mail:
>> 
>>   mailer {
>>     url sendmail:///var/run/current-system/sw/sbin/sendmail;
>>   }
>
> That's right for all MU tools, except `mail'.  It is so because it
> traditionally uses its own configuration files (/etc/mail and
> ~/.mailrc), whose format is different.  It is described in the docs
> as well.  What you need is to place
>
>   set sendmail="sendmail:///var/run/current-system/sw/sbin/sendmail"
>
> in /etc/mailrc (or ~/.mailrc, at your option).  Note absence of the
> trailing semicolon (statements in mail config terminate with newlines).

Ooh, thanks!

It seems that the .mailrc syntax isn’t documented in the manual, but
maybe the assumption is that it’s “widely known”?

Thanks,
Ludo’.

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to