Updated cron?

Leroy Tennison leroy at datavoiceint.com
Fri Aug 16 20:55:31 UTC 2019


WOW, did our email filters ever mangle that one!  For etc/postfix/ (long URL) the (long URL) should have been main <dot>cf.  I have no idea what triggered that one...

________________________________
From: ubuntu-server <ubuntu-server-bounces at lists.ubuntu.com> on behalf of Leroy Tennison <leroy at datavoiceint.com>
Sent: Friday, August 16, 2019 3:49:27 PM
To: ubuntu-server at lists.ubuntu.com <ubuntu-server at lists.ubuntu.com>
Subject: Re: Updated cron?

Just a quick update for anyone facing a similar situation and finding this: Postfix does have a way to do this through a feature called "smtp generic maps" and it's easy:

Create /etc/postfix/generic with, or example: root@<contents of /etc/mailname>   <some valid email address> (one "mapping" per line)
Run postmap hash:generic
Add "smtp_generic_maps = hash:/etc/postfix/generic" to /etc/postfix/https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fmain.cf&c=E,1,58-sIIlBpdTZrI2-IKZwOBCs_twYiICKAaJClTgl8qYzLgGv-kDTPTKugVySCIiT_cOusTEToOmnw-U92EIBp2b9NDFVUDyczOxlKbeIVOX33YRwQboR8Q,,&typo=1
Restart Postfix



Register now for
the dataVoice User Conference
,
October 9-11 at the Gaylord Rockies in
Denver, CO.
To register click
Here
Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com
2220 Bush Dr
McKinney, Texas
75070
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.datavoiceint.com&c=E,1,c0pJnkCxVrYMZfGQaRXOY7XVHElyeNSiHz5jTo65g_PdJO9q1Uq-o1E-so2z4yG-iOnaTDLiHMhSNHYMiPu1hzb38bgqY1HcDXKkPbKCFfj0f2MaaO2HZns,&typo=1
This message has been sent on behalf
of a company that is part of the Harris Operating Group of
Constellation Software Inc. These companies are listed
here
.
If you prefer not to be contacted by Harris
Operating Group
please notify us
.
This message is intended exclusively for the
individual or entity to which it is addressed. This communication
may contain information that is proprietary, privileged or
confidential or otherwise legally exempt from disclosure. If you are
not the named addressee, you are not authorized to read, print,
retain, copy or disseminate this message or any part of it. If you
have received this message in error, please notify the sender
immediately by e-mail and delete all copies of the
message.
?

Harriscomputer

Register now for the dataVoice User Conference,
October 9-11 at the Gaylord Rockies in Denver, CO.
To register click Here<https://www.harriscomputer.com/en/events/>


Leroy Tennison
Network Information/Cyber Security Specialist
E: leroy at datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com<http://www..com>


This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. These companies are listed here<http://subscribe.harriscomputer.com/>.

If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>.



This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.





-----Original Message-----
From: Robie Basak <robie.basak at ubuntu.com>
Sent: Tuesday, August 13, 2019 10:45 AM
To: Leroy Tennison <leroy at datavoiceint.com>
Cc: ubuntu-server at lists.ubuntu.com
Subject: [EXTERNAL] Re: Updated cron?

On Tue, Aug 13, 2019 at 02:04:14PM +0000, Leroy Tennison wrote:
> I don't know about a specification but, from "man 5 crontab" on
> OpenSUSE 13.2 'If MAILFROM is defined (and non-empty), it is used as
> the envelope sender address, otherwise, "root" is used.

Sounds like it is using "sendmail -f <MAILFROM>".

Thank you for bringing this up Leroy. I thought I'd share my thoughts on what we should be doing generally in Ubuntu, rather than in answer to your specific question:

I have no particular objection to tweaking cron, but:

 1) it does seem to me that if users find MAILFROM necessary, then they  would be better served by being advised to tweak their MTA  configuration rather than hoping for a similar feature in every email  sending app and configuring each app individually.

 2) perhaps it's better to leave cron as-is for legacy purposes, but  advise that users look at newer tools that don't have a backward  compatibility burden for additional functionality (eg. systemd timers).

If there is clearly a leading cron compatible replacement in wide use in the community then switching to that might make sense, but it would need someone to take the ongoing effort to make sure that we don't break any existing users currently happy with the current cron implementation.

--
ubuntu-server mailing list
ubuntu-server at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20190816/d4c67e99/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 8276 bytes
Desc: Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20190816/d4c67e99/attachment-0001.png>


More information about the ubuntu-server mailing list