mail problemes - crashed after update?

marius

Well-Known Member
PartnerNOC
Jun 10, 2002
157
0
316
Bucharest
after doing an update (now I have WHM 9.2.0 cPanel 9.3.0-C4 ) and a restart, i got some mail problem. messages weren't deliveried.

i did a /scripts/exim4, reinstalled mailscanner ..

now, beside not receiving email, users cannot send emails

in /var/log/exim_mainlog i find only this.

failed to expand condition "${perl{hasfilterfile}{$local_part}}" for central_user_filter router: Undefined subroutine &main::hasfilterfile called.



failed to expand condition "${perl{checkuserspambox}{$local_part}}" for localuser_spam router: Undefined subroutine &main::checkuserspambox called.


failed to expand condition "${perl{checkuserbx}{$local_part}}" for boxtrapper_localuser router: Undefined subroutine &main::checkuserbx called.

any suggestions are welcomed pls :)
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
when you get these type of errors:
Undefined subroutine &main::.........
this means it can't find the exim.pl file or it's corrupted. make sure the file is there or it not being called in the conf file:
Code:
######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################

perl_startup = do '/etc/exim.pl'
this is the perl script that contains the sub routines being called.

Mickalo