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).

I could have made `mail' parse MU-specific configs as well, but
I was afraid it would create unnecessary confusion.

Regards,
Sergey

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

Reply via email to