Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default Exim Configuration Editor question

    Long story short, we are trying to reject and mail for a domain of ours that does not have an MX record in DNS. We went to Exim mailing list and someone suggested we use the command:

    "mx_domains = *"

    We just want to drop any connections to domains without an MX record.

    So,

    Where do I place this in the configuration to achieve said goal? I've never written an Exim ACL before & I don't want to break my config.

    Has anyone written an ACL that can tell me how to add it in?

    Thanks

  2. #2
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default anybody written Exim ACL's?

    Does anyone have a resource I can approach about this?

    We really need to get our Exim set up and it's starting to affect our schedule pretty badly.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You stipulate mx_domains as an option to the dnslookup router. More information on that is available in the Exim documentation: http://exim.org/exim-html-current/do...html/ch17.html

    This portion of the exim.conf file is not modifiable via the Exim Configuration Editor. As such it requires manual modification of the file as well as a mechanism to preserve the file across cPanel updates.

  4. #4
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default mx_domains appears to be wrong

    Thanks Kenneth,

    In the last few hours, I have found out mx_domains is about outgoing mail. The original information I was given was incorrect.

    I am working on an ACL to do the right thing.

    Thanks again!

  5. #5
    Member
    Join Date
    Aug 2008
    Posts
    9

    Default a new issue

    # matches any domain that has an MX record pointing to one of the local host’s IP addresses other than 127.0.0.1
    domainlist local_mx_domains = @mx_any/ignore=127.0.0.1

    acl_smtp_rcpt = acl_mx_only

    acl_smpt_rcpt = check_recipient

    ...

    acl_mx_only:
    # Drop those not having an MX record for Recipient
    drop message = That is not a valid email for this domain
    !domains = local_mx_domains

    My problem is I think the hard coded acl_smpt_rcpt will override my version, rather than add to it. I have also tried other acl_smtp_XXX keys, but I need to make this check during acl_smtp_rcpt because I need the recipient to be populated.

    Any thoughts?

Similar Threads & Tags
Similar threads

  1. Exim Configuration Editor
    By mesranet in forum E-mail Discussions
    Replies: 3
    Last Post: 06-26-2011, 03:25 PM
  2. exim configuration editor
    By cappac in forum E-mail Discussions
    Replies: 3
    Last Post: 05-19-2008, 05:06 PM
  3. Exim Configuration Editor Question
    By HostDime in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 01-31-2008, 05:46 AM
  4. Using Exim Configuration Editor but my new rules not save at exim.conf
    By isputra in forum cPanel and WHM Discussions
    Replies: 23
    Last Post: 03-07-2007, 09:14 PM
  5. Exim Configuration Editor
    By ymfm in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-23-2004, 12:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube