Hello,

I need to send mails from one of my servers, with a sender address that is non-existent (EX: no-re...@mydomain.tld)..

The mail-hub (postfix 2.11) is rejecting the sender address, with

Sender address rejected: User unknown in virtual mailbox table)

I suspect this is because I have "smtpd_reject_unlisted_sender = yes" in my main.cf

How do I create a white-list of non-existent users who can ONLY send mail?

-Thanks in Advance
Vijay

Here is the output of postconf -n


--------<&>-----------------
alias_database = hash:/apps/mail/postfix/2.11/etc/aliases
alias_maps = hash:/apps/mail/postfix/2.11/etc/aliases
bounce_queue_lifetime = 48h
command_directory = /apps/mail/postfix/2.11/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /apps/mail/postfix/2.11/libexec
data_directory = /apps/mail/postfix/2.11/var/lib
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 6h
disable_vrfy_command = yes
html_directory = no
inet_protocols = ipv4, ipv6
invalid_hostname_reject_code = 554
lmtp_generic_maps = hash:/apps/mail/postfix/2.11/etc/generic
lmtp_host_lookup = native
lmtp_lhlo_name = mail10.rvijay.me
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /apps/mail/postfix/2.11/man
maximal_queue_lifetime = 48h
message_size_limit = 52428800
multi_recipient_bounce_reject_code = 554
mydestination = localhost, localhost.localdomain
myhostname = mail10.rvijay.me
mynetworks = 127.0.0.0/8 a.b.c.d/32 [::1]/128 a.b.c.e/32
newaliases_path = /usr/bin/newaliases
non_fqdn_reject_code = 554
queue_directory = /apps/mail/postfix/2.11/var/spool
readme_directory = no
relay_domains_reject_code = 554
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_generic_maps = hash:/apps/mail/postfix/2.11/etc/generic
smtp_tls_CAfile = /apps/mail/postfix/2.11/etc/ssl/myca.pem
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:/apps/mail/var/postfix/smtp_tls_session_cache
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_invalid_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:localhost:12340 check_client_access hash:/apps/mail/postfix/2.11/etc/client_hash_whitelist check_reverse_client_hostname_access pcre:/apps/mail/postfix/2.11/etc/fqrdns.pcre reject_rbl_client zen.spamhaus.org, reject_rbl_client truncate.gbudb.net, permit
smtpd_reject_unlisted_sender = yes
smtpd_relay_restrictions =
smtpd_sasl_auth_enable = no
smtpd_sasl_path = /apps/mail/var/postfix/dovecot-auth
smtpd_sender_restrictions = check_sender_access hash:/apps/mail/postfix/2.11/etc/sender_restrictions, reject_unknown_sender_domain check_sender_access regexp:/apps/mail/postfix/2.11/etc/tag_as_originating.re permit_mynetworks permit_sasl_authenticated check_sender_access regexp:/apps/mail/postfix/2.11/etc/tag_as_foreign.re
smtpd_tls_CAfile = /apps/mail/postfix/2.11/etc/ssl/myca.pem
smtpd_tls_ciphers = high
smtpd_tls_exclude_ciphers = aNULL, MD5, DES
smtpd_tls_mandatory_ciphers = high
smtpd_tls_protocols = TLSv1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:/apps/mail/var/postfix/smtpd_tls_session_cache
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/apps/mail/postfix/2.11/etc/mysql/virtual-alias-maps.cf virtual_mailbox_domains = proxy:mysql:/apps/mail/postfix/2.11/etc/mysql/virtual-domain.cf virtual_mailbox_maps = proxy:mysql:/apps/mail/postfix/2.11/etc/mysql/virtual-mailbox-maps.cf
virtual_transport = lmtp:unix:/apps/mail/var/postfix/dovecot-lmtp

Reply via email to