Date: Fri, 8 Mar 2002 02:01:36 -0900 From: Beech Rintoul <akbeech@anchoragerescue.org> To: rene@xs4all.nl, questions@freebsd.org Subject: Re: postfix not accepting SMTP connections Message-ID: <20020308110136.C2FB646@nebula.anchoragerescue.org> In-Reply-To: <20020308115346.G24040@xs4all.nl> References: <20020308115346.G24040@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 08 March 2002 01:53 am, rene@xs4all.nl wrote: > 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 <file unchanged> > # 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 > After a reboot do: postfix check This checks your configs and file permissions. Fix anything that shows up. To start do: postfix start If it's already running do: postfix reload. Hope that helps, Beech -- ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308110136.C2FB646>