"No sender canonical map file for outgoing addresses was found in your Postfix configuration. You should either add the appropriate map to Postfix, or disable this feature in Virtualmin's module config page.

I was Checking configurations to make sure things are complete Post-install... I keep butting heads with this issue. I'm brand new to *min products and until recently, I haven't work in Linux servers since 2005 so I'm upside down and backwards. :-(

installed latest Virtualmin (10domain version) on a clean CentOs 7 install. My server is with linode.com and is on a KVM platform +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Issue: "No sender canonical map file for outgoing addresses was found in your Postfix configuration. You should either add the appropriate map to Postfix, or disable this feature in Virtualmin's module config page... your system is not ready for use by Virtualmin." +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ I found an older help request in forum from 2008 on this... but Eric's resolution from then didn't help for me so there might be some changes to virtualmin or CentOS 7 that I'm not catching on to... . I tried doing a copy/paste of the config that was recommended from the older article:

[root@jerususalem ~]# sender_canonical_maps = hash:/etc/postfix/canonical

I got the following reply from Bash: -bash: sender_canonical_maps: command not found

Any help would be appreciated. My website has been down for several weeks now because I've been struggling with first Plesk and then Control Panel/WHM config issues. I got tired of uncaring hosts like Hostgator and 1and1 and bluehost allowing my website to sink into the abyss of their lack of customer service. I think that Virtual/webmin will be the platform of choice for several reasons I just need a little help getting things going. I've been watching the videos and reading a lot of doc's and I can't figure out what I'm doing wrong. It looks like there was a resolution at one point but I'm not able to find any newer resolutions for this so I don't know if it's me or something new in CentOS 7 or something new in Virtualmin combined with Centos7 or all the above :-)

Thanks Brad

PS... ***I'll post this in the user forum as well in case any experienced users are monitoring... I'll update my ticket if someone in forum helps first.

Status: 
Needs work

Comments

Howdy -- hmm, what is the output of this command:

postconf -n

ftbseobrad's picture
Submitted by ftbseobrad on Wed, 02/15/2017 - 18:00

[root@jerususalem ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
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
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
home_mailbox = Maildir/
html_directory = no
inet_protocols = all
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
ftbseobrad's picture
Submitted by ftbseobrad on Wed, 02/15/2017 - 18:16

I'll have to pay more attention to tickets. I wasn't expecting such a fast response.

Sorry for the delay, it took me a moment to figure out which feature that was part of :-)

I found it though!

If you look in System Settings -> Virtualmin Config -> Server Settings, there's an option there named "Also update outgoing addresses for mailboxes?"

You would generally want to have that option set to "No" (unless that was recently changed intentionally).

If you set that to No, does the Re-Check Config complete successfully?

ftbseobrad's picture
Submitted by ftbseobrad on Thu, 02/16/2017 - 19:01

1 down - wooohooo

looks like a clean bill of health so I'm going to say a prayer for the rest of the config/setup :-)

Checking Configuration The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 3.86 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix is configured to support per-domain outgoing IP addresses.

Apache is installed.

The following PHP versions are available : 5.4.16 (/bin/php-cgi)

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPD is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

The System and Server Status module is installed and checking on schedule.

Plugin DAV Login is installed OK.

Plugin AWstats reporting is installed OK.

Plugin Protected web directories is installed OK.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IPv4 address for virtual servers is 173.230.158.100.

Default IPv6 address for virtual servers is 2600:3c01::f03c:91ff:fee7:5272.

Default IP address is set to 173.230.158.100, which matches the detected external address.

Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /home. Quota editing has been disabled.

All commands needed to create and restore backups are installed.

Resource limits are supported and configured correctly.

The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin. *****( beautiful words)*****

Great, we're glad to hear that's working for you now!