Qmail-LDAP
[Top] [All Lists]

Re: (maybe I missed an answer?) Blok all mail on smtp accept auth or fro

To: qmail-ldap@qmail-ldap.org
Subject: Re: (maybe I missed an answer?) Blok all mail on smtp accept auth or from ip
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Wed, 1 Nov 2006 11:31:12 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <000801c6fd96$6a35a4a0$440b090a@ASUS02>
Mail-followup-to: qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <000801c6fd96$6a35a4a0$440b090a@ASUS02>
User-agent: Mutt/1.4.2.1i
Didier Gehéniau(didier.geheniau@feas.net) on 2006.11.01 10:16:28 +0000:
> On the decentralized mail servers (that are connected to the internet) I
> want to blok all smtp connection (also for mails send to local receipents)
> accept when the user is authenticated or if the ip from witch the mail is
> send is accepted.


you are looking for AUTHREQUIRED.


echo 1 > env/SMTPAUTH

and in your tcp-rules file

  127.0.0.1:allow,RELAYCLIENT=""
  111.111.111.111:allow,RELAYCLIENT=""
  :allow,AUTHREQUIRED="1"


/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>
My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/
GnuPG 0xD777DBA7 2003-09-10 D02B D0E0 3790 1AA1 DA3A  B508 BF48 87BF D777 DBA7

The answer to this question is false?
[ ] True
[ ] False

Attachment: pgpiCqWXWgQdy.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>