Exim Configuration Editor error

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
Why does the Exim Configuration Editor say that there is an error while writing exim.conf while I can easily add the directives manually in /etc/ecim.conf without any error.

I'm trying to add the following in exim.conf through WHM without any success. :(

deny message = $sender_host_address is listed \
at $dnslist_domain
dnslists = spamhaus.relays.osirusoft.com : \
proxy.relays.osirusoft.com : \
socks.relays.osirusoft.com : \
spamsites.relays.osirusoft.com : \
inputs.relays.osirusoft.com : \
spamsources.relays.osirusoft.com : \
dialups.relays.osirusoft.com : \
list.dsbl.org : \
flowgoaway.com : \
dialups.visi.com : \
blackholes.easynet.nl : \
opm.blitzed.org
deny local_parts = ^.*[@%!/|]
message = I've never seen @, %, !, /, or | in an e-mail. Neither should you.

cPanel.net Support Ticket Number:
 

SageBrian

Well-Known Member
Jun 1, 2002
413
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
Domenico

Have you gotten the WHM edits to work? It's current state doesn't seem to work properly for the dnslists

cPanel.net Support Ticket Number:
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
The exim config editor does not yet support \ at the end of the line. Just put it all on one line and it will work.

cPanel.net Support Ticket Number:
 

tAzMaNiAc

Well-Known Member
Feb 16, 2003
558
0
166
Sachse, TX
Originally posted by pagedeveloping
Go back to SSH and edit /etc/ecim.conf

WHM no good for this!!!

cPanel.net Support Ticket Number:
What a knee-jerk response.. :0

WHM works if you used your brain and asked why it didn't :)

cPanel.net Support Ticket Number:
 

goodmove

Well-Known Member
May 12, 2003
643
4
168
Originally posted by tAzMaNiAc
What a knee-jerk response.. :0

WHM works if you used your brain and asked why it didn't :)
What a great contribution to the thread... :mad:
 

Domenico

Well-Known Member
Aug 14, 2001
377
13
318
Hi Nick,

Everything on one line? How?
I tried everything but the error remains.

2003-07-24 23:35:24 Exim configuration error in line 232:
missing ACL name
Exim version 4.20 #1 built 23-Jul-2003 01:18:53
Copyright (c) University of Cambridge 2003
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
Support for: PAM Perl OpenSSL
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Configuration file has an invalid syntax. Please try again.


Anyways, I want to get the following as default so when something updates, this stays. how?

#!!# ACL that is used after the RCPT command
check_recipient:
# Exim 3 had no checking on -bs messages, so for compatibility
# we accept if the source is local SMTP (i.e. not over TCP/IP).
# We do this by testing for an empty sending host field.
accept hosts = :
require verify = sender

deny message = $sender_host_address is listed \
at $dnslist_domain
dnslists = spamhaus.relays.osirusoft.com : \
proxy.relays.osirusoft.com : \
socks.relays.osirusoft.com : \
spamsites.relays.osirusoft.com : \
inputs.relays.osirusoft.com : \
spamsources.relays.osirusoft.com : \
dialups.relays.osirusoft.com : \
list.dsbl.org : \
flowgoaway.com : \
dialups.visi.com : \
blackholes.easynet.nl : \
opm.blitzed.org
deny local_parts = ^.*[@%!/|]
message = I've never seen @, %, !, /, or | in an e-mail. Neither should you.
 
Last edited:

pagedeveloping

Well-Known Member
Jun 11, 2003
219
0
166
New York
Originally posted by tAzMaNiAc
What a knee-jerk response.. :0

WHM works if you used your brain and asked why it didn't :)

cPanel.net Support Ticket Number:
hhmmm?

so why didn't you just answer the question for all of us dude?

cPanel.net Support Ticket Number:
 

sexy_guy

Well-Known Member
Mar 19, 2003
847
0
166
Originally posted by tAzMaNiAc
What a knee-jerk response.. :0

WHM works if you used your brain and asked why it didn't :)

cPanel.net Support Ticket Number:
What a lowlife response!

cPanel.net Support Ticket Number:
 

SageBrian

Well-Known Member
Jun 1, 2002
413
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
Anything on this yet? Just curious. Not impatient. :)

I'd like to be able to use the WHM editor, but I still think it's in it's 'beta' stage.

I think each section should allow an 'overwrite' instead of adding. That way we can control order if we like, and it would solve the issue of trying the deny lists.

Currently, it appears that we can't really add our deny lists properly.



(not related to the \ issue)
 

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
Originally posted by SageBrian
Anything on this yet? Just curious. Not impatient. :)

I'd like to be able to use the WHM editor, but I still think it's in it's 'beta' stage.

I think each section should allow an 'overwrite' instead of adding. That way we can control order if we like, and it would solve the issue of trying the deny lists.

Currently, it appears that we can't really add our deny lists properly.



(not related to the \ issue)
If you want to use the deny lists then chattr +i the exim.conf

upcp won't replace it but /scripts/exim4 will replace it.

cPanel.net Support Ticket Number:
 

SageBrian

Well-Known Member
Jun 1, 2002
413
2
318
NY/CT (US)
cPanel Access Level
Root Administrator
put that doesn't really 'solve' the issue.

I have no problem manually editing it as I have all along. It's just that the WHM editor implies that we would no longer have to manually edit after each update.

I'm not in a tremendous rush. I know there is plenty of other more important stuff. And I really appreciate how cpanel was so quick to recognize the MailScanner edits. :)

great howto mm

cPanel.net Support Ticket Number:
 

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
Originally posted by bdraco
The exim config editor will handle backslashes in the latest edge.

/Nick

cPanel.net Support Ticket Number:
What about a text box under:
require verify = sender

to add the deny/warn list ?

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
As mmkassem points out, unless there the rbl check is put just after

require verify = sender

it won't work. There needs to be a box for inserting the rbls there otherwise the only option is edit the exim.conf manually and then chattr +i the file.

cPanel.net Support Ticket Number:
 

mmkassem

Well-Known Member
Oct 21, 2002
390
0
166
Egypt
Originally posted by AlaskanWolf
any update on this, has Nick added another box in the correct place so that we can add the RBL's?

cPanel.net Support Ticket Number:
Not yet. When I suggested it to Nick he told me there will be a new customizable system soon.
 
Last edited:

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Its gud to hear about that.

Just today i realised that upcp did a chattr -i on my exim.conf and my entire exim configuration was spoilt. It seems there were some exim changes made in the recent builds.

I just rebuild the entire thing back up.

Nick is there a way we can keep custom exim configuration ??

cPanel.net Support Ticket Number: