Problems with variables in /etc/exim.conf.localopts
AnsweredHello,
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:
- 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!
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!
-
This is an older thread, but I'm running into the same issue: setting
globalspamassassin=1in/etc/exim.conf.localoptshas no effect. It seems the WHM frontend modifies additional settings beyond that option.P.S.: It would be great to have a more comprehensive
whmapi1interface for Exim.0 -
imorandin - it looks like this is a known issue and by design as you also have to create a touch file to get that working, which the UI handles for you. More details on that can be found here:
0 -
Great thanks!
0 -
You're very welcome!
0
Please sign in to leave a comment.
Comments
4 comments