From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 07:18:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E73AD1065672 for ; Mon, 12 Apr 2010 07:18:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 42D828FC1F for ; Mon, 12 Apr 2010 07:18:46 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o3C7EaU9004703 Received: from kobe.laptop (ppp-94-64-212-49.home.otenet.gr [94.64.212.49]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o3C7EaU9004703 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Apr 2010 10:14:42 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o3C7EaJd009155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Apr 2010 10:14:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o3C7EYF8009152; Mon, 12 Apr 2010 10:14:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Jeff Hamann References: <9324CE26-ECF0-44AE-B685-EC76D1A0C1C1@forestinformatics.com> Date: Mon, 12 Apr 2010 10:14:34 +0300 In-Reply-To: <9324CE26-ECF0-44AE-B685-EC76D1A0C1C1@forestinformatics.com> (Jeff Hamann's message of "Mon, 5 Apr 2010 03:53:18 -0700") Message-ID: <87aat9kuqt.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: setting sendmail.mc options? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 07:18:48 -0000 On Mon, 5 Apr 2010 03:53:18 -0700, Jeff Hamann wrote: > I'm sure this isn't the correct place for this question, but I'm not > sure where to go as I only use my FreeBSD Unleashed to admin my > sendmail. > > I'm a newbie at this and could use a little help. > > I'm trying to configure sendmail, using the freebsd port, to only > relay mail once a day (I hate emails every few minutes), and if > possible to hold outbound mail in the que (I think there's some que) > until some fixed time (like 7am) so that all my mail is transferred > then. > > I've tried adding: > > #sendmail_flags="-bp -q480m" and > #sendmail_flags="-q120m" > > after my > > sendmail_enable="YES" > > and that didn't seem to work. There are different options for each instance of Sendmail: $ grep 'sendmail.*flags' /etc/defaults/rc.conf sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" $ So you have to set the sendmail_xxx_flags of the daemon you are using, instead of the global sendmail_flags.