On Mon, 5 Apr 2010 03:53:18 -0700, Jeff Hamann 
<jeff.ham...@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.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to