Sending mail from Acme with msmtp?

9 views
Skip to first unread message

Matteo Di Maio

unread,
May 2, 2022, 6:36:46 AMMay 2
to plan9port-dev
I've set up receiving mail in Acme using plan9port on Arch Linux using these steps (https://akpoff.com/archive/2018/email_config_plan9_acme_openbsd.html).

Now I'm trying to get sending mail to work. I'm using msmtp, which works fine doing "cat test.mail | msmtp -t -a  default" etc. 

However, when I click "Post" in Acme, I always get: "cat: /dev/stdin: No such device or address". 

The contents of my pipefrom file in $HOME/mail/pipefrom:

#!/bin/bash

cat /dev/stdin | msmtp -t -a default $@

Any ideas?

Cheers
Matteo



David Arroyo

unread,
May 2, 2022, 1:01:33 PMMay 2
to Matteo Di Maio, 'Shoce' via plan9port-dev
On Mon, May 2, 2022, at 03:56, Matteo Di Maio wrote:
> I've set up receiving mail in Acme using plan9port on Arch Linux using
> these steps
> (https://akpoff.com/archive/2018/email_config_plan9_acme_openbsd.html).

I have used this guide successfully in the past to send email from the Mail client. My configuration is probably still there, and I can share it when I get home. The only change I can remember is in

> cat /dev/stdin | msmtp -t -a default $@

The `cat` command here is not necessary, it can just be `mstmp -t -a default "$@"`

Cheers,
David
Reply all
Reply to author
Forward
0 new messages