Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 11:53:46 +0100
From:      rene@xs4all.nl
To:        questions@freebsd.org
Subject:   postfix not accepting SMTP connections
Message-ID:  <20020308115346.G24040@xs4all.nl>

next in thread | raw e-mail | index | archive | help
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

 $ 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308115346.G24040>