Well my current problem is that i have an virtualmin inside on a 10.10.0.0/16 network and an pmg on the same network, the pmg is reciving the email nicely and transporting to the virtualmin, but the problem is when some1 tryes to send an email from virtualmin it get this error:
The internal domain user is user@mydomain.com
Also this mydomain.com can receive emails without problem filtered trought PMG, also the config on this postfix/virtualmin is as follows:
Also the configs on the PMG (side note port 25 external and 26 internal):
Im asking for help because i´m strugling like 5 days on this now, also if any other info is need just ask i will share gladly...
tnx for your time.
The internal domain user is user@mydomain.com
Failed to send mail : SMTP command rcpt to: <user@gmail.com> failed : 554 5.7.1 <user@gmail.com>: Relay access denied
Also this mydomain.com can receive emails without problem filtered trought PMG, also the config on this postfix/virtualmin is as follows:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
relayhost = pmgrelayip:26
mynetworks = 10.10.0.0/16
recipient_delimiter = +
compatibility_level = 2
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_tls_security_level = may
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtp_tls_security_level = dane
smtp_dns_support_level = dnssec
smtp_host_lookup = dns
mailbox_size_limit = 0
allow_percent_hack = no
resolve_dequoted_address = no
tls_server_sni_maps = hash:/etc/postfix/sni_map
mynetworks_style = subnet
Also the configs on the PMG (side note port 25 external and 26 internal):
Im asking for help because i´m strugling like 5 days on this now, also if any other info is need just ask i will share gladly...
tnx for your time.
Last edited: