My case is worse than that. I use only webmail for users to see and send email, so my SMTP server receives SMTP send requests from one only IP address.
-- Bye, Fernando Maciel Souto Maior [EMAIL PROTECTED] http://www.araujo.com.br +55+31 3270-5886 LPIC/1 # 31908 > Tomas Kuliavas wrote: > >>>>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. >>> >>> >> >>1. allow smtp traffic from your network to your smtp server >>2. block smtp traffic from your network to other smtp servers. >>3. install authentication system on smtp server. >>http://members.elysium.pl/brush/smtp-auth/index.html >> >>sounds like logical solution. >> >>or control relaying by setting ip addresses and not networks. >> >> >> > > Tomas, > I'm looking for a per-user solution, not a whole mail server solution. I > have many different groups of people on my server, in different offices, > and only a handful (like 50 or so) need to have restrictions placed on > who they can email to and receive mail from. I am looking for a way to > make some users only able to send/receive mail to/from certain domains. > It sounds simple, right? > > Controlling relaying won't work for us as we use DHCP, so it would be > very difficult to isolate these users by IP address as to whether they > could send mail to the Internet or not. Also, that only restricts > sending email to the Internet, not receiving mail from the Internet. > > 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