Date: Mon, 12 Apr 2010 10:14:34 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Jeff Hamann <jeff.hamann@forestinformatics.com> Cc: freebsd-questions@freebsd.org Subject: Re: setting sendmail.mc options? Message-ID: <87aat9kuqt.fsf@kobe.laptop> In-Reply-To: <9324CE26-ECF0-44AE-B685-EC76D1A0C1C1@forestinformatics.com> (Jeff Hamann's message of "Mon, 5 Apr 2010 03:53:18 -0700") References: <9324CE26-ECF0-44AE-B685-EC76D1A0C1C1@forestinformatics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Apr 2010 03:53:18 -0700, Jeff Hamann <jeff.hamann@forestinformatics.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87aat9kuqt.fsf>