Exim: Difference between revisions

From wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 12: Line 12:
Then run update-exim4.conf. This will put the final config in /etc/exim4/conf.d
Then run update-exim4.conf. This will put the final config in /etc/exim4/conf.d


;exim -bt user@domain.tld
;exim4 -bt user@domain.tld
:Show how mail to user@domain.tld will be routed
:Show how mail to user@domain.tld will be routed
;exim4 -bpr | grep "<" |awk '{print $3}'|while read mailid; do exim4 -Mvh ${mailid}|grep Subject; done
:Show the subject of all emails in the queue
;exim4 -M <messageID>
:Force reprocessing messageID

Latest revision as of 18:08, 9 June 2024

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

exim4 -bt user@domain.tld
Show how mail to user@domain.tld will be routed
exim4 -bpr | grep "<" |awk '{print $3}'|while read mailid; do exim4 -Mvh ${mailid}|grep Subject; done
Show the subject of all emails in the queue
exim4 -M <messageID>
Force reprocessing messageID