Hello, I am trying to reject instead of sending bounce message back when email arrives to non existing account at domains hosted by my server.
This is my main.cf smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file=/etc/ssl/certs/domain.com.crt smtpd_tls_CAfile=/etc/ssl/certs/domain.com.chain.crt smtpd_tls_key_file=/etc/ssl/private/domain.com.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 #recipient_bcc_maps = mysql:/etc/postfix/sqlconf/recipient_bcc_maps.cf virtual_alias_maps = mysql:/etc/postfix/sqlconf/virtual_mailbox_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/sqlconf/mydestination.cf virtual_transport = dovecot smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, check_sender_access $virtual_alias_maps, reject_unauth_destination myhostname = domain.com mydestination = localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = ipv4 dovecot_destination_recipient_limit = 1 smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_tls_security_options = noanonymous resolve_numeric_domain = yes message_size_limit = 102400000 milter_default_action = accept milter_protocol = 2 smtpd_milters = inet:localhost:8891 non_smtpd_milters = inet:localhost:8891 /etc/postfix/sqlconf/virtual_mailbox_maps.cf user = vmail password = 123 dbname = mails query = SELECT concat(u.username,'@',u.domain) FROM users u WHERE u.username='%u' AND u.domain='%d' AND u.active='1' and u.type=0 UNION SELECT n.address FROM users u LEFT JOIN next n ON n.id = u.id WHERE u.username='%u' AND u.domain='%d' AND u.active='1'; hosts = 127.0.0.1 I tried adding reject_unverified_recipient under smtpd_recipient_restrictions, but after entering non existing username at existing domain, there was 1 second delay, and I still get "250 2.1.5 Ok" message. Regards, Robin -- View this message in context: http://postfix.1071664.n5.nabble.com/Prevent-Backscatter-tp88359.html Sent from the Postfix Users mailing list archive at Nabble.com.