Luiz de Almeida <[EMAIL PROTECTED]> wrote:
> I have an issue in that I have Remote users that need to use my E-Smith Mail
> server and I have toyed with the idea of opening up the box for RELAY but
> have been firmly told not to even consider this.

Your remote users should use their ISP's SMTP server for their outgoing mail.
This is what ISP smarthosts are for.  If for some reason this isn't feasible,
you could use controlled relaying (as opposed to being an open relay). 
The best solution, in my opinion, is to use an SMTP-after-POP scheme like
Bruce Guenter's relay-ctrl (http://em.ca/~bruceg/relay-ctrl/).

> My next option has been Webmail which I now have working but the last hurdle
> is getting the remote users to login and be able to send. 
[...]
> Then I can send a message to any user that has been created on that server
> and is therefore a local user on the LAN. BUT if I try to send a mail to a
> user that is not a user that has been created on the local server i.e. to the
> 'your' being you the readers mail address it does not go. Kind of like it is
> not allowing RELAY although I am under the impression that RELAY is not an
> issue here.

Relaying is most definitely the issue here if your webmail program sends mail
by SMTP, rather than by calling qmail-inject directly.  What you probably 
need to do is set the RELAYCLIENT environment variable for connections from
127... addresses in your tcpserver tcprules file.  See the qmail FAQ for
more information.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to