|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Relay_recipients syntax?
From: Mike French (mike.french
acclaimnetworks.com)
Date: Mon May 01 2006 - 16:42:14 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Environment: Postfix 2.1.4 - Amavisd - SpamAssAssin mail gateway, no local
mailboxes or users.
Is the relay_recipients all or nothing? I want to define the valid
recipients for misos.net, misrg.com, misresourcegroup.com and let the other
domains through undefined. My thought is to create a relay_recipients file
with:
# Filtered Recipients
bob
misonlineservices.com ok
bill
misonlineservices.com ok
.....etc
bill
misos.net ok
bob
misos.net ok
....etc
bill
misrg.com ok
bob
misrg.com ok
...etc
bill
misresourcegroup.com ok
bob
misresourcegroup.com ok
....etc
# Unfiltered Recipients
tresbonne.com ok
beavans.org ok
infinistorinc.com ok
acclaimnetworks.com ok
Is this the correct syntax for the file? I want to prevent the dictionary
spamming of the Filtered recipient domains, the others are not affected
(yet). Then postmap the file and add it to the main.cf: relay_recipient_maps
= hash:/etc/postfix/relay_recipients
The Unfiltered Recipients are wildcards right?
relay_domains:
tresbonne.com ok
misonlineservices.com ok
misos.net ok
misrg.com ok
misresourcegroup.com ok
beavans.org ok
infinistorinc.com ok
acclaimnetworks.com ok
Postconf:
alias_database = hash:/etc/postfix/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[localhost]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
local_recipient_maps =
local_transport = no local mail delivery
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 1000000000
myhostname = veronika.misos.net
mynetworks = xx.yy.zz.aa/32
myorigin = misos.net
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = hash:/etc/postfix/relay_domains
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname NO UCE ESMTP
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_delay_reject = no
smtpd_error_sleep_time = 0s
smtpd_hard_error_limit = 10
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination, reject_non_fqdn_recipient
smtpd_sender_restrictions = warn_if_reject, reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_soft_error_limit = 5
smtpd_timeout = 30s
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Mike French
Acclaim Networks
754 Port America Place
Suite 150
Grapevine, TX 76051
(888) 327-5647
(817) 488-1600
FAX (817) 488-1103
<mailto:Mike.French
acclai> <mailto:Mike.French
acclaimnetworks.com>
Mike.French
acclaimnetworks.com
<http://www.acclaimnetworks.com/> www.acclaimnetworks.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]