From owner-freebsd-questions Fri Mar 8 6:59:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 75DDF37B423 for ; Fri, 8 Mar 2002 06:58:52 -0800 (PST) Received: from barbish ([63.70.155.36]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Fri, 8 Mar 2002 10:03:46 -0500 From: "Joe & Fhe Barbish" To: Cc: "FBSDQ" Subject: RE: postfix not accepting SMTP connections Date: Fri, 8 Mar 2002 09:58:48 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020308115346.G24040@xs4all.nl> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 This is your problem $ grep sendmail /etc/rc.conf sendmail_enable="YES" Change that to sendmail_enable="NO" And reboot your system. Sendmail is the default core FBSD mail system. Since rc.conf options get started before user installed ports you have a conflict when later you start postfix. Postfix ends up being left out in the cold because the SMTP services are already active. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of rene@xs4all.nl Sent: Friday, March 08, 2002 5:54 AM To: questions@freebsd.org Subject: postfix not accepting SMTP connections In general, i'm looking for a good freebsd postfix howto, something more than an echo of the postfix.org site.. in particular, i've installed the thing, did as http://www.postfix.org/basic.html describes to configure it, but can't get it to accept incoming smtp connections :( if you want any other diagnostics besides the ones below, just ask.. $ /usr/local/libexec/postfix/smtpd smtpd: fatal: do not run this command by hand $ grep sendmail /etc/rc.conf sendmail_enable="YES" $ grep smtp /usr/local/etc/postfix/master.cf # for the SMTP server: localhost:smtp receives mail via the loopback smtp inet n - n - - smtpd smtp unix - - n - - smtp bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient $ cat /etc/mail/mailer.conf # $FreeBSD: src/etc/mail/mailer.conf,v 1.2 1999/12/29 18:24:06 peter Exp $ sendmail /usr/libexec/postfix/sendmail send-mail /usr/libexec/postfix/sendmail mailq /usr/libexec/postfix/sendmail newaliases /usr/libexec/postfix/sendmail $ postfix start postfix/postfix-script: starting the Postfix mail system $ ps -ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.00 (swapper) 1 ?? ILs 0:00.02 /sbin/init -- 2 ?? DL 0:00.00 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 0:00.01 (bufdaemon) 5 ?? DL 0:00.08 (syncer) 6 ?? DL 0:00.01 (vnlru) 23 ?? Is 0:00.00 adjkerntz -i 54 ?? Ss 0:00.04 /sbin/ipmon -Dsvn 74 ?? Ss 0:00.14 syslogd -s 77 ?? Is 0:00.02 named 83 ?? Is 0:00.02 /usr/sbin/cron 85 ?? Is 0:00.64 /usr/sbin/sshd -4 121 ?? Is 0:00.00 /usr/local/sbin/dhcpd 135 ?? Ss 0:00.07 /usr/local/sbin/nmbd -D 144 ?? S 0:00.32 sshd: rene@ttyp1 (sshd) 296 ?? Is 0:00.04 /usr/local/libexec/postfix/master 297 ?? I 0:00.02 pickup -l -t fifo -u 298 ?? I 0:00.02 qmgr -l -t fifo -u 145 p1 Is 0:00.08 -bash (bash) 158 p1 S 0:00.20 -su (bash) 305 p1 R+ 0:00.00 ps -ax 137 v0 Is+ 0:00.01 /usr/libexec/getty Pc ttyv0 138 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 139 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 140 v3 Is+ 0:00.01 /usr/libexec/getty Pc ttyv3 $ dmesg | grep FreeBSD Copyright (c) 1992-2002 The FreeBSD Project. FreeBSD 4.5-STABLE #3: Tue Feb 26 16:39:37 CET 2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message