On Fri, Sep 29, 2000 at 10:35:55AM +0300, [EMAIL PROTECTED] wrote:
> i have configured relay on the basis of ip addresses with tcpserver and
> tcp.smtp . now , actually want i want is to allow relays from my server on
> the basis of ip address that i allowed in my "tcp.smtp" as well as their
> from address (which they configure in this mail clients like outlook,
> metscape messanger etc ) must have " @mydomain.com" ,
You can do this with a fixup address as specified in the qmail FAQ, but
it would produce some odd side effects for bounced messages. Your best
bet is to use a qmail-queue shim that checks the sender address before
accepting the message. Using my qmail-qfilter package would probably
simplify that task, especially if you want to scan the headers of the
message.
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature