exim: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Created page with "<pre> dpkg-reconfigure exim4-config /etc/init.d/exim4 restart </pre> <pre> cat /var/log/exim4/mainlog </pre> Category : Linux" |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
dpkg-reconfigure exim4-config | dpkg-reconfigure exim4-config | ||
systemctl restart exim4 | |||
</pre> | </pre> | ||
View logfile. | |||
<pre> | <pre> | ||
cat /var/log/exim4/mainlog | cat /var/log/exim4/mainlog | ||
</pre> | </pre> | ||
Force re-delivery of frozen emails. | |||
<pre> | |||
exim -qff | |||
</pre> | |||
View message details | |||
<pre> | |||
exim -Mvh <message_id> # View the headers | |||
exim -Mvb <message_id> # View the body | |||
exim -Mvl <message_id> # View the logs | |||
</pre> | |||
To send emails with a specific (E)HELO message | |||
<pre>vi /etc/exim4/exim4.conf.template</pre> | |||
<pre>REMOTE_SMTP_HELO_DATA = mail.mailadmin.au</pre> | |||
<pre>update-exim4.conf | |||
systemctl restart exim4</pre> | |||
[[Category : Linux]] | [[Category : Linux]] |
Latest revision as of 04:30, 29 October 2024
dpkg-reconfigure exim4-config systemctl restart exim4
View logfile.
cat /var/log/exim4/mainlog
Force re-delivery of frozen emails.
exim -qff
View message details
exim -Mvh <message_id> # View the headers exim -Mvb <message_id> # View the body exim -Mvl <message_id> # View the logs
To send emails with a specific (E)HELO message
vi /etc/exim4/exim4.conf.template
REMOTE_SMTP_HELO_DATA = mail.mailadmin.au
update-exim4.conf systemctl restart exim4