From owner-freebsd-questions Sat Sep 7 20:20: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2470937B401 for ; Sat, 7 Sep 2002 20:19:56 -0700 (PDT) Received: from zapper.org (gso26-96-004.triad.rr.com [66.26.96.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1934443E3B for ; Sat, 7 Sep 2002 20:19:50 -0700 (PDT) (envelope-from zapper@zapper.org) Received: from zapper.org (zapper@localhost [127.0.0.1]) by zapper.org (8.12.3/8.12.3) with ESMTP id g883Ji7v000373; Sat, 7 Sep 2002 23:19:44 -0400 (EDT) (envelope-from zapper@zapper.org) Received: (from zapper@localhost) by zapper.org (8.12.3/8.12.3/Submit) id g883JhKZ000372; Sat, 7 Sep 2002 23:19:43 -0400 (EDT) Date: Sat, 7 Sep 2002 23:19:43 -0400 From: Daemon To: Matthew Seaman , FreeBSD-Questions Subject: Re: sendmail 8.12 structure Message-Id: <20020907231943.747188d6.daemon@ircee.com> In-Reply-To: <20020907105352.GA19010@happy-idiot-talk.infracaninophi> References: <20020604180503.A29935@seekingfire.com> <20020604172401.A68777@xor.obsecurity.org> <20020906085719.GC34657@happy-idiot-talk.infracaninophi> <20020907105352.GA19010@happy-idiot-talk.infracaninophi> Organization: FoxSurfer Group X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG THANK YOU< THANK YOU and THANK YOU!!! I have been battling with sending mail non-stop for the last 2 days. It happened right after I cvsup'd the latest Stable branch and ran mergemaster. What I didn't know and couldn't find was the changes that needed to be made to /etc/make.conf and /etc/rc.conf. I've been following this thread hoping it would shed some light on my delimma. I had tried entering some earlier settings that I saw in this thread to no avail. Turns out, I had sendmail_submit_enable="YES" set to "NO". If it helps anyone who is just running a regular box and not a server, here are the settings I'm using with 4.6.2-RELEASE /etc/make.conf sendmail_outbound_enable= "YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags= "-L sm-queue -q30m" # Flags to sendmail (outbound only) sendmail_msp_queue_enable= "YES" # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags= "-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. and /etc/rc.conf # Settings for /etc/rc.sendmail: sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO/NONE). # If NONE, don't start any sendmail processes. sendmail_flags="-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-L sm-queue -q30m" # Flags to sendmail (outbound only) sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m" # Flags for sendmail_msp_queue daemon. Hope this helps someone out there fighting with this. Thanks so very much, Matthew. Regards Mark PS - I tried enabling "softupdates" according to http://bsdvault.net/sections.php?op=viewarticle&artid=54 After following the instructions of tunefs -n enable /usr I got softupdates enabled but when I do # tunefs -p /dev/ad0s1a I get - tunefs: soft updates: (-n) disabled also if I do #sysctl -w kern.ipc.maxsockets=16424 I get sysctl: oid 'kern.ipc.maxsockets' is read only. Can anyone shed some light on why this changed? On Sat, 7 Sep 2002 11:53:52 +0100 Matthew Seaman wrote: > iii) Running sm-mta so that only processes on the local machine can > speak SMTP to it. That is how the sm-msp process hands off new > messages to the sm-mta. This mode is enabled by the following > combination of settings in /etc/rc.conf: > > sendmail_enable="NO" > sendmail_submit_enable="YES" (default) > > and the flags are the same as for (ii) with the addition of: > > -ODaemonPortOptions=Addr=localhost Only bind to 127.0.0.1:25 > to listen for SMTP > connections. The loopback > interface should only be > accessible from the > localhost: may need to be > enforced by firewall rules. > > This mode is appropriate for most general purpose machines > ie. those that aren't expected to receive incoming messages. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message