i don't want relying based on sender's domain !!!!
    
    i have a lot o users/accounts and some of them must not
can sending mail to the "internet" .. just to local domain 
    so i thing to something like this:
    1) have another ldap attribute and qmail-smtpd look for
this attribute and if it set just do onother verification
on recipient domain and if not in rcpthosts drop the
connection
    or
    2) qmail-smtpd look into another control file
(~controls/<some file>) and if sender's address is listed
in this file check recipient domain and if is not in
rcpthosts drop connection  

    something like postfix is doing !!!!!


--- Brian Reichert <[EMAIL PROTECTED]> wrote:

> On Sun, Nov 21, 2004 at 11:37:13PM -0800, Mihai Costache
> wrote:
> > second: can somebody tell me how to make qmail-smtpd to
> > check domain sender, sender email address and domain
> > recipient when mails came from relay hosts ... and if
> > domain sender is not in ~control/rcpthosts(.cdb) to
> reject
> > this emails and to can to do some like this : to have a
> > list of local email address who can send mails only to
> > locals domain (aka domain listed in
> > ~control/rcpthosts(.cdb) or ~control/locals(.cdb))
> 
> It depends on what you're trying to accomplish.
> 
> Bear in mind that the sender's domain can be forged. 
> Relying on
> the sender's domain to control relaying isnt' very
> useful.
> 
> It _sounds_ like what you want is known people from known
> hosts to
> be able to relay.
> 
> If that's the case, you should look into SMTP AUTH; that
> forces
> force's people's mail clients to provide a password, such
> that when
> they've authenticated, they're allowed to relay though
> that mail
> server...
> 
> > thanks,
> > Mihai
> 
> -- 
> Brian Reichert                                <[EMAIL PROTECTED]>
> 37 Crystal Ave. #303                  Daytime number: (603) 434-6842
> Derry NH 03038-1713 USA                       BSD admin/developer at large    
> 



        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

Reply via email to