Jesse Guardiani <[EMAIL PROTECTED]> writes:

> I was wondering if anyone can think of a way that I could explicitly
> ALLOW mail from my network IPs?

The basic problem though is that TMDA isn't at the right level to
detect network connections like this. This is really an MTA level
task.

Right off the bat, you could use 'headers' to parse Received headers,
but this seems expensive and potentially unreliable.

Here are a few ideas:

You probably are already controlling who can relay messages through
your SMTP server. Could this be used as a signal to TMDA that the
message should be allowed through? i.e, if the message was relayed
through your network, it can be trusted.

In a qmail/tcpserver environment, I believe RELAYCLIENT is set in the
environment if the client is cleared to relay. Unfortunately, this
variable doesn't appear to be available to .qmail files.

Another option would be to add a header to the message if it
originated locally, which could later be detected by TMDA. 

Anyone have any other ideas (qmail or not)?
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to