Well, on Postfix it is possible. You can see a note about it
on http://www.postfix.org/RESTRICTION_CLASS_README.html. The
only problem is that I do not want to use Postfix because
qmail-ldap is better for my needs :)

It is NOT an easy task. The rules are not simple, they are
like:

if the recipient pertains to the rcpthosts,
then accept (common behavior)
else if the sender does not pertain to the rcpthosts,
     then deny (we are not an open relay...)
     else if the sender is not allowed to send it outwards,
          then deny
          else allow

I also have a sense that there should be some way to unite
checking on IP address of the host from which the message
is coming and the rules above, but I can not see how. :(

-- 
Bye,
Fernando Maciel Souto Maior
[EMAIL PROTECTED]
http://www.araujo.com.br
+55+31 3270-5886
LPIC/1 # 31908

> Fernando Maior wrote:
>
>>Hi List,
>>
>>How can I configure qmail-ldap in a way that some
>>users can send mail to the internet and other
>>users not? The users with no access should receive
>>a generic bounce message.
>>
>>Any clues?
>>
>>
>>
> I don't think this is possible. However, I'd really like to do this as
> well. If you ever figure this out, please share this with me and the list.
>
> Brian!
>

AVISO-------------------------------------------------------------
Esta mensagem pode conter informacao confidencial ou privilegiada.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao pode usar, copiar ou divulgar as informacoes
nela contidas ou tomar qualquer acao baseada nessas informacoes.
Se voce recebeu esta mensagem por engano, favor avisar o remetente
imediatamente, respondendo o e-mail e em seguida apagando-o.
Obrigado pela cooperacao.

DISCLAIMER--------------------------------------------------------
This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose or take any action based
on any information herein. If you have received this message in
error, please advise the sender immediately by replying to this
e-mail and delete this message. Thank you for your cooperation.

------------------------------------------------------------------
This email was sent using SquirrelMail - http://squirrelmail.org

Reply via email to