I've customized the code to handle a specific scenario that we have. I
know that ASSP has the ability to load plugins. Is there a current
way, or a way that the core can be extended, to check a folder for a
custom written plugin that I could write? This would will allow us to
have customizations to ASSP that would outlive updates. This way I
could customize to my heart's content and simply replace assp.pl for
updates instead of having to manually change the code each time.
Over the years I've found a need for our non-profit to customize ASSP
specific to our needs. We have a handful of people using blackberries
through the carrier's servers. Essentially email is forwarded to
their blackberries from our SMTP server. Sent messages from the
blackberries use a spoofed from address and are sent out using their
servers. It works, but it's not graceful. In the non-profit world,
we've been forced to work with what we've got....
I needed to accomplish two things:
1) When a blackberry user sends a mail to someone, we needed a way to
get that to address on the whitelist even though it wasn't being sent
out from our server. That way replies would add to the not spam
2) When a blackberry user sends a message it is bcc'ed to the user.
We needed to prepend "[FROM BLACKBERRY]" to the subject of the bcc
message so that the outlook client filtering could filter it into the
"Sent Items" folder. (Outlook filtering stinks)
To accomplish this, I made some fairly basic updates to ASSP, adding a
check to see if an inbound message was from a handful of smtp servers
(blackberry's) and if the to address is in our special subdomain
(blackberrycopy.ourdomain.org) and if the user part of that to address
matches the user part of the from address (which would be
user@...). If all of this matches, I have the message
marked as if it's from a local ip, cheating really. This will let the
message be added to the not spam corpus and whitelist any other
addresses on it, including the to line. Then I modify the subject
with [FROM BLACKBERRY] prepended and it works.
Obviously, this isn't something for inclusion in the distribution, but
we need it. I've been forced to modify ASSP each time there's an
update to the core, which unfortunately means that we're usually a
couple of versions behind as I'm wearing lots of hats and don't always
have the time. If I could write some sort of plugin that would
perform these additional steps, I'd be golden.
Insight is appreciated!