[plug] Need some postfix help

Jon L. Miller jlmiller at mmtnetworks.com.au
Thu Oct 1 10:22:38 WST 2009


I'm in need of a postfix guru, someone that understands all the various
commands.  I need to tighten down a postfix system.  The area I'm having
issues is within the following lines. What has happened is the mail
bounces back to the sender.  For the meantime I have them using the
configuration that I created some time ago and mail is flowing.  The issue
is there are ways to tell postfix to only allow certain mail destined to a
particular domain and user in.  Since these are the latest commands I've
added I decided to rim them out until I can find the culprit.
The error messages are:
NOQUEUE: reject: RCPT from unknown[203.153.242.19]: 554 5.1.2
<user at abc.com.au>: Recipient address rejected: Domain not found;
from=<jlmiller at mmtnetworks.com.au> to=<user at abc.com.au>    proto=ESMTP
helo=<mail.mmtnetworks.com.au>

warning: regexp map /etc/postfix/helo.regexp, line 1: using empty
replacement string
warning: regexp map /etc/postfix/helo.regexp, line 2: ignoring
unrecognized request

restriction `reject_non_fqdn_hostname' after `permit' is ignored
warning: /etc/postfix/header_checks: logical line must not start with
whitespace: " if /^Received:/     /^Receive..."

warning: restriction `reject_non_fqdn_hostname' after `permit' is ignored


I'll be going through some of the files in /etc/postfix to view the above
complaints.



### When changing sender_checks, this file must be regenerated using
postmap <file>, to generate a Berkeley DB
#smtpd_recipient_restrictions =
#       check_client_access hash:/etc/postfix/helo_client_exceptions
#       check_sender_access    hash:/etc/postfix/sender_checks,
#       reject_invalid_hostname,
### Can cause issues with Auth SMTP, so be weary!
        reject_non_fqdn_hostname,
##################################
#       reject_non_fqdn_sender,
#       reject_non_fqdn_recipient,
#       reject_unknown_sender_domain,
#       reject_unknown_recipient_domain,
#       permit_mynetworks,
#       reject_unauth_destination,
### Add RBL exceptions here, when changing rbl_client_exceptions, thisfile
must be regenerated using postmap <file>, to generate aBerkeley DB
#       check_client_access hash:/etc/postfix/rbl_client_exceptions,
#       reject_rbl_client cbl.abuseat.org,
#       reject_rbl_client sbl-xbl.spamhaus.org,
#       reject_rbl_client bl.spamcop.net,
#       reject_rhsbl_sender    dsn.rfc-ignorant.org,
#       check_policy_service inet:127.0.0.1:60000
#       permit
########## Backscatter
#unknown_local_recipient_reject_code = 550




-- 
Regards,

-----------------------------
Jon L. Miller MCNE CNE CCNA
East Perth, WA 6004
WA, Australia
--------------------------------




More information about the plug mailing list