OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
access file problems

From: Anne Ramey (annerblast.com)
Date: Thu Jan 05 2006 - 13:47:56 CST


I'm sure I'm missing something obvious, but I'm getting an error when
trying to postmap my access file. I've added a bunch of entries like:
baddomain.com REJECT Blacklisted Domain
baddomain.info REJECT Blacklisted Domain

This follows the pattern REJECT optional text... format
and I get this error:
postmap: warning: access.db: duplicate entry: "reject"

I've checked and no line starts with REJECT. I'm not sure what I'm
missing. I want to add these to recipient restrictions when I get it
working. Postfix 2.2.5 on RHES3

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix-2.2.5-documentation/html
inet_interfaces = $myhostname, localhost, 66.45.96.6
mail_owner = postfix
mailbox_command = /usr/bin/procmail -a "$EXTENSION" -d "$USER"
mailbox_size_limit = 512000000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 20240000
mydestination = $myhostname, localhost.$mydomain, emji.net, blast.com
mydomain = blast.com
myhostname = mail.emji.net
mynetworks = $config_directory/mynetworks,
$config_directory/my_acceptable_ips
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.5-documentation/readme
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access,
reject_unauth_pipelining, reject_unknown_sender_domain,
reject_non_fqdn_sender
soft_bounce = no
transport_maps = mysql:/etc/postfix/transport.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/virtual.cf

--
Anne