From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 17:37:14 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A44D07AB for ; Mon, 2 Mar 2015 17:37:14 +0000 (UTC) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id 20CA68E9 for ; Mon, 2 Mar 2015 17:37:13 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 262241780E4; Mon, 2 Mar 2015 18:31:27 +0100 (CET) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wtok1ODuYWyO; Mon, 2 Mar 2015 18:31:25 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id DA1901780E2; Mon, 2 Mar 2015 18:31:25 +0100 (CET) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id B4i_lgbao_pe; Mon, 2 Mar 2015 18:31:25 +0100 (CET) Received: from xorrigo.toolfactory.net (unknown [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id BA877177FEF; Mon, 2 Mar 2015 18:31:25 +0100 (CET) Date: Mon, 2 Mar 2015 18:31:20 +0100 (CET) From: Raimund Sacherer Reply-To: Raimund Sacherer To: Matthias Apitz Message-ID: <1350745400.96918844.1425317480900.JavaMail.zimbra@logitravel.com> In-Reply-To: <20150227130145.GA3591@c720-r276659> References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> <20150227130145.GA3591@c720-r276659> Subject: Re: sendmail && dhcp MIME-Version: 1.0 X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: sendmail && dhcp Thread-Index: Wx93ad8PU3tZ0moYxLYucO+MmHy+6g== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-questions-local@be-well.ilk.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 17:37:14 -0000 Hi,=20 sorry to barge in so late, but I do not like to have sendmail or any daemon= which can listen on 25 running on my systems when it is not necessary, the= refore I use DMA.=20 It doesn't run a deamon, rather when you send mail it stows them in a queue= . Now the queue get's worked on, but when there is no internet connection i= t should queue the mail (never tried it without internet connectivity thoug= h).=20 You can then fire up your link and use dma -q (see man page) to send the qu= eued email ...=20 This should be exactly what you want with very little system overhead / att= ack surface, fast, small, simple.=20 Best,=20 Ray=20 ----- Original Message ----- > From: "Matthias Apitz" > To: "Perry Hutchison" > Cc: freebsd-questions-local@be-well.ilk.org, freebsd-questions@freebsd.or= g > Sent: Friday, February 27, 2015 2:01:45 PM > Subject: Re: sendmail && dhcp > El d=C3=ADa Thursday, February 26, 2015 a las 07:37:59PM -0800, Perry Hut= chison > escribi=C3=B3: > > Lowell Gilbert wrote: > > > Matthias Apitz writes: > > > > I fetch my mails from my ISP with fetchmail and pipe them > > > > through sendmail and procmail (for filtering); and I send > > > > upstream with SMPT && SSL to my ISP using sendmail ... it is > > > > so nice to connect a few seconds(!) to fetch all your mails, > > > > shutdown the link, read and answer the mails offline, queue > > > > answers with sendmail, and re-open the link for a few seconds > > > > to send the mails out. > > > > > > You don't need a sendmail daemon for that. > > > > There's no need to involve sendmail at all (on the receive side) > > for that. Depending on the MUA the OP might need one for sending -- > > some MUAs only support sending via SMTP, not by fork/exec sendmail. > > > > > Tell fetchmail to invoke sendmail itself instead of delivering > > > to a local TCP port > > > > AFAIK there is no need for one MTA (fetchmail) to invoke another > > MTA (sendmail) just to get to a third mail agent[*] (procmail). > > Have fetchmail invoke procmail directly. > > > > [*] I don't remember offhand whether procmail is considered an MTA > > or an LDA, and for this analysis it doesn't matter. > To read and write I'm using mutt as MUA. mutt can fetch with IMAP(S) and > send with SMTP+SSL; but this (sending directly) is not what I want, I > want to queue up the outbound mails and send them at once (see above for > the reason); so, sendmail is the natural option; > for the PPP link, I already use a devd(8) hook to restart sendmail when > the interface comes up; for the wlan(4) link I will use the hook > /etc/dhclient-exit-hooks looking for the $reason BOUND; > I was hoping for a solution which combines all interfaces in one place, > but it seems that this does not exist. > Thanks > matthias > -- > Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 > La referencia de la Duma a la anexi=C3=B3n de la RDA, en este caso al con= trario > con la Criml=C3=ADa sin > refer=C3=A9ndum, no solamente tiene gracia sino da en el blanco.- > Marinos Yannikos @MarinosYannikos en un blog de RTdeutsch. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 18:21:43 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDB5F932 for ; Mon, 2 Mar 2015 18:21:43 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id C2F8CE6F for ; Mon, 2 Mar 2015 18:21:43 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id E5A1B33C1E; Mon, 2 Mar 2015 13:21:35 -0500 (EST) From: Lowell Gilbert To: freebsd-questions@freebsd.org Subject: Re: sendmail && dhcp References: <20150226144245.GA1346@c720-r276659> <44bnkgsmcl.fsf@lowell-desk.lan> <20150226194012.GA2695@c720-r276659> <4461aoe96j.fsf@lowell-desk.lan> <20150226203154.GA2853@c720-r276659> <44k2z4ci8y.fsf@lowell-desk.lan> <54efe697.xdtSCVZsiZDqV7lP%perryh@pluto.rain.com> <20150227130145.GA3591@c720-r276659> <1350745400.96918844.1425317480900.JavaMail.zimbra@logitravel.com> Reply-To: freebsd-questions@freebsd.org Date: Mon, 02 Mar 2015 13:21:35 -0500 In-Reply-To: <1350745400.96918844.1425317480900.JavaMail.zimbra@logitravel.com> (Raimund Sacherer's message of "Mon, 2 Mar 2015 18:31:20 +0100 (CET)") Message-ID: <448uff9s5s.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2015 18:21:44 -0000 Raimund Sacherer writes: > sorry to barge in so late, but I do not like to have sendmail or any > daemon which can listen on 25 running on my systems when it is not > necessary, therefore I use DMA. > > It doesn't run a deamon, rather when you send mail it stows them in a > queue. Now the queue get's worked on, but when there is no internet > connection it should queue the mail (never tried it without internet > connectivity though). > > You can then fire up your link and use dma -q (see man page) to send the queued email ... It's easy to get the impression that Dragonfly BSD has invented every clever OS concept ever, but I don't remember any MTAs that *lacked* the ability for this mode of operation. Does anyone else remember one?