Tim's view seems appropriate. His script is centered on qmail, and
mine is centered on postfix (or more specifically, on /etc/aliases).
Both scripts are probably best in their current form with appropriate
disclosures. Let me know if there is any prep work you would like me to
do to my script.
Todd
On 3/9/2011 7:23 AM, Tim Meadowcroft wrote:
On Sunday 06 March 2011 06:42:50 Robert Spier wrote:
Todd Brunhoff wrote:
Your scripts look like they have a good deal of qmail
sophistication. Some years ago I ran qmail 1.0.3, after each major
system crash, I would revisit whether to use qmail, and eventually
decided to switch to qpsmtp+postfix because both seem to have better
support. And in fact, the reason I included /etc/alias was to
replace the very useful alias mechanism in qmail. I really didn't
need much, so that was sufficient for me.
So it seems that among these collections of scripts there are
backscatter solutions for qmail sites and qpsmtp sites. Perhaps one of
the developers can fold these into a contrib folder?
A lot of plugins are linked from the wiki, http://wiki.qpsmtpd.org.
check_goodrcptto looks like something that might be worth having in
core. Tim and Todd, are you interested in reconciling the differences
between your versions? (Maybe some sort of configuration interface?)
Mine is very qmail specific - I sort of feel generalising it would make it
worse. Either you use qmail, in which case you might like it as it stands,
(possibly in addition to other recipient checks) or you don't use qmail, in
which case you can ignore it completely.
I've posted the source (with disclaimers - I'm still on qpsmtpd v0.28) at
http://schmerg.com/checkgoodrcptto-a-qpsmtpd-plugin-for-checking
and will see about adding it to the wiki when I can set up an account there.
Cheers
--
Tim