bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Getting `mail' to use the right mailer


From: Ludovic Courtès
Subject: Re: [bug-mailutils] Getting `mail' to use the right mailer
Date: Thu, 08 Sep 2011 18:22:43 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Hi Sergey,

Sergey Poznyakoff <address@hidden> skribis:

> Ludovic Courtès <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]