I was wrong, tcpserver uses TCPREMOTEINFO, not the emailaddress (see the
manpages for tcpserver).
But there is a patch on the qmail home page that may do what you want, look
for "control relaying based on envelope sender address"

Franky.

> ----------
> From:         Ana Bel�n Santos[SMTP:[EMAIL PROTECTED]]
> Sent:         Wednesday, September 22, 1999 12:09 PM
> To:   Van Liedekerke Franky
> Cc:   [EMAIL PROTECTED]
> Subject:      Re: smtp server as a relay
> 
> 
> 
> 
> Van Liedekerke Franky wrote:
> 
> > This is also within the standard functionallity of tcpserver, but I
> don't
> > believe it is secure to allow relaying based on email address only.
> >
> > Franky
> 
> Yes, I know it, but could you tell how I can do it. What I have to put in
> the tcp.smtp file??
> I put:
> 
> [EMAIL PROTECTED]:allow
> :deny
> 
> but I can not send messages through the smtp server. The mail program
> says:
> 
>     The mail has not be sent.
>     There is no mail transport agent for this address.
> 
> thanks
> 
> >
> >
> > > ----------
> > > From:         Ana Bel�n Santos[SMTP:[EMAIL PROTECTED]]
> > > Sent:         Wednesday, September 22, 1999 11:45 AM
> > > To:   [EMAIL PROTECTED]
> > > Subject:      smtp server as a relay
> > >
> > > I want to  allow selected clients to use my smtp server as a relay. I
> > > have used tcpserver, but I only can restrict the access controling the
> > > IP of the sender and I want to control the email address of the
> sender,
> > > not the IP. Is this possible??  How can I do that??
> > >
> > > Thanks
> > >
> > > Ana Bel�n Santos Pintor
> > >
> 

Reply via email to