Postfix SMTP Sender Policy Routing

Posted Leave a commentPosted in Email, Tech

Recently, I had need of setting up a postfix “smtp router” to distribute mail from various users among a cluster of outbound relays (on unique exit IP’s, with difference QoS policies applied) Part of the functionality that was desired was the ability to route “priority” users and “bulk” users via different cluster members. Step 1 […]

PRTG Postfix Queues SSH Script

Posted 2 CommentsPosted in Email, PRTG

Here is the script i created to output postfix queue statistics to PRTG via an advanced SSH Sensor. Copy it to /var/prtg/scriptsxml and chmod +x #!/usr/bin/env perl # postfix queue/s size # author: Keith Rose use strict; use warnings; use Symbol; sub count { my ($dir) = @_; my $dh = gensym(); my $c = […]