Hello everyone,

I have a Postfix box basically configured to send mail from my organization to 
the Internet. Today I received a warning message telling me that the mail queue 
was full.

It seems that some Spammer is using my server as an Open Relay, so I used the 
"check_sender_access" function to only allow my domains to send mail to the 
outside, but it is not working and I don't know what to do, perhaps you can 
give me some tips.

Postconf -n output:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination =
mydomain = cht.com.ar
myhostname = xxx.cht.com.ar
mynetworks = 127.0.0.0/8, xxx.xx.xx.xx/29, xxx.xxx.xx.xx/29
myorigin = cht.com.ar
newaliases_path = /usr/bin/newaliases
parent_domain_matches_subdomains = debug_peer_list smtpd_access_maps
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = cht.com.ar, skalbue.com.ar, ci-educ.com.ar, 
hispanoamericana.com.ar, aaovyt.com.ar, consulthouse.travel, consul.travel
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,    reject_non_fqdn_hostname,       
                                              reject_invalid_hostname,       
permit
smtpd_sender_restrictions = permit_mynetworks,        check_sender_access = 
hash                                             :/etc/postfix/sender_map,      
         reject_non_fqdn_sender, reject_unknown_s                               
              ender_domain,   permit
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual

sender_map:

cht.com.ar              OK
aaovyt.com.ar           OK
hispanoamericana.com.ar OK
cht.tur.ar              OK
consulthouse.travel     OK

If you need anything else, please let me know.

Regards.-

Damián

Reply via email to