Pierre-Yves DESLANDES <[EMAIL PROTECTED]> wrote:
> Hi everybody, i'm using Qmail with tcpserver.And i can't manage to use my mail 
>server to forward outgoing messages.
> I have put a smtproutes file in my qmail control directory with :
> :smtp.myprovider.net
> but i think i should modify my smtp.rules and my smtp.cdb in /etc/tcpcontrol.
> What should i do for having it working good ???

If you want to allow a particular (static) IP address to relay through you,
add them to the smtp.rules file as follows:

1.2.3.4:allow,RELAYCLIENT=""

and then rebuild your smtp.cdb.  If the user you want to allow relaying for
has a dynamic IP address or roams, look into one of the relay-control packages
(such as Bruce Guenter's SMTP-after-POP relay-control at
www.em.ca/~bruceg/relay-control/)

Charles
-- 
----------------------------------------------------
Charles Cazabon         <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------

Reply via email to