I would like some advice on extending spamd functionality.  I'm not
sure the best approach to this problem.

Problem:

I administer several independent mail gateway / firewall devices that
greylist for their networks.  I've done a fair job of educating users
about how greylisting will affect their email but, inevitably a user
will contact me to request that an incoming email be whitelisted.  The
only information they have is 1) sending email address and 2)
receiving email address.  Of course, spamd only deals in IP addresses
and it may be difficult to find the ip address of the sending mail
server.  Additionally, I'd like to provide some method to the users
where they could whitelist someone themselves without requesting
directly from me.

What I envision:

A script or extension to spamd that would allow me to input a 'from'
and 'rcpt to' address.  Then, the next time that combo is seen, from
any IP address...it gets whitelisted automatically.  I envision this
only happening one time and then returning to greylisting as normal. 
I understand that there's a chance of someone sending spam through in
that window with the proper from/to combo .. but, it's small enough to
accept.


Thoughts?  Does this sound feasible?  Is this a reasonable solution? 
If so, what direction would you recommend for implementation?  (I'm no
programmer.. but, not afraid of diving in, nonetheless.)

--James

Reply via email to