Exim: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 6: Line 6:




==FAQ==
=FAQ=


==hostname --fqdn did not return a fully qualified name==
==hostname --fqdn did not return a fully qualified name==
Line 16: Line 16:




===Message is frozen===
==Message is frozen==
Mail can't be delivered locally, check storage.
Mail can't be delivered locally, check storage.




===all relevant MX records point to non-existent hosts===
==all relevant MX records point to non-existent hosts==
This may mean the MX IP is a private one, in that case remove that IP/network from ignore_target_hosts
This may mean the MX IP is a private one, in that case remove that IP/network from ignore_target_hosts


===Show queue===
==Show queue==
  exim -bp
  exim -bp


===clear queue===
==remove frozen from queue==
  exim -bp | exiqgrep -i | xargs exim -Mrm
  exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm

Revision as of 12:38, 2 May 2017

Docs


FAQ

hostname --fqdn did not return a fully qualified name

fix /etc/hosts etc, but if hostname -f/--fqdn fails, run hostname mail.example.com and save yourself a lot of headache

Helo command rejected: need fully-qualified hostname

Make sure your FQDN/IP are ok in /etc/hosts


Message is frozen

Mail can't be delivered locally, check storage.


all relevant MX records point to non-existent hosts

This may mean the MX IP is a private one, in that case remove that IP/network from ignore_target_hosts

Show queue

exim -bp

remove frozen from queue

exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm