Ya_Ley
(L)
March 2, 2017, 7:21am
1
Hi
I use the Nethserver is mail gateway and relay to internal mail server and work as well but
after update last the Nethserver with mail module, the server show some message as show in below:
…Recipient address rejected: User unknown in virtual mailbox table;
warning: do not list domain mydomain.com in BOTH virtual_mailbox_domains and relay_domains…
but I already have added the relay domain.
What is wrong? please help
Thank you
1 Like
davidep
(Davide Principi)
March 2, 2017, 2:43pm
2
Please, could you attach the output of
postconf -n
db domains show
Ya_Ley
(L)
March 2, 2017, 2:54pm
3
postconf -n
address_verify_map =
address_verify_negative_refresh_time = 60s
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
bounce_queue_lifetime = 2
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_protocols = all
mail_owner = postfix
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/run/dovecot/lmtp
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maximal_queue_lifetime = 2
message_size_limit = 10000000
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
notify_classes =
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
recipient_delimiter = +
relay_domains = mydomain.com
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = check_client_access cidr:/etc/postfix/access.cidr, reject_unauth_pipelining
smtpd_helo_restrictions = check_client_access cidr:/etc/postfix/access.cidr, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = check_client_access cidr:/etc/postfix/access.cidr, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient
smtpd_relay_restrictions = check_client_access cidr:/etc/postfix/access.cidr, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/internal_access, reject_unverified_recipient
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/smtpauth
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = check_client_access cidr:/etc/postfix/access.cidr, check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
smtpd_tls_security_level = may
submission_client_policy = check_client_access cidr:/etc/postfix/access.cidr, permit_sasl_authenticated, permit_mynetworks, reject
submission_recipient_policy = check_client_access cidr:/etc/postfix/access.cidr, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_mailbox_domains = mydomain.com
virtual_mailbox_maps = proxy:unix:passwd.byname
virtual_transport = lmtp:unix:/var/run/dovecot/lmtp
db domains show
mydomain.com=domain
AlwaysBccAddress=
AlwaysBccStatus=disabled
Description=
DisclaimerStatus=disabled
RelayHost=1xx.xxx.xxx.xxx
TransportType=Relay
UnknownRecipientsActionDeliverMailbox=
UnknownRecipientsActionType=bounce
davidep
(Davide Principi)
March 2, 2017, 2:57pm
4
Thank you @Ya_Ley , it’s a regression bug!
I’m fixing it now!
Ya_Ley
(L)
March 2, 2017, 2:58pm
5
Thank you so much for your support
davidep
(Davide Principi)
March 2, 2017, 3:00pm
6
@Ya_Ley , could you give a try to the testing-package and see if it solves the issue?
yum localinstall http://packages.nethserver.org/nethserver/7.3.1611/testing/x86_64/Packages/nethserver-mail-server-1.10.9-1.3.g978f02d.ns7.noarch.rpm
More info:
Thanks for taking the time to report it @Ya_Ley
Do you need further help to verify the issue?
Ya_Ley
(L)
March 2, 2017, 4:12pm
8
Mar 2 23:00:18 hostgw amavis[13696]: (13696-01) extra modules loaded: Convert/UUlib.pm, unicore/To/Cf.pl, unicore/lib/Gc/Nd.pl
Mar 2 23:00:19 hostgw postfix/smtp[14218]: 0B2AF10D2FED: to=user1@mydomain.com , relay=1xx.xxx.xxx.xxx [1xx.xxx.xxx.xxx ]:25, delay=1.2, delays=0.01/0.01/0.07/1.1, dsn=4.3.5, status=deferred (host 1xx.xxx.xxx.xxx [11xx.xxx.xxx.xxx ] said: 451 4.3.5 user@senddomain.com : Sender address rejected: Server configuration problem (in reply to RCPT TO command))
davidep
(Davide Principi)
March 2, 2017, 4:18pm
9
The attached log line says hostgw is trying to send a message to another host and receives a 451 response. The issue seems on the remote host side:
451 4.3.5 user@senddomain.com : Sender address rejected: Server configuration problem (in reply to RCPT TO command))
It seems not related to the bug…
After a while, hostgw tries again (status=deferred)
Ya_Ley
(L)
March 2, 2017, 4:25pm
10
Sorry. Maybe something wrong on the remote host.
davidep
(Davide Principi)
March 3, 2017, 11:09am
11
Released in nethserver-updates:
nethserver-mail-server-1.10.10-1.ns7.noarch.rpm
davidep
(Davide Principi)
Closed
March 6, 2017, 5:01pm
13
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.