OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
v2.0.16 trivial-rewrite exits error code 1

From: Ed Vazquez (ed.vazquezdhha.org)
Date: Wed Oct 01 2003 - 13:41:03 CDT


System:
OpenBSD 3.3-stable
PCRE-3.9 installed from ports tree
postfix-2.0.16 installed from source, no patches

# make -f Makefile.init makefiles "CCARGS=-DHAS_PCRE
-I/usr/local/include" "AUXLIBS=-L/usr/local/lib -lpcre"

# postconf -n
alias_database = hash:/etc/mail/aliases
body_checks = pcre:/etc/postfix/maps/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = pcre:/etc/postfix/maps/header_checks
local_recipient_maps =
local_transport =
mail_owner = _postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mime_header_checks = pcre:/etc/postfix/maps/mime_header_checks
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = dantegroup.com
myhostname = mailfilter.dantegroup.com
mynetworks = 64.140.75.30/27, 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
notify_classes = 2bounce,policy,protocol,resource,software
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_unauth_destination, reject_non_fqdn_recipient, reject_non_fqdn_sender, reject_unknown_hostname, reject_invalid_hostname, check_helo_access hash:/etc/postfix/maps/verify_helo, check_sender_access hash:/etc/postfix/maps/access, check_sender_access hash:/etc/postfix/maps/verify_sender, check_sender_access hash:/etc/postfix/maps/verify_domain, reject_rhsbl_client blackhole.securitysage.com, reject_rhsbl_sender blackhole.securitysage.com, reject_rbl_client bogons.cymru.com, reject_rbl_client ipwhois.rfc-ignorant.org
smtpd_restriction_classes = verify_sender, verify_domain_client, verify_domain_helo, verify_domain_sender
soft_bounce = yes
strict_rfc821_envelopes = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550

# cat /etc/postfix/master.cf
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - y - - smtpd
pickup fifo n - y 60 1 pickup
cleanup unix n - y - 0 cleanup
qmgr fifo n - y 300 1 qmgr
rewrite unix - - y - - trivial-rewrite
bounce unix - - y - 0 bounce
defer unix - - y - 0 bounce
flush unix n - y 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - y - - smtp
relay unix - - y - - smtp
showq unix n - y - - showq
error unix - - y - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - y - - lmtp

Yet on each "postfix start" issued I get:

2003 Oct 1 18:31:13 mailfilter postfix/master mail.warning
postfix/master[20064]: warning: process
/usr/libexec/postfix/trivial-rewrite
pid 28029 exit status 1
2003 Oct 1 18:31:13 mailfilter postfix/master mail.warning
postfix/master[20064]: warning: /usr/libexec/postfix/trivial-rewrite:
bad command startup -- throttling

I recall a similar issue where I had a "wakeup" value and shouldn't
have, but now I'm getting the same error with the standard settings on
a bare-metal build.

I have tried both CHROOT and non-CHROOT settings within the master.cf
and get the same error each time.

Is there further data I can post? More information needed, etc.?

--
Ed Vázquez

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A closed mouth gathers no foot.