Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issues with Postfix configuration; All incoming messages are sent to default address

12 views
Skip to first unread message

eMARKETER SRI LANKA

unread,
Dec 24, 2016, 11:15:37 PM12/24/16
to
Hi Experts,

Please help me with the below.
Thanks in advanced.

Below is the postconf -n output for my server.

...............................................................
2bounce_notice_recipient = s...@xxxxxxxxx.com
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = bac...@xxxxxxxxx.com
bounce_notice_recipient = s...@xxxxxxxxx.com
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
delay_notice_recipient = s...@xxxxxxxxx.com
delay_warning_time = 4
disable_vrfy_command = yes
empty_address_recipient = s...@xxxxxxxxx.com
error_notice_recipient = s...@xxxxxxxxx.com
html_directory = no
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 2048000000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_queue_lifetime = 1d
message_size_limit = 204800000
milter_default_action = accept
milter_protocol = 2
mydestination = $mydomain, localhost.$mydomain, localhost
mydomain = xxxxxxxxx.com
myhostname = xxxxxxxxx.com
mynetworks = $config_directory/mynetworks
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = $smtpd_milters
qmgr_message_active_limit = 5000
queue_directory = /var/spool/postfix
queue_run_delay = 300s
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf
recipient_delimiter = +
relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_CAfile = /etc/letsencrypt/live/smtp.xxxxxxxxx.com/fullchain.pem
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_milters = inet:127.0.0.1:8891
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain,check_policy_service unix:private/spfpolicy
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions =
smtpd_tls_CAfile = /etc/letsencrypt/live/smtp.xxxxxxxxx.com/fullchain.pem
smtpd_tls_cert_file = /etc/letsencrypt/live/smtp.xxxxxxxxx.com/cert.pem
smtpd_tls_key_file = /etc/letsencrypt/live/smtp.xxxxxxxxx.com/privkey.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf, regexp:/etc/postfix/virtual_regexp
virtual_gid_maps = static:12
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 101
virtual_transport = dovecot
virtual_uid_maps = static:101
.................................................................

Now the problem is sending messages are perfectly ok but when I receive message to dovecot it doesn't identify the relevant postfix user & delivered to s...@xxxxxxxxx.com. even the always_bcc = bac...@xxxxxxxxx.com delivered to s...@xxxxxxxxx.com.

Please help me with this. Urgent situation.

Burkhard Ott

unread,
Dec 25, 2016, 12:53:32 PM12/25/16
to
On Sat, 24 Dec 2016 20:15:36 -0800, eMARKETER SRI LANKA wrote:

> Please help me with this. Urgent situation.

Email from 'emarketers' can't be urgent.
What says your log file?
0 new messages