Anacron wants to use sendmail. Why?Why is my weekly anacron job not executed?Postfix - “skipped, still being delivered” (+Permission denied)Daily anacron mails with failureHow to make Anacron startup reliably?Why aren't my anacron jobs running?Cron/Anacron vs. SystemdAnacron daily job not being executedWhy does Anacron need the full path to commands in $PATH

How safe is the 4% rule if the U.S. goes back to the mean?

Why isn't Hagrid removed from Hogwarts sooner in Harry's would-be 7th year?

How do I reset the TSA-unlocked indicator on my lock?

Trade a bishop in the opening

Why do Computer Science degrees contain a high proportion of mathematics?

Can we not simply connect a battery to a RAM to prevent data loss during power cuts?

Is wiring laying alongside an attic access opening a code violation or safety concern?

Code Golf Measurer © 2019

Accidental duration in measureless music

Is Schrodinger's Cat itself an observer?

Does my protagonist need to be the most important character?

Is a list of the most common English words copyrightable?

What is the gold linker?

What are the branches of statistics?

On notice period - coworker I need to train is giving me the silent treatment

avr-gcc keypad interfacing code problem

Advisor asked for my entire slide presentation so she could give the presentation at an international conference

Why do these two ways of understanding constant acceleration give different results?

What does "stirring tanks" mean?

How can I learn to write better questions to test for conceptual understanding?

I need an automatic way of making a lot of folders

How do you determine the reach of a Monster's unarmed strikes?

Why is technology bad for children?

How to snip same part of screen as last time?



Anacron wants to use sendmail. Why?


Why is my weekly anacron job not executed?Postfix - “skipped, still being delivered” (+Permission denied)Daily anacron mails with failureHow to make Anacron startup reliably?Why aren't my anacron jobs running?Cron/Anacron vs. SystemdAnacron daily job not being executedWhy does Anacron need the full path to commands in $PATH






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I am using Ubuntu 18.10 and have added a short script to anacrontab. Now I get this log warning from Anacron:




Can't find sendmail at /usr/sbin/sendmail, not mailing output




I use the default Postfix for mail rather than sendmail and I receive messages from other utilities (printer jobs, usb connected etc) via the usual Gnome messages. Why is Anacron insisting on sendmail, and do I have to install sendmail just for Anacron?










share|improve this question


























  • What mail-type commands does your script use?

    – heynnema
    May 8 at 17:32











  • None whatsoever.

    – SteveInBavaria
    May 8 at 18:07

















0

















I am using Ubuntu 18.10 and have added a short script to anacrontab. Now I get this log warning from Anacron:




Can't find sendmail at /usr/sbin/sendmail, not mailing output




I use the default Postfix for mail rather than sendmail and I receive messages from other utilities (printer jobs, usb connected etc) via the usual Gnome messages. Why is Anacron insisting on sendmail, and do I have to install sendmail just for Anacron?










share|improve this question


























  • What mail-type commands does your script use?

    – heynnema
    May 8 at 17:32











  • None whatsoever.

    – SteveInBavaria
    May 8 at 18:07













0












0








0








I am using Ubuntu 18.10 and have added a short script to anacrontab. Now I get this log warning from Anacron:




Can't find sendmail at /usr/sbin/sendmail, not mailing output




I use the default Postfix for mail rather than sendmail and I receive messages from other utilities (printer jobs, usb connected etc) via the usual Gnome messages. Why is Anacron insisting on sendmail, and do I have to install sendmail just for Anacron?










share|improve this question














I am using Ubuntu 18.10 and have added a short script to anacrontab. Now I get this log warning from Anacron:




Can't find sendmail at /usr/sbin/sendmail, not mailing output




I use the default Postfix for mail rather than sendmail and I receive messages from other utilities (printer jobs, usb connected etc) via the usual Gnome messages. Why is Anacron insisting on sendmail, and do I have to install sendmail just for Anacron?







mail anacron






share|improve this question













share|improve this question











share|improve this question




share|improve this question



share|improve this question










asked May 8 at 17:25









SteveInBavariaSteveInBavaria

9282 gold badges6 silver badges25 bronze badges




9282 gold badges6 silver badges25 bronze badges















  • What mail-type commands does your script use?

    – heynnema
    May 8 at 17:32











  • None whatsoever.

    – SteveInBavaria
    May 8 at 18:07

















  • What mail-type commands does your script use?

    – heynnema
    May 8 at 17:32











  • None whatsoever.

    – SteveInBavaria
    May 8 at 18:07
















What mail-type commands does your script use?

– heynnema
May 8 at 17:32





What mail-type commands does your script use?

– heynnema
May 8 at 17:32













None whatsoever.

– SteveInBavaria
May 8 at 18:07





None whatsoever.

– SteveInBavaria
May 8 at 18:07










1 Answer
1






active

oldest

votes


















2


















sendmail is a generic command. As sendmail was an extremely common and widely used MTA, many scripts made previously assume sendmail is installed if e-mail is used.



This has forced other MTA's to emulate parts of sendmails behaviour.



If you have a look at postfix' file list you will see that it provides /usr/sbin/sendmail.



You do not have to install the sendmail MTA, but installing postfix with sudo apt install postfix will provide you with the sendmail command that emulates the behavior of the original sendmail's sendmail command.






share|improve this answer


























  • But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

    – SteveInBavaria
    May 8 at 18:06











  • You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

    – vidarlo
    May 8 at 18:20











  • @vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

    – SteveInBavaria
    May 8 at 18:41











  • It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

    – vidarlo
    May 8 at 18:43







  • 1





    Probably because some job produced some output.

    – vidarlo
    May 8 at 19:27












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1141583%2fanacron-wants-to-use-sendmail-why%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2


















sendmail is a generic command. As sendmail was an extremely common and widely used MTA, many scripts made previously assume sendmail is installed if e-mail is used.



This has forced other MTA's to emulate parts of sendmails behaviour.



If you have a look at postfix' file list you will see that it provides /usr/sbin/sendmail.



You do not have to install the sendmail MTA, but installing postfix with sudo apt install postfix will provide you with the sendmail command that emulates the behavior of the original sendmail's sendmail command.






share|improve this answer


























  • But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

    – SteveInBavaria
    May 8 at 18:06











  • You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

    – vidarlo
    May 8 at 18:20











  • @vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

    – SteveInBavaria
    May 8 at 18:41











  • It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

    – vidarlo
    May 8 at 18:43







  • 1





    Probably because some job produced some output.

    – vidarlo
    May 8 at 19:27















2


















sendmail is a generic command. As sendmail was an extremely common and widely used MTA, many scripts made previously assume sendmail is installed if e-mail is used.



This has forced other MTA's to emulate parts of sendmails behaviour.



If you have a look at postfix' file list you will see that it provides /usr/sbin/sendmail.



You do not have to install the sendmail MTA, but installing postfix with sudo apt install postfix will provide you with the sendmail command that emulates the behavior of the original sendmail's sendmail command.






share|improve this answer


























  • But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

    – SteveInBavaria
    May 8 at 18:06











  • You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

    – vidarlo
    May 8 at 18:20











  • @vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

    – SteveInBavaria
    May 8 at 18:41











  • It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

    – vidarlo
    May 8 at 18:43







  • 1





    Probably because some job produced some output.

    – vidarlo
    May 8 at 19:27













2














2










2









sendmail is a generic command. As sendmail was an extremely common and widely used MTA, many scripts made previously assume sendmail is installed if e-mail is used.



This has forced other MTA's to emulate parts of sendmails behaviour.



If you have a look at postfix' file list you will see that it provides /usr/sbin/sendmail.



You do not have to install the sendmail MTA, but installing postfix with sudo apt install postfix will provide you with the sendmail command that emulates the behavior of the original sendmail's sendmail command.






share|improve this answer














sendmail is a generic command. As sendmail was an extremely common and widely used MTA, many scripts made previously assume sendmail is installed if e-mail is used.



This has forced other MTA's to emulate parts of sendmails behaviour.



If you have a look at postfix' file list you will see that it provides /usr/sbin/sendmail.



You do not have to install the sendmail MTA, but installing postfix with sudo apt install postfix will provide you with the sendmail command that emulates the behavior of the original sendmail's sendmail command.







share|improve this answer













share|improve this answer




share|improve this answer



share|improve this answer










answered May 8 at 17:43









vidarlovidarlo

13.4k6 gold badges33 silver badges59 bronze badges




13.4k6 gold badges33 silver badges59 bronze badges















  • But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

    – SteveInBavaria
    May 8 at 18:06











  • You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

    – vidarlo
    May 8 at 18:20











  • @vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

    – SteveInBavaria
    May 8 at 18:41











  • It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

    – vidarlo
    May 8 at 18:43







  • 1





    Probably because some job produced some output.

    – vidarlo
    May 8 at 19:27

















  • But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

    – SteveInBavaria
    May 8 at 18:06











  • You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

    – vidarlo
    May 8 at 18:20











  • @vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

    – SteveInBavaria
    May 8 at 18:41











  • It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

    – vidarlo
    May 8 at 18:43







  • 1





    Probably because some job produced some output.

    – vidarlo
    May 8 at 19:27
















But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

– SteveInBavaria
May 8 at 18:06





But why do I need to instal an MTA just for Anacron? Why doesn't it report like the printer, usb port etc?

– SteveInBavaria
May 8 at 18:06













You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

– vidarlo
May 8 at 18:20





You don't need to install it. But without the sendmail command it will not send e-mails with the result. Traditionally cron sends the output of commands to the user owning the job. Anacron will work fine without it.

– vidarlo
May 8 at 18:20













@vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

– SteveInBavaria
May 8 at 18:41





@vidario Thanks for your explanation. The script I am running just rsyncs two files and saves a list of installed packages. It has nothing to report if all goes well. When I run the script from the command line it just runs with no output. Anacrontab has three cronjobs already in it and until I added my job it never attempted to send mail. So I don't really understand what Anacron wants to email.

– SteveInBavaria
May 8 at 18:41













It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

– vidarlo
May 8 at 18:43






It warns you that it won't due to the missing sendmail. If you don't need that functionality, the warning doesn't apply to you. Ignore it. It's simply a standard message.

– vidarlo
May 8 at 18:43





1




1





Probably because some job produced some output.

– vidarlo
May 8 at 19:27





Probably because some job produced some output.

– vidarlo
May 8 at 19:27


















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1141583%2fanacron-wants-to-use-sendmail-why%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?