[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: in ~/.mh_profile side effect -- "from:" aliases no longe
From: |
Tom R |
Subject: |
address@hidden: in ~/.mh_profile side effect -- "from:" aliases no longer expanded by send |
Date: |
Mon, 15 Mar 2021 08:03:26 -0500 |
If I put a line like:
sendfrom-examplefoo@gmail.com: -server smtp.gmail.com -user
examplefoo@gmail.com -port 587 -tls -sasl -nomime -msgid -verbose -snoop
into ~/.mh_profile, it works as intended, but then
send ~/Mail/drafts/1807 # where 1807 has an alias in the
from field
fails with the msg:
send: unable to find sender host /a/moobt/Mail/drafts/1809: Success
# working/non-failing example | profile does *not* have a "sendfrom" line
$ mhmail -version
mhmail -- nmh-1.7.1 built 2020-08-20 14:53:49 +0000 on ibisbil.mumble.com
$ cat ~/Mail/drafts/1809
From: trxx
Fcc: sent
To: truna
Subject: test 123
asdf
$ send -snoop ~/Mail/drafts/1809
Trying to connect to "localhost" ...
Connecting to ::1:25...
Connection failed: Connection refused
Connecting to 127.0.0.1:25...
<= 220 ibisbil.mumble.com ESMTP Sendmail 8.15.2/8.15.2; Mon, 15 Mar 2021
07:43:31 -0500
=> EHLO ibisbil.mumble.com
<= 250-ibisbil.mumble.com Hello localhost [127.0.0.1], pleased to meet you
<= 250-ENHANCEDSTATUSCODES
<= 250-PIPELINING
<= 250-8BITMIME
<= 250-SIZE
<= 250-DSN
<= 250-ETRN
<= 250-AUTH GSSAPI
<= 250-DELIVERBY
<= 250 HELP
=> MAIL FROM:<zm@DoesItMatter.com>
<= 250 2.1.0 <zm@DoesItMatter.com>... Sender ok
=> RCPT TO:<una@mumble.com>
<= 250 2.1.5 <una@mumble.com>... Recipient ok
=> DATA
<= 354 Enter mail, end with "." on a line by itself
=> .
<= 250 2.0.0 12FChVmJ3114091 Message accepted for delivery
=> QUIT
<= 221 2.0.0 ibisbil.mumble.com closing connection
$
# failing example | profile **does have** a "sendfrom" line
In this case the line:
sendfrom-examplefoo@gmail.com: -server smtp.gmail.com -user
examplefoo@gmail.com -port 587 -tls -sasl -nomime -msgid -verbose -snoop
was added to ~/.mh_profile:
$ cat ~/Mail/drafts/1809
From: trxx
Fcc: sent
To: truna
Subject: test 123
asdf
$ send -snoop ~/Mail/drafts/1809
send: unable to find sender host /a/rodmant/Mail/drafts/1809: Success
$ cat ~/Mail/drafts/1809
From: trxx
Fcc: sent
To: truna
Subject: test 123
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3114242.1615812386.1@epjdn.zq3q.org>
asdf
$
I have several cron jobs that depend on send expanding from aliases, so I had
to revert
~/.mh_profile, commenting ou the sendfrom-examplefoo@gmail.com: line.
--
thanks to all of you for your work on nmh,
Tom | Milwaukee WI
- address@hidden: in ~/.mh_profile side effect -- "from:" aliases no longer expanded by send,
Tom R <=