Gaziz Nugmanov <[EMAIL PROTECTED]> wrote:
> 
> Let me ask you how can I configure qmail in order to relay
> for local users (based on "mail from" field).

You don't want to relay based on the SMTP envelope sender, as this is easily
spoofed by spammers.  You want to relay based on IP address.  This is
easy for customers with static IPs.  Using tcpserver, set the
RELAYCLIENT variable to "" when a user connects from one of the static
IPs you wish to allow relaying from, and don't set RELAYCLIENT to anything
for everyone else.

For dhcp'd/mobile clients, use a SMTP-after-POP solution.  There are
several, listed on qmail.org and other places.

Have you checked Life with qmail?  This is one of the most common FAQs
there is.

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

Reply via email to