Hi all,

I
have a problem with postfix, I have my postfix set up on the domain "a.com" and 
am getting in the queue of emails incoming email for example
the domain from "u...@b.com" to "u...@c.com", the domain "b.com" and "c.com" 
with and are not part of domains that postfix has served as an area. I
was reading the documentation postfix.org and says that by default
Postfix has to meet only the domain specified in the variable $mydomain, then 
why is he accepting these emails? detail:
e-mail enters the queue, Postfix uses SASL, so it can not send emails,
but would not want to enter the queue and possible? I thank you.

-------------------- main.cf -------------------------------------------
myorigin = $mydomain

smtpd_banner = $myhostname ESMTP $mail_name
biff = no
append_dot_mydomain = no
delay_warning_time = 4h
readme_directory = no
mailbox_size_limit = 0
recipient_delimiter = +

####
smtpd_client_connection_rate_limit = 15
smtpd_client_connection_count_limit = 15
smtpd_client_message_rate_limit = 15
smtpd_client_recipient_rate_limit = 15
###

strict_rfc821_envelopes = yes

message_size_limit = 51200000

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

myhostname = a.com
mydomain = mail.a.com
mydestination = mail.a.com, localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
inet_interfaces = all

######################################################
########### Authenticate Active Directory ############
######################################################
virtual_minimum_uid = 100
virtual_mailbox_limit = 0
virtual_uid_maps = static:1002
virtual_gid_maps = static:1002

 virtual_mailbox_maps = ldap:/etc/postfix/AD_virtual_mailbox_maps.cf
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = a.com.br

virtual_transport = virtual
virtual_maildir_extended = yes
virtual_create_maildirsize = yes

#####################################
##### Authenticate and security #####
#####################################

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options =  noanonymous
smtpd_sasl_local_domain = $myhostname

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

mail_spool_directory = /var/spool/mail/
home_mailbox = Maildir/

smtpd_delay_reject = yes
smtpd_error_sleep_time = 5s
smtpd_helo_required = yes

smtpd_helo_restrictions =
     permit_sasl_authenticated,
     permit_mynetworks,
     check_helo_access
          hash:/etc/postfix/helo_access,
     reject_unknown_helo_hostname
     reject_non_fqdn_hostname,
     reject_invalid_hostname,
     permit


smtpd_sender_restrictions =
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    permit


smtpd_recipient_restrictions =
   permit_sasl_authenticated,
   permit_mynetworks,
   reject_unauth_pipelining,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_unauth_destination,
   reject_rbl_client list.dsbl.org,
   reject_rbl_client sbl-xbl.spamhaus.org,
   permit

-------------------- end main.cf -----------------

Regards





      
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Reply via email to