[Top][All Lists]

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

Re: [bug-mailutils] how to make mail.mailutils invoke sendmail without -

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] how to make mail.mailutils invoke sendmail without -f
Date: Thu, 20 Jun 2019 09:42:48 +0300


> I'm trying to solve a problem caused by mail.mailutils invoking sendmail
> with the -f option.  (This option overrides my MTA's smart-host MAIL FROM
> setting, leading to rejected outgoing messages.)  I'm looking for a way to
> tell mailutils not to use the sendmail -f option.

The only way of doing so is to use smtp instead of sendmail. Add the
following to your .mailrc:

set sendmail=smtp://HOST[:PORT][;FLAGS]

Replace HOST with the IP or hostname of your mail server. PORT is
optional.  Depending on the configuration of your mail server you may
also need to specify one or more FLAGS. They are discussed at


To debug the mail sending process, add also the following setting:

set verbose

reply via email to

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