OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
DNS non-recoverable failure

From: Patrick de Ruiter (pderuiterbsdserver.org)
Date: Sat Jul 02 2005 - 04:38:14 CDT


Hi Guys,

Im installing a mail relay server on solaris 9 with postfix 2.2.3 and
amavisd-new and have the following problem.
When I sent a mail to the server without amavisd in between it all works
just fine, but the minute I enable amavisd and try to send an email again it
gives me the error listed below and bounces the email.
I first thought that it was an amavisd-new problem, but since amavisd isn't
even mentioned in the logfile, I suspect that it's some problem with postfix
configuration.
Can you guys give me some advise,
Thanks,
Patrick de Ruiter

This is the session log
Jul 2 11:07:52 smtp2 postfix/smtpd[2376]: [ID 197553 mail.info] connect
from localhost[127.0.0.1]
Jul 2 11:08:25 smtp2 postfix/smtpd[2376]: [ID 197553 mail.info] B89593EC9:
client=localhost[127.0.0.1]
Jul 2 11:08:46 smtp2 postfix/cleanup[2379]: [ID 197553 mail.info]
B89593EC9: message-id=<20050702090811.B89593EC9
smtp2.nedstat.nl>
Jul 2 11:08:46 smtp2 postfix/qmgr[2374]: [ID 197553 mail.info] B89593EC9:
from=<patrickrnedstat.nl>, size=393, nr
cpt=1 (queue active)
Jul 2 11:08:46 smtp2 postfix/smtp[2380]: [ID 197553 mail.info] B89593EC9:
to=<patrick.de.ruiternedstat.nl>, relay
=none, delay=35, status=bounced (127.0.0.1: DNS non-recoverable failure)
Jul 2 11:08:46 smtp2 postfix/cleanup[2379]: [ID 197553 mail.info]
93A0B3ECD: message-id=<20050702090846.93A0B3ECD
smtp2.nedstat.nl>
Jul 2 11:08:46 smtp2 postfix/qmgr[2374]: [ID 197553 mail.info] 93A0B3ECD:
from=<>, size=2071, nrcpt=1 (queue activ
e)
Jul 2 11:08:46 smtp2 postfix/qmgr[2374]: [ID 197553 mail.info] B89593EC9:
removed

Postfix configuration (postfix -n output)
biff = no
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
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/maps/header_checks
html_directory = no
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydomain = nedstat.nl
myhostname = smtp2.nedstat.nl
mynetworks = $config_directory/maps/mynetworks
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, dbm:/etc/postfix/maps/relay_domains
sample_directory = /etc/postfix
sendmail_path = /usr/lib/sendmail
setgid_group = postdrop
smtp_host_lookup = native, dns
smtpd_banner = $myhostname NO UCE ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks,
                                    reject_rbl_client relays.ordb.org,
reject_rbl_client bl.spamcop.net
reject_rbl_client sbl-xbl.spamhaus.org
reject_unauth_pipelining

smtpd_data_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_pipelining
                                  smtpd_helo_required = yes

smtpd_helo_restrictions = permit_mynetworks,
reject_invalid_hostname,
                          reject_unknown_hostname,
reject_non_fqdn_hostname,
                                permit

smtpd_recipient_restrictions = permit_mynetworks,
                                         permit_sasl_authenticated,
check_recipient_access,dbm:/etc/postfix/maps/nedstat_blocklist,
                               reject_unauth_destination,
                               permit

smtpd_sender_restrictions = permit_mynetworks,
                                    reject_unknown_sender_domain,
                              dbm:/etc/postfix/maps/nedstat_sender_block,
                                    reject_rhsbl_client
blackhole.securitysage.com,
                                    reject_rhsbl_sender
blackhole.securitysage.com, permit

strict_rfc821_envelopes = yes
transport_maps = dbm:/etc/postfix/maps/transport
unknown_local_recipient_reject_code = 550