I have some Exim configuration which allows me to have automatically
expiring email addresses. It accepts mail for any addresses matching
the format:

yyyy-mm...@tmp.grepular.com

But only if the YYYY-MM-DD matches a date which is today or in the
future. For example, "2014-09...@tmp.grepular.com" will accept mail
up until the end of this month and will reject mail from that point
onwards.

What would be the best way of replicating this functionality in
Postfix? If it would involve calling out to an external script, I am ok
with writing such a thing, but if it can be done "natively" inside
Postfix, that would be preferable.

If anyone cares, here is how I did it in Exim:
https://grepular.com/Automatically_Expiring_Email_Addresses

-- 
Mike Cardwell  https://grepular.com https://emailprivacytester.com
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3   B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1   BF1B 295C 3C78 3EF1 46B4

Attachment: signature.asc
Description: Digital signature

Reply via email to