Hey Arturo... I think you haven't found what you are looking for cause you
are looking for the wrong thing ;-)

Acceptmailfor determines domains your server will accept mail for DELIVERY -
not for relaying and retransmission.

You probably need to write your own filter such based on the courierfilter
global mail filtering setup. There are a few ways to do this - even PERL -
then you can scan each message on arrival (during the smtp dialog) and see
if it matches your domain or any one of your domains or maybe exactly the
domain of that user - then you can reject it before it is accepted. You
would need to be aware that this filter is called regardless of whether or
not the user is authenticating it, so you will have to make your filter
sensitive to the state of RELAYCLIENT or something so you don't apply the
rule when you are receiving mail for local delivery...

I bet there would be many people interested if you wrote such a filter -
interesting idea - I think I would like it too ;-)

m/

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Arturo
> "Buanzo" Busleiman
> Sent: Monday, May 31, 2004 1:45 PM
> To: [EMAIL PROTECTED]
> Subject: [courier-users] Relay limiting
>
>
> I run a webmail service for 4k+ users. I require smtp authentication for
> clients to be able to send mail, but I would like to limit the domain
> origin to those eMails in my acceptmailfor file. How can I do that? I've
> been struggling courier-mta for more than two years, and still haven't
> found what I'm looking for (yes, quite U2-esque).
>
> Thank you!
>
> --
> Arturo "Buanzo" Busleiman - www.buanzo.com.ar - GNU/Linux Documentation
> President, Open Information System Security Group - Argentina
>
> "En teoria, no existe diferencia entre teoria y practica. Pero, en la
> practica, esto no es asi."
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to