--- rpms/qpsmtpd/sme10/qpsmtpd-0.96-bz12450-auth_imap-perport.patch 2023/12/18 17:41:50 1.2 +++ rpms/qpsmtpd/sme10/qpsmtpd-0.96-bz12450-auth_imap-perport.patch 2024/10/22 03:10:21 1.3 @@ -37,11 +37,11 @@ diff -Nur --no-dereference qpsmtpd-0.96. if (@args > 1 and $args[1] =~ /^(\d+)$/) { $self->{_imap_port} = $1; } -+ if (@args > 2 and ($args[3] eq "enable_smtp" ) ) { -+ $self->{_enable_smtp}= $args[4] || 'no'; ++ if (@args > 2 and ($args[2] eq "enable_smtp" ) ) { ++ $self->{_enable_smtp}= $args[3] || 'no'; + } -+ if (@args > 4 and ( $args[5] eq "enable_ssmtp" )) { -+ $self->{_enable_ssmtp} = $args[6] || 'yes'; ++ if (@args > 4 and ( $args[4] eq "enable_ssmtp" )) { ++ $self->{_enable_ssmtp} = $args[5] || 'yes'; + } $self->log(LOGWARN, "WARNING: Ignoring additional arguments.") - if (@args > 2);