Skip to content

Commit eaeda2e

Browse files
authored
Fix for: Warning: purging the environment. Suggested action: use keep_environment.
Well known Exim4 issue. Skurudo gave a solution - https://forum.vestacp.com/viewtopic.php?t=11220#p42605 And, btw, you could think about adding: disable_ipv6=true ... because GMail and many others mail servers consider sending from ipv6 as spammy email. (very stupid logic, but it's simply true, if you are sending from ipv6 GMail will mark it as SPAM 100%) I'm not commiting this, I'll leave to you about this. In this commit I'm just fixing well known issue with keep_enviroment.
1 parent a563a91 commit eaeda2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/debian/8/exim/exim4.conf.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
#SPAM_SCORE = 50
99
#CLAMD = yes
1010

11+
add_environment=<; PATH=/bin:/usr/bin
12+
keep_environment=
13+
1114
domainlist local_domains = dsearch;/etc/exim4/domains/
1215
domainlist relay_to_domains = dsearch;/etc/exim4/domains/
1316
hostlist relay_from_hosts = 127.0.0.1

0 commit comments

Comments
 (0)