Skip to content

Commit

Permalink
Consider Postfix 3.3.1 on CentOS 8
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Apr 17, 2020
1 parent 48323c6 commit a146b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Virtualmin/Config/Plugin/Postfix.pm
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ sub actions {

# Setup sender dependent map
my ($major, $minor) = split(/\./, $postfix::postfix_version);
if ($major >= 2 && $minor >= 7) {
if (($major >= 2 && $minor >= 7) || $major >= 3) {
if (!postfix::get_real_value("sender_dependent_default_transport_maps")) {
postfix::set_current_value("sender_dependent_default_transport_maps",
"$maptype:$postetc/dependent");
Expand Down

0 comments on commit a146b09

Please sign in to comment.