On Thu, Mar 08, 2001 at 06:02:59PM -0800, Orie wrote:
> I am hoping to set up a Qmail (my favorite) smtp gateway (our mail is
> already routing out one, exchange's sucks) that can somehow allow relaying
> based on "FROM" (Aka from [EMAIL PROTECTED]) or allow the relay based on a
> keyword in the message. Or perhaps someone has a better idea?

This patch will allow you to relay based on envelope sender address:
http://www.palomine.net/qmail/relaymailfrom.html. You may consider combining
this with tarpitting: http://www.palomine.net/qmail/tarpit.html. Both patches
are combined here: http://www.palomine.net/qmail/tarpit+relaymailfrom.patch.

Does your software send something special when it says HELO during the SMTP
conversation? It should be too hard to patch qmail-smtpd to look for this and
allow relaying only if it sees it.

Chris

PGP signature

Reply via email to