Exim started giving error this morning

rfrench10

Well-Known Member
Feb 19, 2004
57
0
156
New York
:(
LOG: MAIN
Operator or semicolon missing before &SYH at /etc/exim.pl.local line 38.
LOG: MAIN
Ambiguous use of & resolved as operator & at /etc/exim.pl.local line 38.
====================
The above error started this morning. I tried to reseteximtodefaults but it said I needed to force an install. I forced a reinstall of exim but this error continues. The email does eventually get delivered. At least some of it does, from my tests. Has anyone encounted this issue before? When I look a the exim.pl.local file it seems to be encrypted, starting on line 38. the whole file is only 2KB large.

:confused:
 

kris1351

Well-Known Member
Apr 18, 2003
963
0
166
Lewisville, Tx
We started receiving the same thing and sending mails from one machine to the other is giving the message:

SMTP error from remote mail server after RCPT TO:<>:
host []: 550- []:43585 is currently not permitted to relay
550-through this server. Perhaps you have not logged into the pop/imap server
550-in the last 30 minutes or do not have SMTP Authentication turned on in your
550 email client.

Running standard fix scripts now:

/scripts/updatenow
/scripts/upcp --force
/scripts/exim4 --force
/scripts/convertemails
/scripts/fixeverything
 

datasuppliesuk

Registered
Dec 10, 2003
3
0
151
exim.pl.local

Does anyone have access to a server where by the exim.pl.local still works??

Would they be so kind as to post it here for us to see.

I've been searching the web and can find no reference to that file, So in order to get our server running agin I deleted exim.pl.local and restarted the exim service.

Result - email server is functional again.


However an experts opinion would be welcome & any advise / help :cool:
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Kris,

Have you had any response from your ticket? It's definitely file corruption at the end of exim.pl.conf that's causing it.
 

kris1351

Well-Known Member
Apr 18, 2003
963
0
166
Lewisville, Tx
Thanks as always Chirpy. If you looked at the end of the exim.pl.local file it was complete jibberish. Seems the one from Cpanel is corrupted right now.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
It ought to be in the exim build. On an affected server, does this fix it:

edit /etc/cpudate.conf

note the value of CPANEL=

Change:

CPANEL=manual-edge

Then run:

/scripts/eximup --force

Is it fixed?

Don't forget to set /etc/cpupdate.conf back to what it was. If it isn't fixed, it's certainly very odd.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Looking into this a bit closer:

/etc/exim.pl.local is not part of the exim builds, so upgrading it won't help. The file is created as part of the process of running /scripts/buildeximconf which /scripts/upcp does any time it's run with automatic cPanel updates enabled (and obviously when you upgrade exim).

I don't have a server where this is screwing up, so if you are unfortunate to have one, what do you get with:

ls -la /usr/local/cpanel/etc/exim/perl/

As this is the directory where it uses information to build /etc/exim.pl.local with.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Found the problem on a clients server.

There's a file /usr/local/cpanel/etc/exim/perl/boxtrapper.bz2 which is being included as an ASCII file into /etc/exim.pl.local

To fix:

mv /usr/local/cpanel/etc/exim/perl/boxtrapper.bz2 /root/
/scripts/buildeximconf


If you have MailScanner installed, do the following as well:

/scripts/mailscannerupdate

Then either way, restart exim:

/etc/init.d/exim restart