The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim Configuration Editor error

Discussion in 'General Discussion' started by Domenico, Jul 24, 2003.

  1. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    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:
     
  2. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    Go back to SSH and edit /etc/ecim.conf

    WHM no good for this!!!

    cPanel.net Support Ticket Number:
     
  3. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    We allways do it that way but when cpanel updates something, things changed are returned to the state you see them in WHM so that's why you better can change them via WHM.

    cPanel.net Support Ticket Number:
     
  4. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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:
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    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:
     
  6. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    What a knee-jerk response.. :0

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

    cPanel.net Support Ticket Number:
     
  7. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    What a great contribution to the thread... :mad:
     
  8. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
    #8 Domenico, Jul 24, 2003
    Last edited: Jul 24, 2003
  9. pagedeveloping

    pagedeveloping Well-Known Member

    Joined:
    Jun 11, 2003
    Messages:
    219
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New York
    hhmmm?

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

    cPanel.net Support Ticket Number:
     
  10. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    What a lowlife response!

    cPanel.net Support Ticket Number:
     
  11. Domenico

    Domenico Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    362
    Likes Received:
    0
    Trophy Points:
    16
    Nick ?

    This concerns all of you so this has to be solved or are you guys just using the default exim.conf file without any spam filters?

    cPanel.net Support Ticket Number:
     
  12. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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)
     
  13. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    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:
     
  14. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    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:
     
  15. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    The exim config editor will handle backslashes in the latest edge.

    /Nick

    cPanel.net Support Ticket Number:
     
  16. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    What about a text box under:
    require verify = sender

    to add the deny/warn list ?

    cPanel.net Support Ticket Number:
     
  17. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    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:
     
  18. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Fremont CA
    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:
     
  19. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    Not yet. When I suggested it to Nick he told me there will be a new customizable system soon.
     
    #19 mmkassem, Aug 16, 2003
    Last edited: Aug 16, 2003
  20. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    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:
     
Loading...

Share This Page