From owner-freebsd-questions@freebsd.org Fri Mar 29 09:01:41 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8F11155FD5B for ; Fri, 29 Mar 2019 09:01:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80C6B862A7 for ; Fri, 29 Mar 2019 09:01:40 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.229.77]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1M6VRf-1h2tdc0NeD-006yPk; Fri, 29 Mar 2019 10:01:33 +0100 Date: Fri, 29 Mar 2019 10:01:33 +0100 From: Polytropon To: "Dr. Nikolaus Klepp" Cc: freebsd-questions@freebsd.org Subject: Re: Why is Sendmail still around? Message-Id: <20190329100133.39ecebb1.freebsd@edvax.de> In-Reply-To: <201903290941.19684.dr.klepp@gmx.at> References: <4101a1092141b58e05ef7552278b15ff@kathe.in> <201903290941.19684.dr.klepp@gmx.at> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:1SPiYSxF1Yo8VTayPQkSolOuJlQYna19D30pwbXw/tADgHRYIkK Gjw9yotkPG9MZFGIdi61iV0RGnt4K6zhO3N88geTIJFy9e5Hh3B7sbskRKunmkHgqC8D9d+ wmZ39AKuf6UTqsXWXrF3q/v/TV29MJNZAnQYuvKDafq2nc66reYVrfuG+6J7SendYLuv9DN igouu0FNk9y80l+01FIuA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:tE6CGBSIu1o=:O9Nnc7VgYq47GrOVnrmFzN ufyZet7nGizqflm9DHKV6OGdlMWAJjp5b1xhTyj7b7/zOS6kkrI4/NL6UkxXRPuwPoCmhf+Rr zYvRJ2j0FnkBufVMOATA3uN0uImmGuf4qDg/iwbtVVu6tYfXfgvRtzMv0OSq6SoA/PcnDUbt6 GgSQcofgixsuxP6cAZESQ5ft9HT2QGnPNb5Lqm7t/thHdsXjHmHWnt0lbjajcnJyS4RLg0aZw J+1qlTyWdsOc6phQeO5+6uZEenuxQQmdzVgYo+115Lj42hSxG/2u/YnV4IZxLFytP54b1+GEa DCXnWykLsHjOwGjiZSx7vHlHQbTuKO/e/wQSKZL6TQGVWBGkQ4G0/33UuZsjKUzugwhQMurFd nP2aa8rpKTYg5i0IMxrb7nUaTU/ilPMds0aalhXBVpSdF+By1zrfUku6u8s8rv3Shiw+askPj LH5uVabgxC3FMm2K6agTftISj8INvyALBxiqrjkWwp53iP8odM/guJoulhXNlB3XRjbWVKswi SWLL7y+UFRRw/UB9s1g68itwnUQtEhh6IXQokT+Qvwab+CRArBnRu3G2i4TIf6fgia4SJZVO4 K7f0oDR0go6gQkzLcWL7jUWv6ksOQw0MxKKXdVfQvAG+77RBZbqLsMBeGFlb9j4wm0OyLCRVz 3DrozcBUB+8+aIu00Ock6axXJIwZw4XbI1NuKFhQi/t6ieVKtYmAifZL/zruVJKRb6/6/dRKU CwvQQ28uVp8DzI1ha9S4XyIpOmXO0CzFwtnGIAnlH6Y8XFy/29YGq2/4vGY= X-Rspamd-Queue-Id: 80C6B862A7 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmx.at]; RECEIVED_SPAMHAUS_PBL(0.00)[77.229.193.92.zen.spamhaus.org : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.69)[0.692,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.06)[0.063,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.97)[0.974,0]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.06)[ipnet: 212.227.0.0/16(-1.31), asn: 8560(1.60), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2019 09:01:42 -0000 On Fri, 29 Mar 2019 09:41:19 +0100, Dr. Nikolaus Klepp wrote: > Anno domini 2019 Fri, 29 Mar 09:22:32 +0100 > Andrea Venturoli scripsit: > > On 3/29/19 2:59 AM, Mayuresh Kathe wrote: > > > easier to configure for simple tasks than Sendmail. > > > > Just out of curiosity, what do you find so hard in configuring sendmail > > *for simple tasks*? > > (I agree it's somewhat confusing sometimes when it comes to complex > > edge-cases). > > Last time I looked at sendmail, it did not deliver local mail > when no notwork and/or nameserver was available. Testing was > done on a fresh installation of FreeBSD 10, so maybe things > have changed. Does that system run the /etc/periodic system scripts? If yes, where does the output go? The only thing that sendmail requires for delivering local mail (i. e., from "process user" to "real user" and of course for "real user" to "real user") is a correct configuration for the loopback device (see 127.0.0.1 and localhost). So if you have 127.0.0.1 localhost in your /etc/hosts, it should be okay. The setting sendmail_submit_enable="YES" in /etc/rc.conf should be sufficient. This makes sure that the periodic scripts can send messages to root (or any other user, if additionally specified), as well as "intra-system communication", such as: % mail root Subject: A test This is a test. . % _ And into the other direction: # mail -s "Test works" bob Hey Bob, the test was successful. . # _ This is basic system functionality. ;-) See /etc/defaults/rc.conf for sendmail-related items. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...