From owner-freebsd-questions Fri Jul 27 21:19:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id C7AC237B406 for ; Fri, 27 Jul 2001 21:19:09 -0700 (PDT) (envelope-from leblanc@acadia.ne.mediaone.net) Received: from acadia.ne.mediaone.net (acadia.ne.mediaone.net [65.96.185.189]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id f6S4J3X05912 for ; Sat, 28 Jul 2001 00:19:08 -0400 (EDT) Received: (from leblanc@localhost) by acadia.ne.mediaone.net (8.9.3/8.9.3) id AAA27260 for freebsd-questions@FreeBSD.org; Sat, 28 Jul 2001 00:12:34 -0400 Date: Sat, 28 Jul 2001 00:12:34 -0400 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Subject: Re: Sendmail configuration on FreeBSD - seems more difficult than on Linux . . . Message-ID: <20010728001234.A27255@acadia.ne.mediaone.net> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.org References: <200107251013.DAA26871@geocrawler.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200107251013.DAA26871@geocrawler.com> User-Agent: Mutt/1.3.19i X-bright-idea: Lets abolish HTML mail! 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 Well, I don't seem to be able to get this right. I tried the distribution version (generated by freebsd.mc) and a hacked up version. I still can't get mail to send out. Here is what I am using as freebsd.mc: (All comment lines are removed for brevity, and I have modified the SMART_HOST define). ---------------------------------------------------------------------- OSTYPE(freebsd4) DOMAIN(generic) FEATURE(access_db, `hash -o /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(relay_based_on_MX) FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') define(`SMART_HOST', `smtp.ne.mediaone.net') define(`confCW_FILE', `-o /etc/mail/local-host-names') define(`confMAX_MIME_HEADER_LENGTH', `256/128') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') MAILER(procmail) MAILER(smtp) ---------------------------------------------------------------------- I know this isn't going to get sendmail to deliver to cyrus, but right now I am more worried about getting mail outgoing. I can worry about getting the other side right later. I have procmail installed with the group and user stickybits set: # ls -l /usr/local/bin/procmail -rwsr-sr-x 1 root mail 66312 Jul 27 22:56 /usr/local/bin/procmail and deliver: # ls -l /usr/local/cyrus/bin/deliver -rwsr-sr-x 1 cyrus mail 608260 Jul 21 18:12 /usr/local/cyrus/bin/deliver And still I get the same thing - though these wouldn't affect outbound mail anyway. Both are installed from the ports (cyrus and procmail) and sendmail is the FreeBSD dist version - buildworld done 2 days ago on 4.3 STABLE. Neil, I appreciate your recent suggestions, but I fear they didn't do the trick. Any other suggestions are most welcome. Thanks Lou On 07/25/01 03:13 AM, Neil Darlow sat at the `puter and typed: > This message was sent from Geocrawler.com by "Neil Darlow" > > Hi Louis, > > Configuring sendmail on FreeBSD is no harder than > on Linux. > > Sendmail can't execute a sub-program for some > reason. Did you install procmail and cyrus from > the ports collection? What does your .mc file look > like? > > I'd check permissions on your procmail and deliver > executables first (they may have to be installed > suid root) and > see if that's the cause. > > Regards, > Neil Darlow. > > --------------------------------------- > This is what I get when sending mail: > > Error sending message, child exited 127 (Exec > error.). > > I am also getting a lot of these messages in > /var/log/messages: > Jul 24 23:12:05 acadia sendmail[98415]: > f6P3C4898415: Losing > ./qff6P3C4898415: savemail panic > Jul 24 23:12:05 acadia sendmail[98415]: > f6P3C4898415: SYSERR(root): > savemail: cannot save rejected email anywhere > > > Geocrawler.com - The Knowledge Archive > -- Louis LeBlanc leblanc@acadia.ne.mediaone.net Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://acadia.ne.mediaone.net ԿԬ Zymurgy's Law of Volunteer Labor: People are always available for work in the past tense. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message