Skip to content

Instantly share code, notes, and snippets.

Avatar

Gar wraithgar

View GitHub Profile
@wraithgar
wraithgar / maildirquota-policy.pl
Created Nov 12, 2015
Postfix maildir policy server.
View maildirquota-policy.pl
#!/usr/bin/perl
##############################################
# Postfix policy server #
# postfix-policyd-quota #
# v1.01 #
# by Michael Garvin <gar@comrade.us> #
# Queries user's maildirquota, and rejects #
# if they are over. Takes no action #
# (DUNNO) otherwise. #
@wraithgar
wraithgar / mfinger.pl
Created Nov 12, 2015
Maildir capable finger utility
View mfinger.pl
#!/usr/bin/perl
####################################################
# Maildir Capable Finger Utility #
# v2.0 #
# by Michael Garvin <gar@comrade.us> #
# original can be found at #
# http://sysadminco.com/postfix/scripts/mfinger.pl #
# doesn't check .plan or .project files #
# doesn't check for ~/.nofinger #
@wraithgar
wraithgar / gist:3932326
Created Oct 22, 2012
Sicilian Rhapsody
View gist:3932326
Is this a keystore
Is it in memory?
Caught in an event loop
No escape from reality
Open your append-only file
Confirm it's an rdb
I'm just a poor boy