Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v6.11 get_postfix_version() called but not implemented in virtualmin-mailman-lib.pl #2

Open
ljackwilson opened this issue May 12, 2024 · 3 comments

Comments

@ljackwilson
Copy link

I added this at line 67 of virtualmin-mailman-lib.pl, which seems to work. Maybe verify and put it in the next version?

# Courtesy of ChatGPT 4
sub get_postfix_version {
    my $version = `postconf -d | grep '^mail_version ='`;
    chomp($version);
    $version =~ s/mail_version = //;  # Remove the parameter name to get just the version
    return $version;
}
webmin pushed a commit that referenced this issue May 12, 2024
@jcameron
Copy link
Collaborator

Thanks, I've checked in a fix for this

@ljackwilson
Copy link
Author

I was doing a test list--created it ok, but when I went to delete it I got from virtualmin:
Undefined subroutine &postfix::get_postfix_version called at ./virtualmin-mailman-lib.pl line 350.

webmin pushed a commit that referenced this issue May 29, 2024
@jcameron
Copy link
Collaborator

Oh I checked in another fix for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants