Score:0

configuring sendmail on ubuntu 20.04

ie flag

I'm trying to configure the sendmail on my ubuntu, the following should install the necessary packages:

sudo apt-get install sendmail sendmail-cf m4

But then when I'm changing the sendmail.mc file how I should compile it to see the changes in sendmail.cf file ??

This tutorial suggests the make command :

cd /etc/mail
make

but then the changes are not reflect in my sendmail.cf command. Also some suggests that :

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

But then I'm getting the error :

m4:/etc/mail/sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory

So I don't know how to compile the sendmail.mc file !! And as I mentioned I have installed the sendmail, sendmail-cf and m4 packages.

CrazyTux avatar
us flag
if you would like to try other method to send email through ubuntu terminal you can look here: https://askubuntu.com/questions/12917/how-to-send-mail-from-the-command-line
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.