[Mimedefang] Spam to inactive accounts

David F. Skoll dfs at roaringpenguin.com
Thu Oct 17 07:25:01 EDT 2002


On Thu, 17 Oct 2002 jmiller at purifieddata.net wrote:

> Since mimedefang is usually placed on a server that acts as a gateway to
> internal mail systems, and we now have the "filter_recipient" call in
> place, couldn't this problem be solved once and for all by a well designed
> filter_recipient function?

Yes.

> (note: the current implementation may not work, as filter_recipient is
> called once per RCPT To:. If anyone in the list of RCPT To:'s were
> rejected, I'm not sure if it'd reject the whole message, or just that
> recipient.

According to the SMTP protocol, it would be just the one recipient.

> where "check_recipient" would be a small smtp handler to login to $server,
> send "HELO $ourhostname\n", "MAIL From: $sender\n", and
> "RCPT To: $recipient\n" getting the result of the RCPT To: from the server,
> and returning 1 if it was ok.

Dangerous... how would you handle a down server or a temporary failure?
Sometimes, the whole point of a relay is to queue mail in such a situation.

--
David.




More information about the MIMEDefang mailing list