Problems with variables in /etc/exim.conf.localopts

jmginer

Well-Known Member
Jul 26, 2006
129
1
168
Alicante
cPanel Access Level
Root Administrator
Hello,

I've detected a strange thing configuring Exim via a custom script.

This is the procedure that I do:

- Reset Exim config to cPanel default, removing custom ACLs

- Edit file: /etc/exim.conf.localopts, Iremove all content and I write only this:

Code:
acl_0tracksenders=1
acl_deny_spam_score_over_int=100
callouts=1
smarthost_autodiscover_spf_include=0
rewrite_from=remote
acl_spamcop_rbl=1
acl_spamhaus_rbl=1
max_spam_scan_size=51200
no_forward_outbound_spam_over_int=40
acl_outgoing_spam_scan_over_int=40
spf_include_hosts=spf.ginernet.com
globalspamassassin=1
per_domain_mailips=1
- Run commands:

/scripts/buildeximconf;
/usr/local/cpanel/scripts/restartsrv_exim;

Ok... the strange things are two:

1 - If the variable per_domain_mailips=1 is not at the end of the file, the settings are not applied.

2- The variable globalspamassassin=1 is ignored.

Any idea about what happens?
Thanks!
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,749
2,205
363
cPanel Access Level
DataCenter Provider
Twitter
- Edit file: /etc/exim.conf.localopts, I remove all content and I write only this:
Hello @jmginer,

The quoted step is an unsupported method of modifying the Exim configuration. You can review the required steps at:

Exim Configuration Manager - Version 82 Documentation - cPanel Documentation

Or, you can use the cpconftool script documented at:

The cpconftool Script - Version 82 Documentation - cPanel Documentation

Note there is one active case to be aware of:

In Progress - [CPANEL-17032] Exim Configuration Manager - conflicting values in Basic and Advanced Editor

Thank you.