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

Re: [msmtp-users] msmtp: no recipients found



On Wed, Jul 21, 2010 at 9:34 PM, Martin Lambers <marlam@...23...> wrote:
> On 22/07/10 05:57, Vinh Nguyen wrote:
>> Dear list,
>>
>> I am on:
>> Ubuntu 10.04
>> msmtp version 1.4.19
>> mail (GNU Mailutils 2.1)
>> Mutt 1.5.20 (2009-06-14)
>>
>> I have my gmail account set up per the documentation, and sending
>> emails with msmtp and mutt works fine.  However, with mail, I get:
>>
>> $ echo "testing" | mail my.email@...53...
>> msmtp: no recipients found
>>
>> I have ~/.mailrc:
>> set sendmail=/usr/bin/msmtp ## with and without quotes
>>
>> Am I not setting things up correctly?  It at least is seeing msmtp.
>
> Maybe GNU mail requires some options to be set with sendmail, e.g. -t.
> As far as I remember, this example worked with the original mailx
> package (I think on Ubuntu it is called bsd-mailx).
>

No go with -t.  Guess it doesn't work with mail from mailutils (only
for local delivery???  and with sendmail).

I guess I'll stick to mutt.

> Martin
>