0

I realize this 2014 blog post showing how to setup sendmail on a Rapsberry Pi is a bit outdated, but, am I stretching too much to expect the following command to work on my new Buster / Raspberry Pi OS?

Here's the part of the instructions I was following:

Save the authinfo file and use makemap to create the binary version. The following command creates a file called “authinfo.db“, using the information you placed into authinfo.

And this command is what I'm trying to do:

# makemap hash /etc/mail/authinfo < /etc/mail/authinfo

All I get is command not found, even if I prefix it with sudo

bkwdesign
  • 103
  • 3

2 Answers2

1

I think makemap is in package sendmail-bin.

See if it works after

sudo apt install sendmail-bin

Mind you it seems odd that this hasn't already been installed if you are using sendmail.

joan
  • 71,852
  • 5
  • 76
  • 108
0

I agree with Dougie's comments.

While sendmail is in the repository I doubt it would work (even if you manage to fight your way through the configuration). (ssmtp is also in the repository and it doesn't work)

I suggest you try msmtp - See https://raspberrypi.stackexchange.com/a/100704/8697

Milliways
  • 62,573
  • 32
  • 113
  • 225