Exim: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
[[Category:Unix | [[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: | ||
dc_eximconfig_configtype='satellite' | dc_eximconfig_configtype='satellite' | ||
| Line 10: | Line 10: | ||
dc_hide_mailname='true' | dc_hide_mailname='true' | ||
Then run update-exim4.conf | 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 | |||
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