Hello Roger.

Roger Price wrote in
 <alpine.deb.2.20.2206300718580.21...@maria.rogerprice.org>:
 |On Wed, 29 Jun 2022, Steffen Nurpmeso wrote:
 |> Roger Price wrote in
 |> <alpine.deb.2.20.2206291330350.21...@maria.rogerprice.org>:
 ...
 |I tried lots of different configurations and finally added the following \
 |lines 
 |to /etc/s-mail.rc

I would respond that the global one is possibly not a good place
for personal adjustments.

 |  set v15-compat=y
 |  set ttycharset=utf-8
 |  set smtp-use-tls

^ This is an unknown variable; since you use submissions the real
one is also unnecessary.

 |  set smtp-auth=login
 |  set user=mail...@rogerprice.org
 |  set password=sekret
 |  set mta=submissions://mail.gandi.net:465
 |
 |My script can now successfully send the message in STDIN using the command
 |
 |  /usr/bin/s-nail -r mail...@rogerprice.org -s 'v15-compat mail' roger@rog\
 |  erprice.org

Well i would instead add

  set from=$user
  set r-option-implicit

then you can leave off the -r option.  *from* should be set for
SMTP.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to