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

Global symbol "$eximcommand" requires explicit package name at /usr/sbin/MailScanner line 393. #676

Closed
Fonant opened this issue Dec 27, 2023 · 2 comments · Fixed by #677
Closed
Labels

Comments

@Fonant
Copy link

Fonant commented Dec 27, 2023

Describe the bug
Running the latest MailScanner (even with something like "--lint") results in errors:

syntax error at /usr/sbin/MailScanner line 383, near ") {"
Global symbol "$eximcommand" requires explicit package name at /usr/sbin/MailScanner line 393.
syntax error at /usr/sbin/MailScanner line 398, near ") {"
syntax error at /usr/sbin/MailScanner line 401, near "}"
syntax error at /usr/sbin/MailScanner line 409, near "}"
syntax error at /usr/sbin/MailScanner line 413, near "}"
syntax error at /usr/sbin/MailScanner line 416, near "}"
syntax error at /usr/sbin/MailScanner line 419, near "}"
syntax error at /usr/sbin/MailScanner line 422, near "}"
syntax error at /usr/sbin/MailScanner line 425, near "}"
/usr/sbin/MailScanner has too many errors.

To Reproduce

  1. Install MailScanner 5.5.1
  2. Run MailScanner --lint

Expected behavior
Normal MailScanner processing.

Examples
If applicable, add examples to help explain your problem.
Adhere to CONTRIBUTING.md guidelines and do not use
domains in your example that you do not own. Redact or
replace with example.com, example.net, or example.org.

Server (please complete the following information):

  • OS: CentOS Linux release 7.9.2009 (Core)
  • Mandatory Access Control Enforcement: none
  • MailScanner Version: 5.5.1-2
  • OS Version: 7.9.2009
  • Installation method: rpm
  • Installation: upgrading from previous version.
  • Containerized: No

Additional context
Commenting out all the "Exim" lines from 375 to 409, and starting the if at if (/zmailer/i) { fixes the problem and lets MailScanner run.

Copy link

Thank you for submitting your first issue to MailScanner! We will respond to you soon!

@Fonant
Copy link
Author

Fonant commented Dec 27, 2023

Thanks for the speedy fix!

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

Successfully merging a pull request may close this issue.

2 participants