From owner-freebsd-questions Wed Jun 7 23: 8:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from jumbo.demos.su (jumbo.demos.su [194.87.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 3904537BF08 for ; Wed, 7 Jun 2000 23:08:20 -0700 (PDT) (envelope-from rusig.ru!der@jumbo.demos.su) Received: by jumbo.demos.su (8.6.13/D) from signal-gate.rusig.ru (152.10.133.195.dynamic.dialup.ru [195.133.10.152]) with ESMTP id KAA05602; Thu, 8 Jun 2000 10:07:57 +0400 Received: from rusig.ru (rcos.rusig.ru [192.9.200.202]) by signal-gate.rusig.ru (8.9.3/8.9.3) with ESMTP id JAA19105; Thu, 8 Jun 2000 09:42:35 +0400 (MSD) (envelope-from der@rusig.ru) Message-ID: <393F32D1.713AAF8F@rusig.ru> Date: Thu, 08 Jun 2000 09:44:49 +0400 From: "Alexandre E. Derevyanko" X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: Giorgos Keramidas Cc: freebsd-questions@freebsd.org Subject: Re: How to limit sendmail -q processing only messages <= N kb ? References: <393E486D.6407C7B9@rusig.ru> <000501bfd085$e2bba7c0$858c8c96@win2000.cc.ceid.upatras.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Giorgos Keramidas wrote: > > > The question is: How to configure sendmail to process only messages > > smaller then some defined size, to force big mail delivered only at > > night time ? > > You can use the "limit" option for fetchmail, during daytime, > and run fetchmail without any limits at night time. > > If I recall it correctly, the command line option is -l (that is a > small-case L). > So, you need to run fetchmail during daytime as in: > > % fetchmail -l 200000 > > which will fetch only mail smaller in size than 200 K, and then at night > time > run fetchmail without any options to download any remaining messages. It is correct, and works nice, but it is not my problem. Really, I already run fetchmail with --limit option. The problem is sendmail, that queue outgoing mail. I need to queue all mail and send at daytime only mail smaller than some limit. It is vital to deliver small messages fast - really, it is office configuration, not home. At home I can deliver mail only at night without limits. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message