Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  nodelist  faq  login

snafu = Situation Normal All F%$*ed up


computers / comp.mail.mutt / Re: Stop mutt from saving a copy of outgoing email

SubjectAuthor
* Stop mutt from saving a copy of outgoing emailcjsmall
+- Re: Stop mutt from saving a copy of outgoing emailRoger Bell_West
`* Re: Stop mutt from saving a copy of outgoing emailRich
 `- Re: Stop mutt from saving a copy of outgoing emailcjsmall

1
Subject: Stop mutt from saving a copy of outgoing email
From: cjsmall
Newsgroups: comp.mail.mutt
Date: Mon, 16 May 2022 18:09 UTC
X-Received: by 2002:ac8:4e42:0:b0:2f4:fc3c:b0c8 with SMTP id e2-20020ac84e42000000b002f4fc3cb0c8mr16585807qtw.684.1652724547487;
Mon, 16 May 2022 11:09:07 -0700 (PDT)
X-Received: by 2002:a05:6830:25c2:b0:606:ed20:da5c with SMTP id
d2-20020a05683025c200b00606ed20da5cmr5458309otu.234.1652724547235; Mon, 16
May 2022 11:09:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Mon, 16 May 2022 11:09:07 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9880:77c0:e23f:49ff:fee8:1a31;
posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
NNTP-Posting-Host: 2601:600:9880:77c0:e23f:49ff:fee8:1a31
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <24571afd-9410-4228-a731-6be2f00468cfn@googlegroups.com>
Subject: Stop mutt from saving a copy of outgoing email
From: jefferys...@gmail.com (cjsmall)
Injection-Date: Mon, 16 May 2022 18:09:07 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1673
View all headers
Mutt 1.13.2 package on Xubuntu 20.04.  (Latest in the archives)

I have a feeling that this will turn out to be an obvious answer, but I didn't see an appropriate option on the mutt manual page.

I have some cron shell scripts that email me notifications regarding system status.  I am getting copies of these notifications in my default mbox when they are sent and I would like to stop these copies from being saved.  the command in the scripts is:

cat <file> | /usr/bin/mutt  -s  ${PROGNAME}  user@domain.com

Is there an option to stop saving the outgoing message, or some other trick to suppress this.

Thanks.


Subject: Re: Stop mutt from saving a copy of outgoing email
From: Roger Bell_West
Newsgroups: comp.mail.mutt
Organization: Firedrake Synthesis
Date: Mon, 16 May 2022 18:48 UTC
References: 1
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!news1.firedrake.org!.POSTED.heliophagous.homenet.firedrake.org!not-for-mail
From: roger+cm...@nospam.firedrake.org (Roger Bell_West)
Newsgroups: comp.mail.mutt
Subject: Re: Stop mutt from saving a copy of outgoing email
Date: Mon, 16 May 2022 18:48:05 -0000 (UTC)
Organization: Firedrake Synthesis
Message-ID: <20220516194717.160396344102086@firedrake.org>
References: <24571afd-9410-4228-a731-6be2f00468cfn@googlegroups.com>
Injection-Date: Mon, 16 May 2022 18:48:05 -0000 (UTC)
Injection-Info: lustrous.firedrake.org; posting-host="heliophagous.homenet.firedrake.org:10.0.0.1";
logging-data="4005"; mail-complaints-to="usenet@lustrous.firedrake.org"
User-Agent: slrn/1.0.3 (Linux)
X-No-Archive: yes
X-Archiving-0: This post may be retained only in archives with
X-Archiving-1: contents selected by humans on a per-article basis.
View all headers
On 2022-05-16, cjsmall wrote:

cat <file> | /usr/bin/mutt  -s  ${PROGNAME}  user@domain.com

Is there an option to stop saving the outgoing message, or some other trick to suppress this.

Don't use mutt for a thing it's not really good at. Whatever basic
`mail` is already on your system is the right tool for this job.


Subject: Re: Stop mutt from saving a copy of outgoing email
From: Rich
Newsgroups: comp.mail.mutt
Organization: A noiseless patient Spider
Date: Tue, 17 May 2022 02:07 UTC
References: 1
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.mail.mutt
Subject: Re: Stop mutt from saving a copy of outgoing email
Date: Tue, 17 May 2022 02:07:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <t5v010$dv9$1@dont-email.me>
References: <24571afd-9410-4228-a731-6be2f00468cfn@googlegroups.com>
Injection-Date: Tue, 17 May 2022 02:07:28 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9eedf2cfd2575721b6e72349bc039bf5";
logging-data="14313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18kCQzjyyOBP4SkiKNllAKC"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:58GS1O2Qe8mXv22b2hKpjYOBZeE=
View all headers
cjsmall <jefferysmall@gmail.com> wrote:
Mutt 1.13.2 package on Xubuntu 20.04.  (Latest in the archives)

I have a feeling that this will turn out to be an obvious answer, but
I didn't see an appropriate option on the mutt manual page.

[cut]

cat <file> | /usr/bin/mutt  -s  ${PROGNAME}  user@domain.com

Is there an option to stop saving the outgoing message, or some other
trick to suppress this.

Yes, and it is documented in the manual...:

cat <file> | /usr/bin/mutt -e "set copy=no" -s "${PROGNAME}" user@domain.com



Subject: Re: Stop mutt from saving a copy of outgoing email
From: cjsmall
Newsgroups: comp.mail.mutt
Date: Tue, 17 May 2022 04:10 UTC
References: 1 2
X-Received: by 2002:a0c:b312:0:b0:45a:a8d7:ecd6 with SMTP id s18-20020a0cb312000000b0045aa8d7ecd6mr18249530qve.100.1652760619210;
Mon, 16 May 2022 21:10:19 -0700 (PDT)
X-Received: by 2002:a05:6870:890f:b0:e1:c92d:d84 with SMTP id
i15-20020a056870890f00b000e1c92d0d84mr11358344oao.49.1652760618951; Mon, 16
May 2022 21:10:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.mutt
Date: Mon, 16 May 2022 21:10:18 -0700 (PDT)
In-Reply-To: <t5v010$dv9$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:600:9880:77c0:e23f:49ff:fee8:1a31;
posting-account=HkkpOQkAAADsR9HpuB7NpuJa7KNw-XVw
NNTP-Posting-Host: 2601:600:9880:77c0:e23f:49ff:fee8:1a31
References: <24571afd-9410-4228-a731-6be2f00468cfn@googlegroups.com> <t5v010$dv9$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aee6da77-5d2e-41df-a112-9e2c52246994n@googlegroups.com>
Subject: Re: Stop mutt from saving a copy of outgoing email
From: jefferys...@gmail.com (cjsmall)
Injection-Date: Tue, 17 May 2022 04:10:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2064
View all headers
On Monday, May 16, 2022 at 7:07:31 PM UTC-7, Rich wrote:
cjsmall <jeffer...@gmail.com> wrote:
Mutt 1.13.2 package on Xubuntu 20.04. (Latest in the archives)

I have a feeling that this will turn out to be an obvious answer, but
I didn't see an appropriate option on the mutt manual page.

[cut]

cat <file> | /usr/bin/mutt -s ${PROGNAME} us...@domain.com

Is there an option to stop saving the outgoing message, or some other
trick to suppress this.
Yes, and it is documented in the manual...:

cat <file> | /usr/bin/mutt -e "set copy=no" -s "${PROGNAME}" us...@domain.com

Perfect.  Thanks Rich.  I was looking for a command line option in the manual
page and I never thought about setting rc file options like this with mutt.  Realizing
this opens many more possibilities.  Much appreciated.


1
rocksolid light 0.7.2
clearneti2ptor