Wednesday, November 9, 2016

CheckPoint - MTA postfix queue management

If you enable the MTA agent on a Checkpoint firewall you may have situations where you need to look at the queue and verify how mails are flowing.

Here are a few commands to keep in mind

Show current queue
[Expert@HostName:0]# /opt/postfix/usr/sbin/postqueue -c /opt/postfix/etc/postfix/ -p

Show one mail from queue:
(5632E28B0044 is an example
Queue ID from the current queue)

[Expert@HostName:0]# /opt/postfix/usr/sbin/postcat -c /opt/postfix/etc/postfix/ -q 5632E28B0044 | less