If you are using spamlogd correctly, so that it is whitelisting the destination addresses of target mailservers, I find the actual need for this to be near zero, since most people send mail to [EMAIL PROTECTED] and as soon as they do the server is whitelisted for the reply - this is not the case with some big sites where their inbound mx differs from the ip their outbound mail comes from, but it works to speed up the process "most of the time." - and when it doesn't the email is delayed a half hour or a little more.
Basically, the correct answer is "suck it up princess, in pathological cases someone's email might be delayed by a short while getting to you" in normal cases it won't. Usually users ask for this when you tell them what you are doing and they don't understand that in 95% of the cases they never see a delay. -Bob * James Harless <[EMAIL PROTECTED]> [2005-10-25 20:09]: > I appreciate the suggestions, but, not quite what I'm looking for yet. > Either of these would allow me to whitelist someone AFTER they had been > greylisting. What I'm looking for is a way to whitelist them based on user > input.. before their initial email has been sent. In this somewhat typical > scenario, the user has contacted me and said "I don't want mail from > [EMAIL PROTECTED] to be delayed... whitelist them, please." > > --James > > On 10/25/05, Bob Beck <[EMAIL PROTECTED]> wrote: > > > > > > spamdb -a `spamdb | grep '<[EMAIL PROTECTED]>|<[EMAIL PROTECTED]>' | cut -d > > '|' > > -f 2` > > > > -Bob > > > > * James Harless <[EMAIL PROTECTED]> [2005-10-25 15:50]: > > > 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 > > > > > > > > > -- > What would Bilano do?