On Fri, May 20, 2022 at 05:54:55PM +1000, raf wrote:
> I'm sending a patch that adds an error check for shell
> meta-characters when $sendmail is used. It might have been
> better to check right after reading .muttrc, but this seemed
> like a more natural place to put the code (i.e., right after
On Fri, May 20, 2022 at 04:20:55PM +1000, raf wrote:
> On Thu, May 19, 2022 at 12:05:59PM -0700, "Kevin J. McCarthy"
> wrote:
>
> > On Thu, May 19, 2022 at 01:12:31PM -0500, Derek Martin wrote:
> > > On Thu, May 19, 2022 at 11:06:38AM -0700, Kevin J. McCarthy wrote:
> > > > Sorry, this isn't c
On Thu, May 19, 2022 at 12:05:59PM -0700, "Kevin J. McCarthy"
wrote:
> On Thu, May 19, 2022 at 01:12:31PM -0500, Derek Martin wrote:
> > On Thu, May 19, 2022 at 11:06:38AM -0700, Kevin J. McCarthy wrote:
> > > Sorry, this isn't currently possible in Mutt. The $sendmail variable is
> > > handled
On Thu, May 19, 2022 at 05:47:06PM -0500, X Tec wrote:
Do you think this could be modified in Mutt's source?
As in, kind of a Github-like ticket/issue petition to make it work with
arguments with spaces...
I try asking because you make it sound as if there were doubts regarding why
this is cur
On 2022-05-19 12:05:59, Kevin J. McCarthy wrote:
> On Thu, May 19, 2022 at 01:12:31PM -0500, Derek Martin wrote:
> > On Thu, May 19, 2022 at 11:06:38AM -0700, Kevin J. McCarthy wrote:
> > > Sorry, this isn't currently possible in Mutt. The $sendmail variable is
> > > handled specially: it's tokeni
On Thu, May 19, 2022 at 01:12:31PM -0500, Derek Martin wrote:
On Thu, May 19, 2022 at 11:06:38AM -0700, Kevin J. McCarthy wrote:
Sorry, this isn't currently possible in Mutt. The $sendmail variable is
handled specially: it's tokenized by space and invoked directly via
execvp(). So you won't be
On Thu, May 19, 2022 at 11:06:38AM -0700, Kevin J. McCarthy wrote:
> On Thu, May 19, 2022 at 12:36:39PM -0500, X Tec wrote:
> > set sendmail="/usr/bin/msmtp [...] --passwordeval=$(gpg --no-tty -q -d
> > ~/.user.gpg)"
[...]
> > Hope someone else could give other advise, or if this is really not
> >
On Thu, May 19, 2022 at 12:36:39PM -0500, X Tec wrote:
But this specific part I'm having trouble with seems to be *not* from
Bash or system's shell, but from Mutt *itself*; as in, Mutt's own
"local shell" or configuration syntax (not sure how to call it...).
Nevertheless, I tried your advise,
On 2022-05-19 00:25:32, Jon LaBadie wrote:
> So I have NO IDEA IF IT WILL WORK, but you might try:
>
> set sendmail="/usr/bin/msmtp [...] --passwordeval=$(gpg --no-tty -q -d
> ~/.user.gpg)"
>
Thanks very much for your advise.
Actually I had already read about all the Bash stuff (and also other
Parting from this:
> printf "%b\n" "$msg" | mutt -s "Test message" -e 'set
> my_user="u...@domain.tld"; set my_url="smtp.domain.tld"; set record=""; set
> from="Send User<$my_user>"; set envelope_from=yes; set
> sendmail="/path/to/msmtp --port=587 --tls=on --host=$my_url --auth=on
> --user=$my
On Wed, May 11, 2022 at 09:51:28PM +0100, Sam Kuper wrote:
> Once you know your shell's quoting syntax, you will see that you can
> probably achieve your goal in any of several different ways. Which to
> use is a matter of taste.
>
> E.g.
>
> '/home/.user.gpg'
>
> vs
>
> "~"'/.user.gpg
On Wed, May 11, 2022 at 10:54:19AM -0500, X Tec wrote:
> Managed to briefly test in a more updated rig with Mutt 2.2.4 and
> Msmtp 1.8.11.
Good job.
I'm in haste, so am skipping over the msmtp password oddness. Maybe
another list subscriber will take that up.
> The passwordeval with gpg method
Managed to briefly test in a more updated rig with Mutt 2.2.4 and Msmtp 1.8.11.
On Tue, May 10, 2022 at 07:25:02AM +, Sam Kuper wrote:
> Consider adding ` --` (without backticks) to the end of the
> sendmail string in your example above.
>
printf "%b\n" "$msg" | mutt -s "Test message" -e 'se
On 10May2022 07:25, Sam Kuper wrote:
>On Mon, May 09, 2022 at 11:01:20PM -0500, x...@trimaso.com.mx wrote:
>> ---To respond a received email in Mutt pager I hit 'r', and all the
>> rest. I only change the destination email address, and eventually
>> send. But even after successfully sent, the "res
On Mon, May 09, 2022 at 11:01:20PM -0500, x...@trimaso.com.mx wrote:
> [...] In the end, I chose to begin with Msmtp instead of Postfix...
> Why? Because after just installation, I realized that Postfix is kind
> of "overkill" if just wanting to send: it's designed as a full-blown
> server for send
Sorry for late answering...
On Sun, May 08, 2022 at 04:25:05PM +1000, Cameron Simpson wrote:
You're failing in this because you have $smtp_url defined. Comment out
it and the other $smtp* variables.
When you send with $sendmail (the local system's mail system, postfix
for you) the smtp settin
On 07May2022 11:11, X Tec wrote:
>On 2022-05-07 08:45:35, Cameron Simpson wrote:
>> Probably not? If you've been debugging the $smtp* variables (in
>> particular, having to debug the password) then it sounds like mutt is
>> actually sending directly with SMTP and _not_ using the local postfix.
>>
On Sat, May 07, 2022 at 11:11:35AM -0500, X Tec wrote:
By the way, in Mutt default pager for reading emails, your words
between underscores '_' (_not_, _may_, etc...) are not being
displayed... Why?
Possibly your color settings, or the color settings shipped with your
packaged version of mutt
Hi X Tec,
Not sure if you have read this web page?
https://gitlab.com/muttmua/mutt/-/wikis/MailConcept
You may find life simpler if, following the advice there, you apply the
concept of "separation of concerns".
https://en.wikipedia.org/wiki/Separation_of_concerns
In other words:
- use an M
he index lines
> (one per message, specified by $index_format) with the header shown
> above a specific message when you're viewing it? Got an example?
>
1 2022-05-06 17:45:35 Cameron Simpson ( 11K) Re: New to Mutt, unable to send
messages in *any* attempted way
And when hitting ente
On 06May2022 12:28, x...@trimaso.com.mx wrote:
>Thanks again.
>
>As mentioned in first message, system has Postfix by default, with its
>corresponding /usr/sbin/sendmail and /etc/postfix/main.cf .
>Since I don't have anything for $sendmail variable, it's defaulting
>indeed for Postix sendmail.
Thanks again.
As mentioned in first message, system has Postfix by default, with its
corresponding /usr/sbin/sendmail and /etc/postfix/main.cf .
Since I don't have anything for $sendmail variable, it's defaulting
indeed for Postix sendmail.
On Thu, May 05, 2022 at 19:19:45 -0500, Cameron Si
On Thu, May 05, 2022 at 15:11:48 -0500, x...@trimaso.com.mx wrote:
> I didn't mean email provider, but ISP internet service I'm connected to.
> And did test again: I connected to an internet network, did not specify
> port in smtp_url, tried send email, and got:
> Could not connect to smtp.domain.
On 05May2022 15:11, x...@trimaso.com.mx wrote:
>On Thu, May 05, 2022 at 12:07:44PM -0500, Kevin J. McCarthy wrote:
>>1) On the command line, the shell will expand shell variables inside
>>double quoted strings, before Mutt even sees it.
[...]
>First: had to delete/rename ~/.muttrc, because some pr
On Thu, May 05, 2022 at 03:11:48PM -0500, x...@trimaso.com.mx wrote:
> On Thu, May 05, 2022 at 12:07:44PM -0500, Kevin J. McCarthy wrote:
>> 1) On the command line, the shell will expand shell variables inside
>> double quoted strings, before Mutt even sees it.
>>
>> So in the part "set smtp_url=s
On Thu, May 05, 2022 at 12:07:44PM -0500, Kevin J. McCarthy wrote:
1) On the command line, the shell will expand shell variables inside
double quoted strings, before Mutt even sees it.
So in the part "set smtp_url=smtp://$my_user@$my_url" Mutt is probably
only seeing "set smtp_url=smtp://@", bec
On Thu, May 05, 2022 at 11:24:36AM -0500, x...@trimaso.com.mx wrote:
printf "%b\n" "$msg" | mutt -s "Test message" -e "set
my_user=u...@domain.tld; set my_url=smtp.domain.tld; set from='User';
set use_from=yes; set smtp_url=smtp://$my_user@$my_url; set
smtp_pass=p4ss; set ssl_starttls=yes; set
On Thu, May 05, 2022 at 11:24:36AM -0500, x...@trimaso.com.mx wrote:
> *Beforehand*, if you'll answer just with questions without advise, or
> mock, just ban me better.
I do have questions, but these are to help understand what might be
going wrong.
> printf "%b\n" "$msg" | mutt -s "Test message
Hello.
I already tried every way I could imagine to debug my problem, and
simply no dice; thus trying to post everything here as last resort.
Using Mutt 1.10.1 (cannot update for now; please don't ask why)
Using Postfix /usr/sbin/sendmail ($sendmail variable is empty)
Remote mail server just
29 matches
Mail list logo