postfix as nullclient on 5.4

dave dmehler26 at woh.rr.com
Sun Sep 4 22:58:06 PDT 2005


Hello,
    I've got a central mailserver, and four machines acting as nullclients.
Their only job is to send the central server emails of cron output. This
isn't working, logs on the clients show nothing, the message just
disappears, it's like it doesn't enter the queue. I'm assuming i have a
configuration issue. Here's my config, i'd appreciate any suggestions.
Thanks.
Dave.

main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
default_privs = nobody
myhostname = host1.example.net
mydomain = example.net
myorigin = $myhostname
relayhost = mailserver.example.net
#alias_maps = hash:/usr/local/etc/postfix/aliases
#alias_database = hash:/usr/local/etc/postfix/aliases
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
local_transport = error:local delivery on this system is disabled

master.cf:
# ==========================================================================
#smtp      inet  n       -       y       -       -       smtpd
#submission inet n      -       y       -       -       smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps    inet  n       -       y       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission   inet    n       -       y       -       -       smtpd
#  -o smtpd_etrn_restrictions=reject
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       y       -       -       qmqpd
pickup    fifo  n       -       y       60      1       pickup
cleanup   unix  n       -       y       -       0       cleanup
qmgr      fifo  n       -       y       300     1       qmgr
#qmgr     fifo  n       -       y       300     1       oqmgr
#tlsmgr    unix  -       -       y       1000?   1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
trace     unix  -       -       y       -       0       bounce
verify    unix  -       -       y       -       1       verify
flush     unix  n       -       y       1000?   0       flush
#proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       y       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
#relay     unix  -       -       y       -       -       smtp
 #-o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
discard   unix  -       -       y       -       -       discard
local     unix  -       n       n       -       -       local
#virtual   unix  -       n       n       -       -       virtual
#lmtp      unix  -       -       y       -       -       lmtp
#anvil     unix  -       -       y       -       1       anvil
#scache   unix - - y - 1 scache



More information about the freebsd-questions mailing list