Difference between revisions of "Exim"

From wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Unix/Linux]]
+
[[Category:Linux/Unix]]
 
Basic MTA ([[Mail]] Transfer Agent)
 
Basic MTA ([[Mail]] Transfer Agent)
  
The configuration can be modified in /etc/exim4/. These lines need to be modified
+
The configuration can be modified in /etc/exim4/update-exim4.conf.conf. These lines need to be modified:
<syntaxhighlight lang=config>
 
dc_eximconfig_configtype='satellite'
 
dc_other_hostnames='<your hostname>'
 
  
dc_readhost='<your domainname>'
+
dc_eximconfig_configtype='satellite'
 +
dc_other_hostnames='<your hostname>'
 +
dc_readhost='<your domainname>'
 +
dc_smarthost='<your mailserver>'
 +
dc_hide_mailname='true'
  
 +
Then run update-exim4.conf. This will put the final config in /etc/exim4/conf.d
  
 
+
;exim -bt user@domain.tld
dc_smarthost='<your mailserver>'
+
:Show how mail to user@domain.tld will be routed
 
 
 
 
dc_hide_mailname='true'
 
 
 
 
 
</syntaxhighlight>
 
Then run update-exim4.conf then the final config will be put in /etc/exim4/conf.d
 

Latest revision as of 21:36, 18 January 2023

Basic MTA (Mail Transfer Agent)

The configuration can be modified in /etc/exim4/update-exim4.conf.conf. These lines need to be modified:

dc_eximconfig_configtype='satellite'
dc_other_hostnames='<your hostname>'
dc_readhost='<your domainname>'
dc_smarthost='<your mailserver>'
dc_hide_mailname='true'

Then run update-exim4.conf. This will put the final config in /etc/exim4/conf.d

exim -bt user@domain.tld
Show how mail to user@domain.tld will be routed