Skip to main content

override exim.pl.local , globally declare $sender_address_domain variable

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! This level of customization to Exim isn't typically something we support. I'm wondering if your line 2052 is the "use strict;" entry for Perl itself, and that is where the issue is happening, as this seems more of a Perl error than an Exim. Can you let me know what is on line 2052?
    0
  • z3d3m0n
    Hello cPRex , at this point, I got stuck with declaring "$sender_address_domain" the cPanel support team was super helpful as always but i ended up with " Based on my limited knowledge of perl, this line: Global symbol "$sender_address_domain" requires explicit package name (did you forget to declare "my $sender_address_domain"?) seems to be referring to a variable declaration. I was able to identify the file that contains the variable declarations for exim's perl scripts is located at the path /usr/local/cpanel/etc/exim/perl/0_mail_permissions_variables, however I was not able to see where they get their values from. Simply adding the variable to the file may not be enough to have it function the way that you expect. " and "At this time, creating custom exim configurations is unfortunately not something we are prepared to directly support. Creating and editing those scripts outside of WHM's editing tools is best left to an experienced system administrator with knowledge of exim." i have tried to get some Exim / Perl administrators but all of them run away as soon as they found out that's its running on cPanel i truly hope i will find a solution
    0
  • cPanelAnthony
    Thank you for the update. Perhaps some of our users here will be able to offer some suggestions.
    0

Please sign in to leave a comment.