Trying to use mailx for logwatch
Robert Moskowitz
rgm at htt-consult.com
Fri Jan 3 18:09:58 UTC 2014
On 01/03/2014 12:34 PM, Frank Murphy wrote:
> On Fri, 03 Jan 2014 12:19:16 -0500
> Robert Moskowitz <rgm at htt-consult.com> wrote:
>
>>>> so in: /etc/logwatch/conf/logwatch.conf
>>>> mailer = "/usr/bin/mailx -t"
>>> mailer = /usr/bin/mailx -s Logwatch user # where user is you.
>> Why subject?
>> Do you mean that I should not include -t
> Don't include -t
>
>> which seems to
>> have the same meaning in sendmail and mailx?
> man mailx
> -t The message to be sent is expected to contain a message header
> with `To:', `Cc:', or `Bcc:' fields giving its recipients. Recipients
> speciā fied on the command line are ignored.
Well we will see how it goes. I will let you know.
>
>
>>> One stop at a time
>> step?
> yep
>>> sudo updatedb | locate dead.letter
>> Nothing. No dead.letter
> dead.letter means an email was created but couldn't find user.
ergo no mail attempted?
More information about the users
mailing list